1--TEST-- 2Bug #70982 (setStaticPropertyValue behaviors inconsistently with 5.6) 3--FILE-- 4<?php 5class Foo { 6 static $abc; 7 function __construct() 8 { 9 var_dump(self::$abc); 10 } 11} 12 13class Bar extends Foo { 14 15} 16 17$rf = new ReflectionClass('Bar'); 18$rf->setStaticPropertyValue('abc', 'hi'); 19$foo = $rf->newInstance(); 20?> 21--EXPECT-- 22string(2) "hi" 23