Test: /Zend/tests/type_declarations/typed_properties_034.phpt - Version 7.2.0-dev    

There are 2 different diffs reported by users for this test.

Count Diff
17 (68%)
001+
001- Fatal error: Uncaught TypeError: Typed property class@anonymous::$bar must not be referenced in %s:8
002- Stack trace:
003- #0 %s(15): class@anonymous->getIterator()
004- #1 {main}
005- thrown in %s on line 8
8 (32%)
002+ Property and reference types ?integer and ?integer are not compatible
003+
004+ Fatal error: Uncaught TypeError: Typed property class@anonymous::$baz must not be accessed before initialization in %s/typed_properties_034.php:27
005+ Stack trace:
006+ #0 {main}
007+ thrown in %s/typed_properties_034.php on line 27
002- Cannot assign null to reference of type integer
003- int(1)
004- int(10)
005- int(10)
006- Cannot assign null to reference of type integer
007- object(class@anonymous)#1 (2) {
008- ["bar"]=>
009- &int(10)
010- ["baz"]=>
011- &int(10)
012- }