zend_eval_string() question

From: Date: Mon, 07 Apr 2003 20:35:27 +0000
Subject: zend_eval_string() question
Groups: php.internals 
Request: Send a blank email to internals+get-771@lists.php.net to get a copy of this message
Could anybody explain the difference between calling: zend_eval_string(source, NULL, description) and zval retval; zend_eval_string(source, &retval, description) It looks to me like if a retval zval is provided there is some sort of implicit return value pasted onto the script, but it means that a simple string like: echo "123"; causes a parse error whereas: print "123"; works just fine. That's pretty confusing. -Rasmus

« previous php.internals (#771) next »