Bug #1034: PDF_close says incorrect parameter count when using correct parameters..
| From: | michael at irc dot net | Date: | Wed, 06 Jan 1999 17:32:14 +0000 |
| Subject: | Bug #1034: PDF_close says incorrect parameter count when using correct parameters.. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3341@lists.php.net to get a copy of this message | ||
From: michael@irc.net
Operating system: Linux 2.0.36 - Red Hat 5.1
PHP version: 3.0 Latest CVS (06/01/1999)
PHP Bug Type: Misbehaving function
Bug description: PDF_close says incorrect parameter count when using correct parameters..
<?
echo "bleh";
$fd = fopen("/tmp/hello.pdf", "w");
$info = PDF_get_info();
$pdffd = pdf_open($fd, $info);
PDF_begin_page($pdffd, 595.0, 842.0);
PDF_set_text_pos($pdffd, 50, 700);
PDF_show($pdffd, "Hello $REMOTE_HOST!\n");
PDF_end_page($pdffd);
PDF_close($pdffd);
?>
./configure --with-mysql=/usr --with-gd --with-zlib --with-apache=../apache_1.3.3
--enable-track-vars --with-pdflib
Warning: Wrong parameter count for pdf_close() in /home/httpd/html/pdf2.php3 on line 10
It worked with 3.0.6 though...
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net