Re: [PHP4BETA] cvs: /php4/ext/standard assert.c /php4/ext/pcre php_pcre.c
| From: | Shane Caraveo | Date: | Sat, 06 May 2000 19:58:24 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4/ext/standard assert.c /php4/ext/pcre php_pcre.c | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14609@lists.php.net to get a copy of this message | ||
Oh, no wonder why, zend_eval_string is a VOID function, you cannot do
this, please undo the changes in both places.
>
> - zend_eval_string(myeval, &retval CLS_CC ELS_CC);
> + if (zend_eval_string(myeval, &retval CLS_CC ELS_CC) == FAILURE) {
> + zend_error(E_ERROR, "Failure evaluating code:\n%s\n", myeval);
> + /* zend_error() does not return in this case. */
> + }
>