RUNKIT_RETURN_VALUE_USED(3) 1 RUNKIT_RETURN_VALUE_USED(3)
runkit_return_value_used - Determines if the current functions return value will be used
SYNOPSIS
bool runkit_return_value_used (void )
DESCRIPTION
RETURN VALUES
Returns TRUE if the function's return value is used by the calling scope, otherwise FALSE
EXAMPLES
Example #1
runkit_return_value_used(3) example
<?php
function foo() {
var_dump(runkit_return_value_used());
}
foo();
$f = foo();
?>
The above example will output:
bool(false)
bool(true)
PHP Documentation Group RUNKIT_RETURN_VALUE_USED(3)