Test: /ext/standard/tests/strings/bug21730.phpt - Version 7.2.0-dev        

Bug #21730 *scanf "%n" conversion flag gives string instead of integer
Submitted: 2003-01-18 12:28:28 Modified: 2003-01-18 12:33:03
From: moriyoshi Assigned: moriyoshi
Status: Closed Package: Strings related
PHP Version: 5CVS-2003-01-18 (dev) OS: Any

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

Count Diff
6 (22%)
003+ NULL
004+ [1]=>
005+ NULL
006+ [2]=>
007+ NULL
003- string(3) "ABC"
004- [1]=>
005- string(3) "DEF"
006- [2]=>
007- int(9)
4 (15%)
001+ Segmentation fault (core dumped)
002+
003+ Termsig=11
001- array(3) {
002- [0]=>
003- string(3) "ABC"
004- [1]=>
005- string(3) "DEF"
006- [2]=>
007- int(9)
008- }
009- array(3) {
010- [0]=>
011- string(3) "ABC"
012- [1]=>
013- string(3) "DEF"
014- [2]=>
015- int(9)
016- }
1 (4%)
017+ [Wed Dec 7 13:36:03 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007efdbc278100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
017+ [Sat Nov 19 17:57:15 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f0820678100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
017+ [Sat Nov 19 14:23:13 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f398e678100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
017+ [Sat Nov 19 13:55:01 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f29e3477100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
017+ [Mon Nov 14 03:00:55 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f08ce077100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
017+ [Fri Nov 18 14:48:14 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f589bc77100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
017+ [Fri Nov 18 01:24:25 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f5825c77100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
017+ [Fri Nov 18 01:20:45 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f32cac77100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
017+ [Fri Dec 9 14:39:14 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f06da678100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
017+ [Fri Dec 9 10:57:13 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fd9bb078100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
003+ NULL
004+ [1]=>
005+ NULL
006+ [2]=>
007+ NULL
003- string(3) "ABC"
004- [1]=>
005- string(3) "DEF"
006- [2]=>
007- int(9)
017+ [Sun Nov 13 23:13:49 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fcd98477100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
003+ NULL
004+ [1]=>
005+ NULL
006+ [2]=>
007+ NULL
003- string(3) "ABC"
004- [1]=>
005- string(3) "DEF"
006- [2]=>
007- int(9)
017+ [Sun Nov 13 22:49:37 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f9bdd277100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
003+ NULL
004+ [1]=>
005+ NULL
006+ [2]=>
007+ NULL
003- string(3) "ABC"
004- [1]=>
005- string(3) "DEF"
006- [2]=>
007- int(9)
017+ [Sun Nov 13 22:33:27 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f1f78877100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
003+ NULL
004+ [1]=>
005+ NULL
006+ [2]=>
007+ NULL
003- string(3) "ABC"
004- [1]=>
005- string(3) "DEF"
006- [2]=>
007- int(9)
017+ [Sun Nov 13 22:16:37 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fc2e7477100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
003+ NULL
004+ [1]=>
005+ NULL
006+ [2]=>
007+ NULL
003- string(3) "ABC"
004- [1]=>
005- string(3) "DEF"
006- [2]=>
007- int(9)
017+ [Sun Nov 13 22:10:33 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fd72e477100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
003+ NULL
004+ [1]=>
005+ NULL
006+ [2]=>
007+ NULL
003- string(3) "ABC"
004- [1]=>
005- string(3) "DEF"
006- [2]=>
007- int(9)
017+ [Mon Nov 14 03:12:31 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007ff38f077100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===
1 (4%)
003+ NULL
004+ [1]=>
005+ NULL
006+ [2]=>
007+ NULL
003- string(3) "ABC"
004- [1]=>
005- string(3) "DEF"
006- [2]=>
007- int(9)
017+ [Mon Nov 14 03:10:57 2016] Script: %s/bug21730.php'
018+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fa591677100 (32 bytes), %s/bug21730.php
019+ Last leak repeated 1 time
020+ === Total 2 memory leaks detected ===