1--TEST--
2Preserve breakpoints on restart
3--PHPDBG--
4b breakpoints_002.php:4
5r
6b 3
7r
8y
9c
10
11q
12--EXPECTF--
13[Successful compilation of %s]
14prompt> [Breakpoint #0 added at %s:4]
15prompt> 1
16[Breakpoint #0 at %s:4, hits: 1]
17>00004: echo $i++;
18 00005: echo $i++;
19 00006: echo $i++;
20prompt> [Breakpoint #1 added at %s:3]
21prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
22>00003: echo $i++;
23 00004: echo $i++;
24 00005: echo $i++;
25prompt> 1
26[Breakpoint #0 at %s:4, hits: 1]
27>00004: echo $i++;
28 00005: echo $i++;
29 00006: echo $i++;
30prompt> 234
31[Script ended normally]
32prompt>
33--FILE--
34<?php
35$i = 1;
36echo $i++;
37echo $i++;
38echo $i++;
39echo $i++;
40