diff --git a/functions/misc.xml b/functions/misc.xml index 3100fdd28d..d30371fe56 100644 --- a/functions/misc.xml +++ b/functions/misc.xml @@ -1,5 +1,5 @@ - + Miscellaneous functions Misc. @@ -292,11 +292,10 @@ if (defined("CONSTANT")){ // Note that it should be quoted A return statement will terminate the evaluation of - the string immediatley. In PHP 4 you may use return - to return a value that will become the result of the - eval function while in PHP 3 - eval was of type void and did - never return anything. + the string immediately. In PHP 4, eval returns + &false; unless return is called in the evaluated + code, in which case the value passed to return is + returned. In PHP 3, eval does not return a value. @@ -315,17 +314,18 @@ echo $str; ?> ]]> - - The above example will show: - + + The above example will show: + - - + + + &tip.ob-capture;