xref: /php-src/Zend/tests/this_as_parameter.phpt (revision f8d79582)
1--TEST--
2$this as parameter
3--FILE--
4<?php
5function foo($this) {
6    var_dump($this);
7}
8foo(5);
9?>
10--EXPECTF--
11Fatal error: Cannot use $this as parameter in %sthis_as_parameter.php on line 2
12