Re: [PHP4BETA] cvs: /php4/ext/standard assert.c /php4/ext/pcre php_pcre.c
| From: | Shane Caraveo | Date: | Sat, 06 May 2000 19:56:08 +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-14607@lists.php.net to get a copy of this message | ||
This change in assert.c does not compile here, I get "error C2120 'void'
illegal with all types"
>
> - 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. */
> + }
>