1--TEST-- 2Bug #76860 (Missed "Accessing static property as non static" warning) 3--FILE-- 4<?php 5class A { 6 private static $a = "a"; 7 protected static $b = "b"; 8 public static $c = "c"; 9 public function __construct() { 10 var_dump($this->a, $this->b, $this->c); 11 } 12} 13class B extends A { 14} 15new B; 16?> 17--EXPECTF-- 18Notice: Accessing static property B::$a as non static in %sbug76860.php on line 7 19 20Warning: Undefined property: B::$a in %s on line %d 21 22Notice: Accessing static property B::$b as non static in %sbug76860.php on line 7 23 24Warning: Undefined property: B::$b in %s on line %d 25 26Notice: Accessing static property B::$c as non static in %sbug76860.php on line 7 27 28Warning: Undefined property: B::$c in %s on line %d 29NULL 30NULL 31NULL 32