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 hashable returns a scalar value to be used as a hash valuephp cubrid mysql 兼容性函数 return the current cubrid connection charsetphp cubrid mysql 兼容性函数 return the numerical value of the error message from previous cubrid operationphp cubrid mysql 兼容性函数 return a numerical array with the values of the current rowphp ibm db2 函数 returns the width of the current value of the indicated column in a result setphp direct io 函数 opens a file creating it if necessary at a lower level than the c library input/ouput stream functions allowphp enchant 函数 will return a list of values if any of those pre conditions are not metphp inotify 函数 return a number upper than zero if there are pending eventsphp judy 函数 return or print the current php judy versionphp ldap 函数 get the current value for given optionphp ncurses 函数 checks if terminal color definitions can be changedphp runkit 函数 determines if the current functions return value will be usedphp 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 content is different false otherwisephp svn 函数 deletes a file or a directory return true if all is ok false otherwisephp xml rpc 函数 determines if an array value represents an xmlrpc faultphp solrquery returns if a field will only be highlighted if the query matched in this particular fieldphp solrquery set if the query will be boosted by the interesting term relevancephp swoole mmap map a file into memory and return the stream resource which can be used by php stream operations.
关注编程学问公众号