blob: 93101969a7e1f04649def1d8ff537e6f48065369 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--TEST--
$this as parameter
--FILE--
<?php
function foo($this) {
var_dump($this);
}
foo(5);
?>
--EXPECTF--
Fatal error: Cannot use $this as parameter in %sthis_as_parameter.php on line 2
|