Test: /Zend/tests/bug79862.phpt - Version 7.4.5        

Bug #79862 Public non-static property in child should take priority over private static
Submitted: 2020-07-15 04:55:20 Modified: 2020-07-15 10:42:33
From: changochen1 Assigned: nikic
Status: Closed Package: Scripting Engine problem
PHP Version: 7.4 OS:

There is 1 diff reported by users for this test.

Count Diff
3 (100%)
001+ Notice: Accessing static property c::$prop1 as non static in %s/bug79862.php on line 11 002+ 003+ Notice: Accessing static property c::$prop2 as non static in %s/bug79862.php on line 12 004+ 008- object(c)#1 (6) { 010- int(1) 012+ object(c)#1 (8) { 012- int(2) 014+ NULL 016+ NULL 021+ ["prop1"]=> 022+ int(1) 023+ ["prop2"]=> 024+ int(2)