1--TEST-- 2Attempted read/write of backing value in sibling property hook fails 3--SKIPIF-- 4<?php 5if (!function_exists('zend_test_zend_call_stack_get')) die("skip zend_test_zend_call_stack_get() is not available"); 6?> 7--EXTENSIONS-- 8zend_test 9--INI-- 10; The test may use a large amount of memory on systems with a large stack limit 11memory_limit=2G 12--FILE-- 13<?php 14 15class Test { 16 public $a = 1 { 17 get => $this->a + $this->b; 18 } 19 public $b = 2 { 20 get => $this->b + $this->a; 21 } 22} 23 24$test = new Test; 25 26try { 27 var_dump($test->a); 28} catch (Error $e) { 29 echo $e->getMessage(), "\n"; 30} 31 32?> 33--EXPECTF-- 34Maximum call stack size of %d bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reached. Infinite recursion? 35