xref: /PHP-7.3/Zend/tests/this_in_unset.phpt (revision a9512af8)
1--TEST--
2$this in unset
3--FILE--
4<?php
5unset($this);
6?>
7--EXPECTF--
8Fatal error: Cannot unset $this in %sthis_in_unset.php on line 2
9