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 directoryiterator determine if current directoryiterator item can be readphp gettext 函数 specify the character encoding in which the messages from the domain message catalog will be returnedphp cubrid 函数 return the current cubrid connection charsetphp 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 informix 函数 sets the default return value on a fetch rowphp mysqlnd qc 函数 returns information on the current handler the number of cache entries and cache entries if availablephp posix 函数 return the effective user id of the current processphp posix 函数 return the real group id of the current processphp posix 函数 return the group set 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 函数 specify the method how the snmp values will be returnedphp svn 函数 creates and returns a stream that will be used to replacephp svn 函数 return true if the path points to a file false otherwisephp uopz 函数 gets a previous set return value for a functionphp uopz 函数 unsets a previously set return value for a functionphp xml rpc 函数 determines if an array value represents an xmlrpc faultphp mysqli stmt used to get the current value of a statement attributephp zookeeper return the timeout for this session only valid if the connections is currently connected ie. last watcher state is zoo connected state . this value may change after a server re connect
关注编程学问公众号