PHP 4.0 Bug #6531: xml functions not working correctly, still.
| From: | dwmcqueen at yahoo dot com | Date: | Mon, 04 Sep 2000 15:39:14 +0000 |
| Subject: | PHP 4.0 Bug #6531: xml functions not working correctly, still. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31941@lists.php.net to get a copy of this message | ||
From: dwmcqueen@yahoo.com
Operating system: Mandrake 7.1 2.2.16
PHP version: 4.0 Latest CVS (04/09/2000)
PHP Bug Type: Misbehaving function
Bug description: xml functions not working correctly, still.
I noticed this was somewhat fixed in latest CVS, but my objects created during XML processing are
all empty, now. The best way to point this out is to look at the classgen utility at http://kongstud.hibu.no/lars/classgen/classgen.php4
.
Using it with the latest CVS, and executing the test.php4 script within yields these error messages:
Warning: Variable passed to reset() is not an array or object in
/usr/local/apache/htdocs/classgen/classgen.class.php4 on line 354
Warning: Variable passed to each() is not an array or object in
/usr/local/apache/htdocs/classgen/classgen.class.php4 on line 355
# $Id$
# <>
# <>
#
# Generated with the PHP Class Generator
# (C) 2000 by Lars Wilhelmsen , All rights reserved.
Warning: Variable passed to reset() is not an array or object in
/usr/local/apache/htdocs/classgen/classgen.class.php4 on line 219
Warning: Variable passed to each() is not an array or object in
/usr/local/apache/htdocs/classgen/classgen.class.php4 on line 220
Warning: Variable passed to reset() is not an array or object in
/usr/local/apache/htdocs/classgen/classgen.class.php4 on line 244
Warning: Variable passed to each() is not an array or object in
/usr/local/apache/htdocs/classgen/classgen.class.php4 on line 245
Warning: Variable passed to reset() is not an array or object in
/usr/local/apache/htdocs/classgen/classgen.class.php4 on line 260
Warning: Variable passed to each() is not an array or object in
/usr/local/apache/htdocs/classgen/classgen.class.php4 on line 262
Warning: Variable passed to reset() is not an array or object in
/usr/local/apache/htdocs/classgen/classgen.class.php4 on line 280
Warning: Variable passed to each() is not an array or object in
/usr/local/apache/htdocs/classgen/classgen.class.php4 on line 282
Warning: Variable passed to reset() is not an array or object in
/usr/local/apache/htdocs/classgen/classgen.class.php4 on line 301
Warning: Variable passed to each() is not an array or object in
/usr/local/apache/htdocs/classgen/classgen.class.php4 on line 303
Warning: Variable passed to each() is not an array or object in
/usr/local/apache/htdocs/classgen/classgen.class.php4 on line 332
It seems that the objects are not created correctly. This script worked fine in 4.0.1pl2, was
completely broken in 4.0.2, but now only has a hard time with the objects created in the latest CVS.