xref: /PHP-8.2/sapi/phpdbg/tests/watch_007.phpt (revision 398a10a5)
1--TEST--
2Test malformed watchpoint name
3--INI--
4opcache.optimization_level=0
5--PHPDBG--
6b test
7r
8w $>
9q
10--EXPECTF--
11[Successful compilation of %s]
12prompt> [Breakpoint #0 added at test]
13prompt> [Breakpoint #0 in test() at %s:%d, hits: 1]
14>00004: }
15 00005: test();
16 00006: $a = 2;
17prompt> [Malformed input]
18prompt>
19--FILE--
20<?php
21$a = 1;
22function test() {
23}
24test();
25$a = 2;
26