summaryrefslogtreecommitdiff
path: root/Zend/tests/inherit_internal_static.phpt
blob: 4716717f158dd553a4fbe893a9ccc21cfa1f375e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--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)