xref: /PHP-5.6/Zend/tests/objects_026.phpt (revision f6c57d1f)
1--TEST--
2Using $this when out of context
3--FILE--
4<?php
5
6try {
7	$this->a = 1;
8} catch (Exception $e) {
9}
10
11?>
12--EXPECTF--
13Fatal error: Using $this when not in object context in %s on line %d
14