1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00
Files
archived-php-src/ext/opcache/tests/preload_static_var_inheritance.inc
T
Nikita Popov 21a9ad910b Fixed bug #79548
When duplicating user functions with static variables, make sure
that we init a new map ptr slot for the static variables.
2020-05-04 16:27:45 +02:00

10 lines
97 B
PHP

<?php
class A {
public function test() {
static $foo;
}
}
class B extends A {}