Compzone.Org :: Podręcznik PHP :: runkit_return_value_used
Która technologia najbardziej Cię interesuje?
PHP
ASP
AJAX
SQL
JavaScript
Inna
Sonda Wyniki

Add to Google

runkit_return_value_used

(no version information, might be only in CVS)

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

Opis

bool runkit_return_value_used ( void )

Zwracane wartości

Returns TRUE if the function's return value is used by the calling scope, otherwise FALSE

Przykłady

Przykład 1. runkit_return_value_used() example

<?php
function foo() {
  
var_dump(runkit_return_value_used());
}

foo();
$f foo();
?>

Powyższy przykład wyświetli:

bool(false)
bool(true)
Copyright © 2005-2006 Compzone.Org. Kopiowanie i wykorzystywanie materiałów zawartych na tej stronie bez zgody autora zabronione!