Skip to content

Commit 416fe7d

Browse files
committed
Fixed new_anonymous_static_method.phpt
1 parent c7ded35 commit 416fe7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/tests/new_obj_access_without_parentheses/new_anonymous_static_method.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Immediate static method call on new anonymous class object
44
<?php
55

66
new class {
7-
public function test()
7+
public static function test()
88
{
99
echo 'called';
1010
}
11-
}->test();
11+
}::test();
1212

1313
?>
1414
--EXPECT--

0 commit comments

Comments
 (0)