summaryrefslogtreecommitdiff
path: root/Zend/tests/grammar/regression_001.phpt
blob: 1de19c8216426e1f67f45c43d436ffc70d1d2573 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--TEST--
Test to check static method calls syntax regression
--FILE--
<?php

class Foo {
	public static function function(){ echo __METHOD__, PHP_EOL; }
}

Foo::function();

Foo::
function();

Foo::
	 function();


Foo::
	 function(

);

echo "\nDone\n";
--EXPECTF--
Foo::function
Foo::function
Foo::function
Foo::function

Done