|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4554 | major | always | 05-16-11 03:28 | 03-22-12 13:41 | |
|
|
|||||
| Reporter: | pgervaise | Platform: | |||
| Assigned To: | OS: | ||||
| Priority: | normal | OS Version: | |||
| Status: | acknowledged | Product Version: | 4.0.14 | ||
| Product Build: | Resolution: | open | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| 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: | |||||
| Relationships | |||||
| Attached Files: |
|
||||
| There are no notes attached to this issue. |