1--TEST-- 2Test detection of inline string manipulations on zval watch 3--INI-- 4opcache.optimization_level=0 5--PHPDBG-- 6b 3 7r 8w $a 9c 10 11 12q 13--EXPECTF-- 14[Successful compilation of %s] 15prompt> [Breakpoint #0 added at %s:3] 16prompt> [Breakpoint #0 at %s:3, hits: 1] 17>00003: $b = "a"; 18 00004: $a = $b.$b; 19 00005: $a[1] = "b"; 20prompt> [Added watchpoint #0 for $a] 21prompt> [Breaking on watchpoint $a] 22Old value: 23New value: aa 24>00005: $a[1] = "b"; 25 00006: 26prompt> [Breaking on watchpoint $a] 27Old value: aa 28New value: ab 29>00006: 30prompt> [$a has been removed, removing watchpoint] 31[Script ended normally] 32prompt> 33--FILE-- 34<?php 35 36$b = "a"; 37$a = $b.$b; 38$a[1] = "b"; 39