ID: 6531
Updated by: cardinal
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to