Re: PHP 4.0 Bug #7806 Updated: settype doesn't work correctly
| From: | Nicolay Mausz | Date: | Tue, 14 Nov 2000 12:18:03 +0000 |
| Subject: | Re: PHP 4.0 Bug #7806 Updated: settype doesn't work correctly | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-38059@lists.php.net to get a copy of this message | ||
It is only a short description of the bug. In the real world there are much more settypes in one of
the biggest PHP projects so it has got much bigger dependencies. So nothing is working anymore with
4.03pl1. We are currently testing our project without settypes - maybe it works.
Bug Database schrieb:
> ID: 7806
> Updated by: stas
> Reported By: mausz@flyingdog.de
> Status: Feedback
> Bug Type: Scripting Engine problem
> Assigned To:
> Comments:
>
> What are you trying to do with that settype? What is it's
> purpose?
>
> Previous Comments:
> ---------------------------------------------------------------------------
>
> [2000-11-14 07:06:51] mausz@flyingdog.de
> $obj->test="test";
> settype($obj->test2,"object");
> $obj->test2->test="subobject test";
> echo serialize($obj->test2);
> echo "<br>";
> echo serialize($obj);
>
> prints out two different results in PHP 4.03pl1 and PHP 4.02.
> The settype command is the problem:
> Without the settype command it works correct in PHP4.03pl1.
>
> ---------------------------------------------------------------------------
>
> Full Bug description available at: http://bugs.php.net/?id=7806
--
Grüße aus Quassel,
Nicolay Mausz
flying dog software flying dog software auf der CeBit 2001,
www.flyingdog.de vom 22-28 März, Halle 6, Stand E06/6
Schloß Quassel
19249 Quassel
038855-778-0