diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-24 16:29:40 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-24 16:29:40 +0000 |
| commit | 38ad0e91046fc7bd882f235491a275271897ccf7 (patch) | |
| tree | 649b2075834b0aee3bfb2e4141e6f9c408c3caa9 /ext/standard/assert.c | |
| parent | 95bfbfe1c1cad6611a157b7f7c0e909774dd5511 (diff) | |
| download | php-git-38ad0e91046fc7bd882f235491a275271897ccf7.tar.gz | |
zend_error -> php_error_docref.
Diffstat (limited to 'ext/standard/assert.c')
| -rw-r--r-- | ext/standard/assert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/assert.c b/ext/standard/assert.c index da3f525d14..a6b2cef218 100644 --- a/ext/standard/assert.c +++ b/ext/standard/assert.c @@ -157,8 +157,8 @@ PHP_FUNCTION(assert) compiled_string_description = zend_make_compiled_string_description("assert code" TSRMLS_CC); if (zend_eval_string(myeval, &retval, compiled_string_description TSRMLS_CC) == FAILURE) { efree(compiled_string_description); - zend_error(E_ERROR, "Failure evaluating code:\n%s", myeval); - /* zend_error() does not return in this case. */ + php_error_docref(NULL TSRMLS_CC, E_ERROR, "Failure evaluating code:\n%s", myeval); + /* php_error_docref() does not return in this case. */ } efree(compiled_string_description); |
