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 written tophp apd 函数 return all current regular resources as an arrayphp spl 函数 return the traits used by the given classphp cubrid mysql 兼容性函数 return an array with the lengths of the values of each field from the current rowphp cubrid mysql 兼容性函数 return a numerical array with the values of the current rowphp db++ 函数 remove tuple and return new current tuplephp 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 mcve 函数 returns array of strings which represents the keys that can be used for response parameters on this transactionphp posix 函数 return the current process group identifierphp runkit 函数 determines if the current functions return value will be usedphp runkit 函数 return numerically indexed array of registered superglobalsphp snmp 函数 return 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 everything is ok false otherwisephp svn 函数 return true if props are different false otherwisephp xml rpc 函数 determines if an array value represents an xmlrpc faultphp recursiveiterator returns if an iterator can be created for the current entryphp soapserver sets the object which will be used to handle soap requestsphp zookeeper checks if the current zookeeper connection state can be recovered
关注编程学问公众号