Test: /sapi/phpdbg/tests/breakpoints_003.phpt - Version 7.2.6    

There are 9 different diffs reported by users for this test.

Count Diff
86 (68%)
011+ prompt> Do you really want to restart execution? (type y or n):
012+ Termsig=11
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
19 (15%)
011+ prompt> Do you really want to restart execution? (type y or n): Segmentation fault (core dumped)
012+
013+ Termsig=11
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
11 (9%)
011+ prompt> Do you really want to restart execution? (type y or n):
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
5 (4%)
011+ prompt> Do you really want to restart execution? (type y or n): Segmentation fault
012+
013+ Termsig=11
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
2 (2%)
011+ prompt> Do you really want to restart execution? (type y or n): Segmentation fault
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
1 (1%)
013+ prompt>
013- prompt>
014+ =================================================================
015+ ==29463==ERROR: LeakSanitizer: detected memory leaks
016+
017+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
018+ #0 0x7f0d21e3dd38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
019+ #1 0x55d3b87a6d7a in phpdbg_stack_push /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_cmd.c:435
020+
021+ Direct leak of 16 byte(s) in 2 object(s) allocated from:
022+ #0 0x7f0d21dd6538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
023+ #1 0x55d3b87996ab in phpdbg_set_prompt /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_utils.c:296
024+
025+ SUMMARY: AddressSanitizer: 104 byte(s) leaked in 3 allocation(s).
1 (1%)
001+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> [Deleted breakpoint #0]
004- prompt> [Breakpoint #1 added at %s:5]
005- prompt> 12
006- [Breakpoint #1 at %s:5, hits: 1]
007- >00005: echo $i++;
008- 00006: echo $i++;
009- 00007:
010- prompt> [Deleted breakpoint #1]
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
1 (1%)
001+
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> [Deleted breakpoint #0]
004- prompt> [Breakpoint #1 added at %s:5]
005- prompt> 12
006- [Breakpoint #1 at %s:5, hits: 1]
007- >00005: echo $i++;
008- 00006: echo $i++;
009- 00007:
010- prompt> [Deleted breakpoint #1]
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
1 (1%)