mirror of
https://github.com/php/php-src.git
synced 2026-04-22 23:48:14 +02:00
21a9ad910b
When duplicating user functions with static variables, make sure that we init a new map ptr slot for the static variables.
10 lines
97 B
PHP
10 lines
97 B
PHP
<?php
|
|
|
|
class A {
|
|
public function test() {
|
|
static $foo;
|
|
}
|
|
}
|
|
|
|
class B extends A {}
|