diff --git a/functions/misc.xml b/functions/misc.xml index 65df18718c..41e8f8eefa 100644 --- a/functions/misc.xml +++ b/functions/misc.xml @@ -225,7 +225,7 @@ $file = fopen ($filename, 'r') Description - void eval + mixed eval string code_str @@ -248,6 +248,14 @@ $file = fopen ($filename, 'r') eval will retain these values in the main script afterwards. + + A return statement will terminate the evaluation of + the string immediatley. In PHP4 you may use return + to return a value that will become the result of the + eval function while in PHP3 + eval was of type void and did + never return anything. +