ID:               42950
 Updated by:       [EMAIL PROTECTED]
 Reported By:      root at mantoru dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         XML Reader
 Operating System: *
 PHP Version:      5.2.4
 New Comment:

There is no active function at the moment, so it refers to main().
This is expected.


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

[2007-10-12 14:34:16] root at mantoru dot de

Description:
------------
The error that is issued trying to modify a read-only attribute of
XMLReader points to main(). (Probably php_error_docref?)

(Given that read-only properties are not yet implemented, I assumed
that it's an extension-specific bug.)

Reproduce code:
---------------
<?php
$reader = new XMLReader;
$reader->isEmptyElement = null;
?>

Expected result:
----------------
Warning: Cannot write to read-only property in %s on line %d

Actual result:
--------------
Warning: main() [function.main.html]: Cannot write to read-only
property in %s on line %d


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


-- 
Edit this bug report at http://bugs.php.net/?id=42950&edit=1

Reply via email to