Query: runkit_return_value_used
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RUNKIT_RETURN_VALUE_USED(3) 1 RUNKIT_RETURN_VALUE_USED(3) runkit_return_value_used - Determines if the current functions return value will be usedSYNOPSISbool runkit_return_value_used (void )DESCRIPTIONRETURN VALUESReturns TRUE if the function's return value is used by the calling scope, otherwise FALSEEXAMPLESExample #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)