summaryrefslogtreecommitdiff
path: root/ext/pdf
diff options
context:
space:
mode:
authorUwe Steinmann <steinm@php.net>1999-09-10 05:23:02 +0000
committerUwe Steinmann <steinm@php.net>1999-09-10 05:23:02 +0000
commit055472d3b48aedf0cf25a03b5f379d3a487c91e2 (patch)
treec8f1abbec5c4b67e0b2402f450de64fccbd8b8f8 /ext/pdf
parent2f9260fe4c7fab9d7b04c5f898a43ab185be0fb3 (diff)
downloadphp-git-055472d3b48aedf0cf25a03b5f379d3a487c91e2.tar.gz
- wrong use of php_print corrected
Diffstat (limited to 'ext/pdf')
-rw-r--r--ext/pdf/pdf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c
index 02d5a25b4e..b32a25d9d7 100644
--- a/ext/pdf/pdf.c
+++ b/ext/pdf/pdf.c
@@ -2134,7 +2134,7 @@ PHP_FUNCTION(pdf_put_image) {
PDF_TLS_VARS;
#if PDFLIB_MINORVERSION > 0
- php_printf(E_WARNING, "Version 2.01 of pdflib does not need the pdf_put_image() anymore, check the docs!");
+ php_error(E_WARNING, "Version 2.01 of pdflib does not need the pdf_put_image() anymore, check the docs!");
#else
if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &arg1, &arg2) == FAILURE) {
WRONG_PARAM_COUNT;
@@ -2173,7 +2173,7 @@ PHP_FUNCTION(pdf_execute_image) {
PDF_TLS_VARS;
#if PDFLIB_MINORVERSION >= 01
- php_printf(E_WARNING, "Version 2.01 of pdflib does not need the pdf_execute_image() anymore, check the docs!");
+ php_error(E_WARNING, "Version 2.01 of pdflib does not need the pdf_execute_image() anymore, check the docs!");
#else
if (ARG_COUNT(ht) != 5 || getParameters(ht, 5, &arg1, &arg2, &arg3, &arg4, &arg5) == FAILURE) {
WRONG_PARAM_COUNT;