Re: Warnings since change to PHP4.02
| From: | Thomas | Date: | Mon, 04 Sep 2000 19:17:09 +0000 |
| Subject: | Re: Warnings since change to PHP4.02 | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2407@lists.php.net to get a copy of this message | ||
Hello Alain,
thanks for your answer in the PHP-Win-MailingList!
I've once reported a bug which wasn't one, and so I wanted to ask first, if I
should do something in the ini-file or so before I report again only nonsens.
If I shorten my script to the following,
<html><head><title>test</title></head><body>
<?
$imgsize = getimagesize ("F:\\test\\test.png");
$im = @ImageCreateFromPNG ("F:\\test\\test.png");
$im_w = $imgsize[0]/2;
$im_h = $imgsize[1]/2;
$im1 = @ImageCreate ($im_w, $im_h);
imagecopyresized ( $im1, $im, 0, 0, 0, 0, $im_w, $im_h, $imgsize[0],
$imgsize[1]);
imagepng ( $im1, "F:\\test\\test1.png" );
?>
</body></html>
I get the resized copy of the image, but I get two warnings:
Warning: Unknown list entry type in request shutdown (851264) in Unknown on line
0
I assume one for each ImageCreate*(), because
<html><head><title>test</title></head><body>
<?
$im = @ImageCreateFromPNG ("F:\\test\\test.png");
?>
</body></html>
results in one such warning.
Is this my fault, a misconfiguration, or really a bug?
Best regards,
Thomas
Alain Samoun wrote:
> Use the @ character in front of the function, like:
> @faultyfunction()
> But if you can confirm this anomaly with a simple script, report it as a bug
> (see www.php.net)
> Alain
>
> On Mon, Sep 04, 2000 at 02:48:59PM +0200, Yin.Yang@gmx.net wrote:
> > Hello!
> >
> > Every time when a strftime(), or one of the ImageCreate*() is called, I
> > get the following warning (but the functions work):
> >
> > Warning: Unknown list entry type in request shutdown (811096) in Unknown
> > on line 0
> >
> > This occurs, since I've changed to PHP4.02 and affects also scripts, which
> > were running without problems before.
> >
> > How can I get rid of this?
> >
> > Thanks,
> > Thomas
> >
> > --
> >
> >
> > Sent through GMX FreeMail - http://www.gmx.net
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-windows-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net