| Anonymous | Login | Signup for a new account | 11-01-2025 22:41 PDT |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ 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 | |||||||||
| Status | acknowledged | Product Version | 4.0.14 | |||||||||
| 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). |
|||||||||||
| Additional Information | ||||||||||||
| Attached Files |
|
|||||||||||
|
|
||||||||||||
| 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. |