summaryrefslogtreecommitdiff
path: root/Zend/tests/grammar/regression_001.phpt
blob: 73d5eacdf6e2c98e20979df90e5fd432a302a739 (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
32
33
--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