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

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

Count Diff
138 (61%)
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>
36 (16%)
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>
28 (12%)
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>
16 (7%)
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>
3 (1%)
2 (1%)
009+ prompt> Do you really want to restart execution? (type y or n): Bus error (core dumped)
010+
011+ Termsig=7
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>
2 (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 (0%)
020+ prompt>
020- prompt>
021+ =================================================================
022+ ==17562==ERROR: LeakSanitizer: detected memory leaks
023+
024+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
025+ #0 0x4e6360 in calloc /home/fuzzer/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:72:3
026+ #1 0x1d028eb in phpdbg_stack_push (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1d028eb)
027+ #2 0x1c84a0f in phpdbg_parse (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c84a0f)
028+ #3 0x1c88309 in phpdbg_do_parse (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c88309)
029+ #4 0x1cac543 in phpdbg_interactive (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1cac543)
030+ #5 0x1c7c28a in main (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c7c28a)
031+ #6 0x7f9d831fb82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
032+
033+ Direct leak of 16 byte(s) in 2 object(s) allocated from:
034+ #0 0x4d288a in strdup /home/fuzzer/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:562:3
035+ #1 0x1ce776a in phpdbg_set_prompt (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1ce776a)
036+ #2 0x1c797af in main (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c797af)
037+ #3 0x7f9d831fb82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
038+
039+ SUMMARY: AddressSanitizer: 104 byte(s) leaked in 3 allocation(s).
1 (0%)
020+
020- prompt>
021+ Termsig=11
1 (0%)
009+ prompt> Do you really want to restart execution? (type y or n): Segmentation fault
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>