summaryrefslogtreecommitdiff
path: root/Zend/tests/bug27669.phpt
blob: 747593031ff10637e099b8d44e0fdbf539de4a40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Bug #27669 (PHP 5 didn't support all possibilities for calling static methods dynamically)
--FILE--
<?php
	class A {
		static function hello() {
			echo "Hello World\n";
		}
	}
	$y[0] = 'hello';
	A::{$y[0]}();
?>
===DONE===
--EXPECTF--
Hello World
===DONE===