Anonymous | Login | Signup for a new account | 11-22-2024 04:46 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0004554 | [Quercus] | major | always | 05-16-11 03:28 | 03-22-12 13:41 | |||||||
Reporter | pgervaise | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | Platform | ||||||||
Status | acknowledged | OS | ||||||||||
Projection | none | OS Version | ||||||||||
ETA | none | Fixed in Version | Product Version | 4.0.14 | ||||||||
Product Build | ||||||||||||
Summary | 0004554: Class variable "not found" if null | |||||||||||
Description |
When setting a class property to NULL then the class property is as non existing so the function __get() is called ! [code] <?php class A { public $attr = null; public function __get($name) { die("UNKNOW ATTRIBUTE : $name"); } } $a = new A(); echo is_null($a->attr) ? "NULL" : "NOT NULL"; ?> [/code] This code fail (die) with Quercus 4.0.18 but work with Quercus 4.0.11 (and work with PHP). |
|||||||||||
Steps To Reproduce | ||||||||||||
Additional Information | ||||||||||||
Attached Files | bug_class_attr_null.php [^] (184 bytes) 05-16-11 03:28 | |||||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |