File tree 3 files changed +20
-0
lines changed
3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ PHP NEWS
25
25
. Fixed bug GH-16879 (JIT dead code skipping does not update call_level).
26
26
(nielsdos)
27
27
28
+ - PHPDBG:
29
+ . Fixed bug GH-15208 (Segfault with breakpoint map and phpdbg_clear()).
30
+ (nielsdos)
31
+
28
32
- Windows:
29
33
. Fixed bug GH-16849 (Error dialog causes process to hang). (cmb)
30
34
. Windows Server 2025 is now properly reported. (cmb)
Original file line number Diff line number Diff line change @@ -370,6 +370,7 @@ PHP_FUNCTION(phpdbg_clear)
370
370
zend_hash_clean (& PHPDBG_G (bp )[PHPDBG_BREAK_FILE_OPLINE ]);
371
371
zend_hash_clean (& PHPDBG_G (bp )[PHPDBG_BREAK_OPLINE ]);
372
372
zend_hash_clean (& PHPDBG_G (bp )[PHPDBG_BREAK_METHOD ]);
373
+ zend_hash_clean (& PHPDBG_G (bp )[PHPDBG_BREAK_MAP ]);
373
374
zend_hash_clean (& PHPDBG_G (bp )[PHPDBG_BREAK_COND ]);
374
375
} /* }}} */
375
376
Original file line number Diff line number Diff line change
1
+ --TEST--
2
+ GH-15208 (Segfault with breakpoint map and phpdbg_clear())
3
+ --PHPDBG--
4
+ r
5
+ q
6
+ --FILE--
7
+ <?php
8
+ phpdbg_break_method ("foo " , "bar " );
9
+ phpdbg_clear ();
10
+ ?>
11
+ --EXPECTF--
12
+ [Successful compilation of %s]
13
+ prompt> [Breakpoint #0 added at foo::bar]
14
+ [Script ended normally]
15
+ prompt>
You can’t perform that action at this time.
0 commit comments