Return to objects_026.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests |
1.1 misho 1: --TEST-- 2: Using $this when out of context 3: --FILE-- 4: <?php 5: 6: try { 7: $this->a = 1; 8: } catch (Exception $e) { 9: } 10: 11: ?> 12: --EXPECTF-- 13: Fatal error: Using $this when not in object context in %s on line %d