downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<runkit_method_renamerunkit_sandbox_output_handler>
Last updated: Thu, 26 Jun 2008

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

Examples

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)



add a noteadd a note User Contributed Notes
Determines if the current functions return value will be used
There are no user contributed notes for this page.




<runkit_method_renamerunkit_sandbox_output_handler>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs