blob: d2c48a3ad79e285f3e3561ba7cf16abef913a84f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
ZE2 type
--FILE--
<?php
class T {
function f(P $p = 42) {
}
}
?>
--EXPECTF--
Fatal error: Default value for parameters with a class type can only be NULL in %stype_hints_003.php on line 3
|