Warning: file_put_contents(): Only -1 of 63 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
runkit_method_rename runkit_sandbox_output_handler runkit PHP Manual runkit_return_value_used (PECL runkit:0.8-0.9) — Determines if the current functions return value will be used Description boo...
Forum und email

runkit_return_value_used

(PECL runkit:0.8-0.9)

runkit_return_value_used — Determines if the current functions return value will be used

Description

bool runkit_return_value_used ( void )

Return Values

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();
?>

The above example will output:

bool(false)
bool(true)