RETURN_ZVAL

RETURN_ZVAL

RETURN_ZVAL -- Return a zval value from a function

Description

#include <zend_API.h>

void RETURN_ZVAL ( zval * zv, bool copy, bool dtor )

...

Parameters

zv

Pointer to the zval to return.

copy

Create a copy of zv before returning it?

dtor

Destruct the original value before returning fromt he function, this is needed if zv was only temporarily created within the function.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.