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 foo() {
12    // Eliminating this does have a small side effect of not showing & for $a when var_dumping static variables
13    static $a = 42;
14    var_dump((new ReflectionFunction(__FUNCTION__))->getStaticVariables());
15}
16foo();
17?>
18--EXPECT--
19array(1) {
20  ["a"]=>
21  int(42)
22}
23