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 the value of a specific field in a specific rowphp ibm db2 函数 returns the width of the current value of the indicated column in a result setphp enchant 函数 will return a list of values if any of those pre conditions are not metphp ldap 函数 get the current value for given optionphp ncurses 函数 checks if terminal color definitions can be changedphp 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 content is different false otherwisephp svn 函数 deletes a file or a directory return true if all is ok false otherwisephp uopz 函数 provide a return value for an existing functionphp 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.
关注编程学问公众号