diff --git a/ext/zend_test/tests/gh16908.phpt b/ext/zend_test/tests/gh16908.phpt index 670cfa579a8..becb2775c7e 100644 --- a/ext/zend_test/tests/gh16908.phpt +++ b/ext/zend_test/tests/gh16908.phpt @@ -12,8 +12,6 @@ $cls->foo()->x ??= 42; --EXPECTF-- Notice: Only variable references should be returned by reference in %s on line %d -Notice: Only variable references should be returned by reference in %s on line %d - Fatal error: Uncaught Error: Attempt to assign property "x" on null in %s:%d Stack trace: #0 {main}