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

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

Count Diff
72 (62%)
009+ prompt> Do you really want to restart execution? (type y or n):
010+ Termsig=11
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo $i++;
011- 00004: echo $i++;
012- 00005: echo $i++;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo $i++;
016- 00005: echo $i++;
017- 00006: echo $i++;
018- prompt> 234
019- [Script ended normally]
020- prompt>
19 (16%)
009+ prompt> Do you really want to restart execution? (type y or n): Segmentation fault (core dumped)
010+
011+ Termsig=11
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo $i++;
011- 00004: echo $i++;
012- 00005: echo $i++;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo $i++;
016- 00005: echo $i++;
017- 00006: echo $i++;
018- prompt> 234
019- [Script ended normally]
020- prompt>
14 (12%)
009+ prompt> Do you really want to restart execution? (type y or n):
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo $i++;
011- 00004: echo $i++;
012- 00005: echo $i++;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo $i++;
016- 00005: echo $i++;
017- 00006: echo $i++;
018- prompt> 234
019- [Script ended normally]
020- prompt>
7 (6%)
009+ prompt> Do you really want to restart execution? (type y or n): Segmentation fault
010+
011+ Termsig=11
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo $i++;
011- 00004: echo $i++;
012- 00005: echo $i++;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo $i++;
016- 00005: echo $i++;
017- 00006: echo $i++;
018- prompt> 234
019- [Script ended normally]
020- prompt>
1 (1%)
1 (1%)
001+
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> 1
004- [Breakpoint #0 at %s:4, hits: 1]
005- >00004: echo $i++;
006- 00005: echo $i++;
007- 00006: echo $i++;
008- prompt> [Breakpoint #1 added at %s:3]
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo $i++;
011- 00004: echo $i++;
012- 00005: echo $i++;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo $i++;
016- 00005: echo $i++;
017- 00006: echo $i++;
018- prompt> 234
019- [Script ended normally]
020- prompt>
1 (1%)
001+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> 1
004- [Breakpoint #0 at %s:4, hits: 1]
005- >00004: echo $i++;
006- 00005: echo $i++;
007- 00006: echo $i++;
008- prompt> [Breakpoint #1 added at %s:3]
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo $i++;
011- 00004: echo $i++;
012- 00005: echo $i++;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo $i++;
016- 00005: echo $i++;
017- 00006: echo $i++;
018- prompt> 234
019- [Script ended normally]
020- prompt>
1 (1%)
020+ prompt>
020- prompt>
021+ =================================================================
022+ ==29460==ERROR: LeakSanitizer: detected memory leaks
023+
024+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
025+ #0 0x7f5259859d38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
026+ #1 0x5634b878bd7a in phpdbg_stack_push /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_cmd.c:435
027+
028+ Direct leak of 16 byte(s) in 2 object(s) allocated from:
029+ #0 0x7f52597f2538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
030+ #1 0x5634b877e6ab in phpdbg_set_prompt /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_utils.c:296
031+
032+ SUMMARY: AddressSanitizer: 104 byte(s) leaked in 3 allocation(s).