diff options
Diffstat (limited to 'Zend/tests/bug52484_3.phpt')
-rw-r--r-- | Zend/tests/bug52484_3.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/tests/bug52484_3.phpt b/Zend/tests/bug52484_3.phpt index af32bc9be7..408dd453fd 100644 --- a/Zend/tests/bug52484_3.phpt +++ b/Zend/tests/bug52484_3.phpt @@ -10,14 +10,14 @@ class A { } $a = new A(); -$prop = null; +$prop = "\0"; var_dump($a->$prop); ?> --EXPECTF-- -Fatal error: Uncaught Error: Cannot access empty property in %s:%d +Fatal error: Uncaught Error: Cannot access property started with '\0' in %s:%d Stack trace: -#0 %s(%d): A->__get('') +#0 %s(%d): A->__get('\x00') #1 {main} thrown in %s on line %d |