diff options
| author | Marcus Boerger <helly@php.net> | 2002-08-24 01:19:28 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2002-08-24 01:19:28 +0000 |
| commit | 149ad05b4f35b595f281b6be2cb3521c4726e553 (patch) | |
| tree | d70d81f4e077ddd7e66b3994373d4662bcf3a3e1 /ext/standard/iptc.c | |
| parent | 928c4ad41daa7023528574c343f99934ef80089a (diff) | |
| download | php-git-149ad05b4f35b595f281b6be2cb3521c4726e553.tar.gz | |
php_error_docref
#New conversion available at: http://docref.txt.marcus-boerger.de
Diffstat (limited to 'ext/standard/iptc.c')
| -rw-r--r-- | ext/standard/iptc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/iptc.c b/ext/standard/iptc.c index a29573be72..d42bcd489e 100644 --- a/ext/standard/iptc.c +++ b/ext/standard/iptc.c @@ -213,7 +213,7 @@ PHP_FUNCTION(iptcembed) } if ((fp = VCWD_FOPEN(Z_STRVAL_PP(jpeg_file), "rb")) == 0) { - php_error(E_WARNING, "%s(): Unable to open %s", get_active_function_name(TSRMLS_C), Z_STRVAL_PP(jpeg_file)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to open %s", Z_STRVAL_PP(jpeg_file)); RETURN_FALSE; } @@ -354,7 +354,7 @@ PHP_FUNCTION(iptcparse) if (tagsfound == 0) { /* found the 1st tag - initialize the return array */ if (array_init(return_value) == FAILURE) { - php_error(E_ERROR, "%s(): Unable to initialize array", get_active_function_name(TSRMLS_C)); + php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to initialize array"); RETURN_FALSE; } } @@ -363,7 +363,7 @@ PHP_FUNCTION(iptcparse) ALLOC_ZVAL(values); INIT_PZVAL(values); if (array_init(values) == FAILURE) { - php_error(E_ERROR, "%s(): Unable to initialize array", get_active_function_name(TSRMLS_C)); + php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to initialize array"); RETURN_FALSE; } |
