Bug #6531 Updated: xml functions not working correctly, still.
| From: | cardinal@php.net | Date: | Mon, 07 May 2001 18:14:37 +0000 |
| Subject: | Bug #6531 Updated: xml functions not working correctly, still. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54288@lists.php.net to get a copy of this message | ||
ID: 6531
Updated by: cardinal
Reported By: dwmcqueen@yahoo.com
Old-Status: Open
Status: Feedback
Bug Type: *XML functions
Operating system:
PHP Version: 4.0 Latest CVS (04/09/2000)
Assigned To:
Comments:
No example script. Could you provide a short script detailing the bug you're seeing?
Also, this is a year old, have you tested against 4.0.5 or a current CVS?
Previous Comments:
---------------------------------------------------------------------------
[2000-09-04 11:39:14] dwmcqueen@yahoo.com
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.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=6531&edit=2