1--TEST-- 2Test to check static method calls syntax regression 3--FILE-- 4<?php 5 6class Foo { 7 public static function function(){ echo __METHOD__, PHP_EOL; } 8} 9 10Foo::function(); 11 12Foo:: 13function(); 14 15Foo:: 16 function(); 17 18 19Foo:: 20 function( 21 22); 23 24echo "\nDone\n"; 25--EXPECT-- 26Foo::function 27Foo::function 28Foo::function 29Foo::function 30 31Done 32