|
|
1.1 misho 1: --TEST--
2: Testing 'static::' and 'parent::' in calls
3: --FILE--
4: <?php
5:
6: class bar {
7: public function __call($a, $b) {
8: print "hello\n";
9: }
10: }
11:
12: class foo extends bar {
13: public function __construct() {
14: static::bar();
15: parent::bar();
16: }
17: }
18:
19:
20: new foo;
21:
22: ?>
23: --EXPECT--
24: hello
25: hello