[PHP-DEV] PHP 4.0 Bug #7806 Updated: settype doesn't work correctly From: sniper <email protected>
Date: 12/15/00

ID: 7806
Updated by: sniper
Reported By: mausz <email protected>
Old-Status: Feedback
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:

No feedback.

Previous Comments:
---------------------------------------------------------------------------

[2000-11-14 07:09:45] stas <email protected>
What are you trying to do with that settype? What is it's
purpose?

---------------------------------------------------------------------------

[2000-11-14 07:06:51] mausz <email protected>
$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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>