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 2;
18 00005: echo 3;
19 00006: echo 4;
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 1;
23 00004: echo 2;
24 00005: echo 3;
25prompt> 1
26[Breakpoint #0 at %s:4, hits: 1]
27>00004: echo 2;
28 00005: echo 3;
29 00006: echo 4;
30prompt> 234
31[Script ended normally]
32prompt>
33--FILE--
34<?php
35
36echo 1;
37echo 2;
38echo 3;
39echo 4;
40
41