mirror of
https://github.com/php/php-src.git
synced 2024-09-23 19:07:26 +00:00
f78e681428
I've renamed the function to the same name as the exported symbol in master.
19 lines
328 B
PHP
19 lines
328 B
PHP
--TEST--
|
|
Inherit internal static property into userland class
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded('zend-test')) die('skip requires zend-test'); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
class Test extends _ZendTestClass {
|
|
}
|
|
|
|
var_dump(Test::$_StaticProp);
|
|
_ZendTestClass::$_StaticProp = 42;
|
|
var_dump(Test::$_StaticProp);
|
|
|
|
?>
|
|
--EXPECT--
|
|
NULL
|
|
int(42)
|