PHP 4.0 Bug #2565: WDDX function kills script on failure
| From: | djm at web dot us dot uu dot net | Date: | Tue, 19 Oct 1999 04:12:11 +0000 |
| Subject: | PHP 4.0 Bug #2565: WDDX function kills script on failure | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11758@lists.php.net to get a copy of this message | ||
From: djm@web.us.uu.net
Operating system: BSDI BSD/OS 4.0.1
PHP version: 4.0 Beta 2
PHP Bug Type: Misbehaving function
Bug description: WDDX function kills script on failure
wddx_deserialize() kills your PHP script if you feed it something that doesn't contain a
well-formed WDDX packet. For example, this program:
$value = wddx_deserialize("foo");
doesn't return an error code, but instead you get this back from apache:
<HTML>
<HEAD>
<TITLE>
An Error Occurred
</TITLE>
</HEAD>
<BODY>
<H1>An Error Occurred</h1>
500 - Unexpected EOF.
</BODY>
</HTML>
I have PHP installed as a DSO in apache 1.3.9.