1--TEST--
2Test opcode breakpoints
3--PHPDBG--
4b ZEND_ECHO
5r
6c
7
8
9
10q
11--EXPECTF--
12[Successful compilation of %s]
13prompt> [Breakpoint #0 added at ZEND_ECHO]
14prompt> [Breakpoint #0 in ZEND_ECHO at %s:3, hits: 1]
15>00003: echo $i++;
16 00004: echo $i++;
17 00005: echo $i++;
18prompt> 1
19[Breakpoint #0 in ZEND_ECHO at %s:4, hits: 2]
20>00004: echo $i++;
21 00005: echo $i++;
22 00006: echo $i++;
23prompt> 2
24[Breakpoint #0 in ZEND_ECHO at %s:5, hits: 3]
25>00005: echo $i++;
26 00006: echo $i++;
27 00007:
28prompt> 3
29[Breakpoint #0 in ZEND_ECHO at %s:6, hits: 4]
30>00006: echo $i++;
31 00007:
32prompt> 4
33[Script ended normally]
34prompt>
35--FILE--
36<?php
37$i = 1;
38echo $i++;
39echo $i++;
40echo $i++;
41echo $i++;
42