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

Bug #47322 sscanf %d does't work
Submitted: 2009-02-06 03:45:36 Modified: 2009-02-06 10:23:06
From: sh_tanaka Assigned: felipe
Status: Closed Package: Strings related
PHP Version: 5.2.9RC1 OS:

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

Count Diff
6 (22%)
001+ [][][]
002+ [][][]
003+ [][][]
001- [:59:58][][]
002- [15][1][58.2]
003- [15.1111][1][58.2]
2 (7%)
001+ Segmentation fault (core dumped)
002+
003+ Termsig=11
001- [:59:58][][]
002- [15][1][58.2]
003- [15.1111][1][58.2]
2 (7%)
001+ Fatal error: Uncaught TypeError: Cannot assign string to reference of type in %s/bug47322.php:3
002+ Stack trace:
003+ #0 %s/bug47322.php(3): sscanf(':59:58', '%s:%d:%f', NULL, NULL, NULL)
001- [:59:58][][]
002- [15][1][58.2]
003- [15.1111][1][58.2]
004+ #1 {main}
005+ thrown in %s/bug47322.php on line 3
1 (4%)
004+ [Wed Dec 7 13:36:05 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fa879e783c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
004+ [Sat Nov 19 17:57:19 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fd6f74783c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
004+ [Sat Nov 19 14:23:15 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f2fa2a783c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
004+ [Sat Nov 19 13:55:03 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f73c96773c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
004+ [Mon Nov 14 03:00:57 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fbd790773c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
004+ [Fri Nov 18 14:48:17 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fbd106773c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
004+ [Fri Nov 18 01:24:28 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007ff3800773c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
004+ [Fri Nov 18 01:20:48 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f05d12773c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
004+ [Fri Dec 9 14:39:19 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f5b74c783c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
004+ [Fri Dec 9 10:57:15 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f0b17a783c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
001+ [][][]
002+ [][][]
003+ [][][]
001- [:59:58][][]
002- [15][1][58.2]
003- [15.1111][1][58.2]
004+ [Sun Nov 13 23:13:51 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007f9d876773c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
001+ [][][]
002+ [][][]
003+ [][][]
001- [:59:58][][]
002- [15][1][58.2]
003- [15.1111][1][58.2]
004+ [Sun Nov 13 22:49:38 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fd807a773c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
001+ [][][]
002+ [][][]
003+ [][][]
001- [:59:58][][]
002- [15][1][58.2]
003- [15.1111][1][58.2]
004+ [Sun Nov 13 22:33:29 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fb2f86773c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
001+ [][][]
002+ [][][]
003+ [][][]
001- [:59:58][][]
002- [15][1][58.2]
003- [15.1111][1][58.2]
004+ [Sun Nov 13 22:16:39 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fd0610773c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
001+ [][][]
002+ [][][]
003+ [][][]
001- [:59:58][][]
002- [15][1][58.2]
003- [15.1111][1][58.2]
004+ [Sun Nov 13 22:10:35 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fe898e773c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
001+ [][][]
002+ [][][]
003+ [][][]
001- [:59:58][][]
002- [15][1][58.2]
003- [15.1111][1][58.2]
004+ [Mon Nov 14 03:12:33 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007feea04773c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===
1 (4%)
001+ [][][]
002+ [][][]
003+ [][][]
001- [:59:58][][]
002- [15][1][58.2]
003- [15.1111][1][58.2]
004+ [Mon Nov 14 03:10:59 2016] Script: %s/bug47322.php'
005+ /home/travis/build/bwoebi/php-src/Zend/zend_string.h(122) : Freeing 0x00007fc1c62773c0 (32 bytes), %s/bug47322.php
006+ === Total 1 memory leaks detected ===