1--TEST--
2Keep BIND_STATIC when static variable has an initializer
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.optimization_level=-1
7--EXTENSIONS--
8opcache
9--FILE--
10<?php
11function bar() {
12    return 42;
13}
14function foo() {
15    static $a = bar();
16    var_dump((new ReflectionFunction(__FUNCTION__))->getStaticVariables());
17}
18foo();
19?>
20--EXPECT--
21array(1) {
22  ["a"]=>
23  &int(42)
24}
25