1--TEST--
2Static variable initializer with function call
3--FILE--
4<?php
5
6function bar() {
7    echo "bar() called\n";
8    return 'bar';
9}
10
11function foo() {
12    static $bar = bar();
13    echo $bar, "\n";
14}
15
16foo();
17foo();
18
19?>
20--EXPECT--
21bar() called
22bar
23bar
24