runkit_return_value_used

(PECL runkit >= 0.8.0)

runkit_return_value_usedDetermines if the current functions return value will be used

说明

runkit_return_value_used ( void ) : bool

返回值

Returns TRUE if the function's return value is used by the calling scope, otherwise FALSE

范例

Example #1 runkit_return_value_used() example

<?php
function foo() {
  
var_dump(runkit_return_value_used());
}

foo();
$f foo();
?>

以上例程会输出:

bool(false)
bool(true)

相关文章
php gettext 函数 specify the character encoding in which the messages from the domain message catalog will be returnedphp cubrid mysql 兼容性函数 return the value of a specific field in a specific rowphp dbx 函数 escape a string so it can safely be used in an sql statementphp enchant 函数 will return a list of values if any of those pre conditions are not metphp ingres 函数 get the return value from a procedure callphp mysqlnd qc 函数 returns information on the current handler the number of cache entries and cache entries if availablephp posix 函数 return the effective group id of the current processphp posix 函数 return the effective user id of the current processphp posix 函数 return the real group id of the current processphp posix 函数 return the real user id of the current processphp runkit 函数 determines if the current functions return value will be usedphp snmp 函数 return the method how the snmp values will be returnedphp snmp 函数 return all values that are enums with their enum value instead of the raw integerphp svn 函数 creates and returns a stream that will be used to replacephp svn 函数 return true if the path points to a directory false otherwisephp svn 函数 return true if the path points to a file false otherwisephp uopz 函数 provide a return value for an existing functionphp win32service 函数 define or return the exit code for the current running servicephp win32service 函数 define or return the exit mode for the current running servicephp xml rpc 函数 determines if an array value represents an xmlrpc fault
关注编程学问公众号