note 4042 modified in eval by zak

From: Date: Wed, 14 Mar 2001 09:51:10 +0000
Subject: note 4042 modified in eval by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-12386@lists.php.net to get a copy of this message
Eval has no return value. It can not be used as a function, only as a procedure. [Editor's Note: This statement is not always correct. If the code in the eval()'d block contains a return statement that is not inside a function definition, eval() will return a value. Example: var_dump (eval ('return TRUE;')); --zak@php.net) http://www.php.net/manual/eval.php

« previous php.notes (#12386) next »