Test results for 5.2.5 [failed]

From: Date: Fri, 07 Dec 2007 13:41:10 +0000
Subject: Test results for 5.2.5 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-55237@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #35634 (Erroneous "Class declarations may not be nested" error raised) [Zend/tests/bug35634.phpt] Test lstat() and stat() functions: usage variations - effects of rename() on dir [ext/standard/tests/file/lstat_stat_variation2.phpt] Test readlink() and realpath functions: basic functionality - diff. path notation for links(Bug #42038) [ext/standard/tests/file/readlink_realpath_basic1.phpt] Test readlink() and realpath() functions: usage variation - linkname/filename stored in object(Bug #42038) [ext/standard/tests/file/readlink_realpath_variation1.phpt] Test readlink() and realpath() functions: usage variation - linkname/filename stored in array(Bug #42038) [ext/standard/tests/file/readlink_realpath_variation2.phpt] proc_open [ext/standard/tests/general_functions/proc_open02.phpt] Bug #20134 (UDP reads from invalid ports) [ext/standard/tests/network/bug20134.phpt] money_format test [ext/standard/tests/strings/moneyformat.phpt] Test setlocale() function : basic functionality - setting system locale to a specific [ext/standard/tests/strings/setlocale_basic1.phpt] Test setlocale() function : basic functionality - set locale using an array [ext/standard/tests/strings/setlocale_basic2.phpt] Test setlocale() function : basic functionality - passing multiple locales as argument [ext/standard/tests/strings/setlocale_basic3.phpt] Test setlocale() function : usage variations - passing multiple valid/invlaid locales as argument [ext/standard/tests/strings/setlocale_variation1.phpt] Test setlocale() function : usage variations - Setting all available locales in the platform [ext/standard/tests/strings/setlocale_variation2.phpt] Test setlocale() function : usage variations - setting system locale = 0 [ext/standard/tests/strings/setlocale_variation3.phpt] Test setlocale() function : usage variations - setting system locale as null [ext/standard/tests/strings/setlocale_variation4.phpt] Test setlocale() function : usage variations - Setting system locale as empty string [ext/standard/tests/strings/setlocale_variation5.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 74 Exts tested : 5 --------------------------------------------------------------------- Number of tests : 4466 2413 Tests skipped : 2053 ( 46.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 16 ( 0.4%) ( 0.7%) Tests passed : 2397 ( 53.7%) ( 99.3%) --------------------------------------------------------------------- Time taken : 706 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #35634 (Erroneous "Class declarations may not be nested" error raised) [Zend/tests/bug35634.phpt] Test lstat() and stat() functions: usage variations - effects of rename() on dir [ext/standard/tests/file/lstat_stat_variation2.phpt] Test readlink() and realpath functions: basic functionality - diff. path notation for links(Bug #42038) [ext/standard/tests/file/readlink_realpath_basic1.phpt] Test readlink() and realpath() functions: usage variation - linkname/filename stored in object(Bug #42038) [ext/standard/tests/file/readlink_realpath_variation1.phpt] Test readlink() and realpath() functions: usage variation - linkname/filename stored in array(Bug #42038) [ext/standard/tests/file/readlink_realpath_variation2.phpt] proc_open [ext/standard/tests/general_functions/proc_open02.phpt] Bug #20134 (UDP reads from invalid ports) [ext/standard/tests/network/bug20134.phpt] money_format test [ext/standard/tests/strings/moneyformat.phpt] Test setlocale() function : basic functionality - setting system locale to a specific [ext/standard/tests/strings/setlocale_basic1.phpt] Test setlocale() function : basic functionality - set locale using an array [ext/standard/tests/strings/setlocale_basic2.phpt] Test setlocale() function : basic functionality - passing multiple locales as argument [ext/standard/tests/strings/setlocale_basic3.phpt] Test setlocale() function : usage variations - passing multiple valid/invlaid locales as argument [ext/standard/tests/strings/setlocale_variation1.phpt] Test setlocale() function : usage variations - Setting all available locales in the platform [ext/standard/tests/strings/setlocale_variation2.phpt] Test setlocale() function : usage variations - setting system locale = 0 [ext/standard/tests/strings/setlocale_variation3.phpt] Test setlocale() function : usage variations - setting system locale as null [ext/standard/tests/strings/setlocale_variation4.phpt] Test setlocale() function : usage variations - Setting system locale as empty string [ext/standard/tests/strings/setlocale_variation5.phpt] ===================================================================== ================================================================================ /root/php5/php-5.2.5/Zend/tests/bug35634.phpt ================================================================================ Error: Redefining already defined constructor for class TestClass (/root/php5/php-5.2.5/Zend/tests/bug35634.php:12) zend_mm_heap corrupted ================================================================================ 002+ zend_mm_heap corrupted ================================================================================ ================================================================================ /root/php5/php-5.2.5/ext/standard/tests/file/lstat_stat_variation2.phpt ================================================================================ *** Testing stat() for directory after being renamed *** bool(true) bool(true) bool(true) Error: stat1 do not match with stat2 at key value: 10 Error: stat1 do not match with stat2 at key value: ctime Dumping stat array 1... array(26) { [0]=> int(1038) [1]=> int(235581) [2]=> int(16877) [3]=> int(2) [4]=> int(0) [5]=> int(1002) [6]=> int(977911) [7]=> int(512) [8]=> int(1197034544) [9]=> int(1197034544) [10]=> int(1197034544) [11]=> int(4096) [12]=> int(4) ["dev"]=> int(1038) ["ino"]=> int(235581) ["mode"]=> int(16877) ["nlink"]=> int(2) ["uid"]=> int(0) ["gid"]=> int(1002) ["rdev"]=> int(977911) ["size"]=> int(512) ["atime"]=> int(1197034544) ["mtime"]=> int(1197034544) ["ctime"]=> int(1197034544) ["blksize"]=> int(4096) ["blocks"]=> int(4) } Dumping stat array 2... array(26) { [0]=> int(1038) [1]=> int(235581) [2]=> int(16877) [3]=> int(2) [4]=> int(0) [5]=> int(1002) [6]=> int(977911) [7]=> int(512) [8]=> int(1197034544) [9]=> int(1197034544) [10]=> int(1197034545) [11]=> int(4096) [12]=> int(4) ["dev"]=> int(1038) ["ino"]=> int(235581) ["mode"]=> int(16877) ["nlink"]=> int(2) ["uid"]=> int(0) ["gid"]=> int(1002) ["rdev"]=> int(977911) ["size"]=> int(512) ["atime"]=> int(1197034544) ["mtime"]=> int(1197034544) ["ctime"]=> int(1197034545) ["blksize"]=> int(4096) ["blocks"]=> int(4) } bool(false) --- Done --- ================================================================================ 005+ Error: stat1 do not match with stat2 at key value: 10 006+ Error: stat1 do not match with stat2 at key value: ctime 005- bool(true) 007- --- Done --- 008+ Dumping stat array 1... 009+ array(26) { 010+ [0]=> 011+ int(1038) 012+ [1]=> 013+ int(235581) 014+ [2]=> 015+ int(16877) 016+ [3]=> 017+ int(2) 018+ [4]=> 019+ int(0) 020+ [5]=> 021+ int(1002) 022+ [6]=> 023+ int(977911) 024+ [7]=> 025+ int(512) 026+ [8]=> 027+ int(1197034544) 028+ [9]=> 029+ int(1197034544) 030+ [10]=> 031+ int(1197034544) 032+ [11]=> 033+ int(4096) 034+ [12]=> 035+ int(4) 036+ ["dev"]=> 037+ int(1038) 038+ ["ino"]=> 039+ int(235581) 040+ ["mode"]=> 041+ int(16877) 042+ ["nlink"]=> 043+ int(2) 044+ ["uid"]=> 045+ int(0) 046+ ["gid"]=> 047+ int(1002) 048+ ["rdev"]=> 049+ int(977911) 050+ ["size"]=> 051+ int(512) 052+ ["atime"]=> 053+ int(1197034544) 054+ ["mtime"]=> 055+ int(1197034544) 056+ ["ctime"]=> 057+ int(1197034544) 058+ ["blksize"]=> 059+ int(4096) 060+ ["blocks"]=> 061+ int(4) 062+ } 063+ 064+ Dumping stat array 2... 065+ array(26) { 066+ [0]=> 067+ int(1038) 068+ [1]=> 069+ int(235581) 070+ [2]=> 071+ int(16877) 072+ [3]=> 073+ int(2) 074+ [4]=> 075+ int(0) 076+ [5]=> 077+ int(1002) 078+ [6]=> 079+ int(977911) 080+ [7]=> 081+ int(512) 082+ [8]=> 083+ int(1197034544) 084+ [9]=> 085+ int(1197034544) 086+ [10]=> 087+ int(1197034545) 088+ [11]=> 089+ int(4096) 090+ [12]=> 091+ int(4) 092+ ["dev"]=> 093+ int(1038) 094+ ["ino"]=> 095+ int(235581) 096+ ["mode"]=> 097+ int(16877) 098+ ["nlink"]=> 099+ int(2) 100+ ["uid"]=> 101+ int(0) 102+ ["gid"]=> 103+ int(1002) 104+ ["rdev"]=> 105+ int(977911) 106+ ["size"]=> 107+ int(512) 108+ ["atime"]=> 109+ int(1197034544) 110+ ["mtime"]=> 111+ int(1197034544) 112+ ["ctime"]=> 113+ int(1197034545) 114+ ["blksize"]=> 115+ int(4096) 116+ ["blocks"]=> 117+ int(4) 118+ } 119+ bool(false) 120+ 121+ --- Done --- ================================================================================ ================================================================================ /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1.phpt ================================================================================ *** Testing readlink() and realpath(): with valid and invalid path *** -- Iteration 1 -- string(103) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp" string(108) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp" -- Iteration 2 -- string(108) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp" string(113) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1_link.tmp" -- Iteration 3 -- string(108) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp" string(108) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp" -- Iteration 4 -- string(103) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp" string(108) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp" -- Iteration 5 -- Warning: readlink(): No such file or directory in /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1.php on line 48 bool(false) bool(false) -- Iteration 6 -- Warning: readlink(): No such file or directory in /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1.php on line 48 bool(false) bool(false) -- Iteration 7 -- Warning: readlink(): No such file or directory in /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1.php on line 48 bool(false) string(105) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/..readlink_realpath_basic1_link.tmp" -- Iteration 8 -- Warning: readlink(): Invalid argument in /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1.php on line 48 bool(false) string(108) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp" Done ================================================================================ 005+ string(108) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp" 005- string(%d) "%s/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp" 009+ string(113) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1_link.tmp" 009- string(%d) "%s/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp" 017+ string(108) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp" 017- string(%d) "%s/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp" ================================================================================ ================================================================================ /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1.phpt ================================================================================ *** Testing readlink() and realpath() : usage variations *** *** Testing readlink() and realpath() with linkname stored inside a object *** -- Testing readlink() and realpath() with softlink, linkname stored inside an object -- bool(true) string(122) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" string(116) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1/home/readlink_realpath_variation1_link.tmp" bool(true) string(122) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" string(82) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1_link.tmp" -- Testing readlink() and realpath() with hardlink, linkname stored inside an object -- bool(true) Warning: readlink(): Invalid argument in /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1.php on line 45 bool(false) string(116) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1/home/readlink_realpath_variation1_link.tmp" bool(true) Warning: readlink(): Invalid argument in /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1.php on line 48 bool(false) string(82) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1_link.tmp" Done ================================================================================ 008+ string(116) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1/home/readlink_realpath_variation1_link.tmp" 008- string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" 011+ string(82) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1_link.tmp" 011- string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" ================================================================================ ================================================================================ /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.phpt ================================================================================ *** Testing readlink() and realpath() : usage variations *** *** Testing readlink() and realpath() with linkname stored in an array *** -- Testing readlink() and realpath() with softlink, linkname stored inside an array -- bool(true) string(122) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2.tmp" string(127) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2_link.tmp" Warning: symlink(): No such file or directory in /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 29 bool(false) Warning: readlink(): No such file or directory in /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 30 bool(false) bool(false) Warning: unlink(/root/php5/php-5.2.5/ext/standard/tests/file/./readlink_realpath_variation2/home/../home//tests//..//..//..//home//readlink_realpath_variation2_link.tmp/): No such file or directory in /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 35 -- Testing readlink() and realpath() with hardlink, linkname stored inside an array -- bool(true) Warning: readlink(): Invalid argument in /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 40 bool(false) string(127) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2_link.tmp" Warning: link(): No such file or directory in /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 42 bool(false) Warning: readlink(): No such file or directory in /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 43 bool(false) bool(false) Warning: unlink(/root/php5/php-5.2.5/ext/standard/tests/file/./readlink_realpath_variation2/home/../home//tests//..//..//..//home//readlink_realpath_variation2_link.tmp/): No such file or directory in /root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 48 Done ================================================================================ 008+ string(127) "/root/php5/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2_link.tmp" 008- string(%d) "%s/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2.tmp" ================================================================================ ================================================================================ /root/php5/php-5.2.5/ext/standard/tests/general_functions/proc_open02.phpt ================================================================================ bool(true) array(8) { ["command"]=> string(28) "/usr/bin/nohup /bin/sleep 50" ["pid"]=> int(84698) ["running"]=> bool(false) ["signaled"]=> bool(true) ["stopped"]=> bool(false) ["exitcode"]=> int(-1) ["termsig"]=> int(1) ["stopsig"]=> int(0) } bool(false) array(8) { ["command"]=> string(28) "/usr/bin/nohup /bin/sleep 50" ["pid"]=> int(84698) ["running"]=> bool(false) ["signaled"]=> bool(false) ["stopped"]=> bool(false) ["exitcode"]=> int(-1) ["termsig"]=> int(0) ["stopsig"]=> int(0) } Done! ================================================================================ 008+ bool(false) 009+ ["signaled"]=> 009- ["signaled"]=> 010- bool(false) 016+ int(1) 016- int(0) 020+ bool(false) 020- bool(true) 029+ bool(false) 029- bool(true) 035+ int(0) 035- int(15) ================================================================================ ================================================================================ /root/php5/php-5.2.5/ext/standard/tests/network/bug20134.phpt ================================================================================ int(1) ** ERROR: process timed out ** ================================================================================ 002+ 002- string(0) "" 003+ ** ERROR: process timed out ** ================================================================================ ================================================================================ /root/php5/php-5.2.5/ext/standard/tests/strings/moneyformat.phpt ================================================================================ string(6) "X3.14Y" Warning: money_format(): Only a single %i or %n token can be used in /root/php5/php-5.2.5/ext/standard/tests/strings/moneyformat.php on line 4 bool(false) ================================================================================ 001+ string(6) "X3.14Y" 001- string(7) "X$3.14Y" ================================================================================ ================================================================================ /root/php5/php-5.2.5/ext/standard/tests/strings/setlocale_basic1.phpt ================================================================================ *** Testing setlocale() : basic functionality - set to a specific locale *** Setting system locale(LC_ALL) to Checking currency settings in the new locale, expected: EUR, Found: Test FAILED. Done ================================================================================ 003+ Test FAILED. 003- string(%d) %s 004- Checking currency settings in the new locale, expected: %s, Found: %s 005- Test PASSED. ================================================================================ ================================================================================ /root/php5/php-5.2.5/ext/standard/tests/strings/setlocale_basic2.phpt ================================================================================ *** Testing setlocale() with an array containing list of locales *** -- Testing setlocale() : 'category' argument as LC_ALL & 'locale' argument as an array -- Test FAILED. Done ================================================================================ 003+ Test FAILED. 003- string(%d) "%s" 004- Checking currency settings in the new locale, expected: %s, Found: %s 005- Test PASSED. ================================================================================ ================================================================================ /root/php5/php-5.2.5/ext/standard/tests/strings/setlocale_basic3.phpt ================================================================================ *** Testing setlocale() by passing multiple locales as argument *** Done ================================================================================ 002- -- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.utf8, Ko_KR.utf8, zh_CN.utf8) -- 003- string(%d) "%s" 004- Checking currency settings in the new locale, expected: %s, Found: %s 005- Test PASSED. ================================================================================ ================================================================================ /root/php5/php-5.2.5/ext/standard/tests/strings/setlocale_variation1.phpt ================================================================================ *** Testing setlocale() by passing multiple valid/invalid locales as argument *** Done ================================================================================ 002- -- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_US.utf8, Ko_KR.utf8, KO_KR.invalid, zh_CN.utf8) -- 003- string(%d) "%s" 004- Checking currency settings in the new locale, expected: %s, Found: %s 005- Test PASSED. ================================================================================ ================================================================================ /root/php5/php-5.2.5/ext/standard/tests/strings/setlocale_variation2.phpt ================================================================================ *** Testing setlocale() : usage variations *** -- Test setlocale() with all available locale in the system -- No of locales found on the machine = 153 No of setlocale() success = 148 Expected no of failures = 0 Test FAILED Names of locale() for which setlocale() failed ... array(5) { [0]=> string(15) "la_LN.ISO8859-1" [1]=> string(16) "la_LN.ISO8859-15" [2]=> string(15) "la_LN.ISO8859-2" [3]=> string(15) "la_LN.ISO8859-4" [4]=> string(14) "la_LN.US-ASCII" } Done ================================================================================ 006+ Test FAILED 007+ Names of locale() for which setlocale() failed ... 006- Test PASSED 007- Done 008+ array(5) { 009+ [0]=> 010+ string(15) "la_LN.ISO8859-1" 011+ [1]=> 012+ string(16) "la_LN.ISO8859-15" 013+ [2]=> 014+ string(15) "la_LN.ISO8859-2" 015+ [3]=> 016+ string(15) "la_LN.ISO8859-4" 017+ [4]=> 018+ string(14) "la_LN.US-ASCII" 019+ } 020+ Done ================================================================================ ================================================================================ /root/php5/php-5.2.5/ext/standard/tests/strings/setlocale_variation3.phpt ================================================================================ *** Testing setlocale() : usage variations - setting system locale = 0 *** Locale info, before setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(0) "" ["int_curr_symbol"]=> string(0) "" ["currency_symbol"]=> string(0) "" ["mon_decimal_point"]=> string(0) "" ["mon_thousands_sep"]=> string(0) "" ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(0) "" ["int_frac_digits"]=> int(127) ["frac_digits"]=> int(127) ["p_cs_precedes"]=> int(127) ["p_sep_by_space"]=> int(127) ["n_cs_precedes"]=> int(127) ["n_sep_by_space"]=> int(127) ["p_sign_posn"]=> int(127) ["n_sign_posn"]=> int(127) ["grouping"]=> array(1) { [0]=> int(127) } ["mon_grouping"]=> array(1) { [0]=> int(127) } } Setting system locale, category = LC_ALL and locale = 0 Locale info, after setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(0) "" ["int_curr_symbol"]=> string(0) "" ["currency_symbol"]=> string(0) "" ["mon_decimal_point"]=> string(0) "" ["mon_thousands_sep"]=> string(0) "" ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(0) "" ["int_frac_digits"]=> int(127) ["frac_digits"]=> int(127) ["p_cs_precedes"]=> int(127) ["p_sep_by_space"]=> int(127) ["n_cs_precedes"]=> int(127) ["n_sep_by_space"]=> int(127) ["p_sign_posn"]=> int(127) ["n_sign_posn"]=> int(127) ["grouping"]=> array(1) { [0]=> int(127) } ["mon_grouping"]=> array(1) { [0]=> int(127) } } Checking locale in the system, Expected : no change in the existing locale Test PASSED. Done ================================================================================ 007+ string(0) "" 007- string(1) "," 009+ string(0) "" 009- string(4) "USD " 011+ string(0) "" 011- string(1) "$" 013+ string(0) "" 013- string(1) "." 015+ string(0) "" 015- string(1) "," 019+ string(0) "" 019- string(1) "-" 021+ int(127) 021- int(2) 023+ int(127) 023- int(2) 025+ int(127) 025- int(1) 027+ int(127) 027- int(0) 029+ int(127) 029- int(1) 031+ int(127) 031- int(0) 033+ int(127) 033- int(1) 035+ int(127) 035- int(1) 037+ array(1) { 037- array(2) { 039+ int(127) 039- int(3) 040- [1]=> 041- int(3) 042+ array(1) { 044+ int(127) 044- array(2) { 046- int(3) 047- [1]=> 048- int(3) 053+ string(0) "" 055+ string(0) "" 057+ string(0) "" 057- string(1) "," 059+ string(0) "" 059- string(4) "USD " 061+ string(0) "" 061- string(1) "$" 063- string(1) "." 065+ string(0) "" 065- string(1) "," 067+ int(127) 069+ int(127) 069- string(1) "-" 071+ int(127) 071- int(2) 073+ int(127) 073- int(2) 075+ int(127) 075- int(1) 077+ int(127) 077- int(0) 079+ int(127) 079- int(1) 081+ int(127) 081- int(0) 083+ array(1) { 083- int(1) 085+ int(127) 085- int(1) 087- array(2) { 088+ array(1) { 089- int(3) 090- [1]=> 091- int(3) 090+ int(127) 094- array(2) { 096- int(3) 097- [1]=> 098- int(3) ================================================================================ ================================================================================ /root/php5/php-5.2.5/ext/standard/tests/strings/setlocale_variation4.phpt ================================================================================ *** Testing setlocale() : usage variations - Setting system locale = null *** Locale info, before setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(0) "" ["int_curr_symbol"]=> string(0) "" ["currency_symbol"]=> string(0) "" ["mon_decimal_point"]=> string(0) "" ["mon_thousands_sep"]=> string(0) "" ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(0) "" ["int_frac_digits"]=> int(127) ["frac_digits"]=> int(127) ["p_cs_precedes"]=> int(127) ["p_sep_by_space"]=> int(127) ["n_cs_precedes"]=> int(127) ["n_sep_by_space"]=> int(127) ["p_sign_posn"]=> int(127) ["n_sign_posn"]=> int(127) ["grouping"]=> array(1) { [0]=> int(127) } ["mon_grouping"]=> array(1) { [0]=> int(127) } } Setting system locale, category = LC_ALL and locale = null Locale info, after setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(0) "" ["int_curr_symbol"]=> string(0) "" ["currency_symbol"]=> string(0) "" ["mon_decimal_point"]=> string(0) "" ["mon_thousands_sep"]=> string(0) "" ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(0) "" ["int_frac_digits"]=> int(127) ["frac_digits"]=> int(127) ["p_cs_precedes"]=> int(127) ["p_sep_by_space"]=> int(127) ["n_cs_precedes"]=> int(127) ["n_sep_by_space"]=> int(127) ["p_sign_posn"]=> int(127) ["n_sign_posn"]=> int(127) ["grouping"]=> array(1) { [0]=> int(127) } ["mon_grouping"]=> array(1) { [0]=> int(127) } } Checking new locale in the system, Expected : the locale names will be set from the values of environment variables Test FAILED. Done ================================================================================ 007+ string(0) "" 007- string(1) "," 009+ string(0) "" 009- string(4) "AUD " 011+ string(0) "" 011- string(1) "$" 013+ string(0) "" 013- string(1) "." 015+ string(0) "" 015- string(1) "," 019+ string(0) "" 019- string(1) "-" 021+ int(127) 021- int(2) 023+ int(127) 023- int(2) 025+ int(127) 025- int(1) 027+ int(127) 027- int(0) 029+ int(127) 029- int(1) 031+ int(127) 031- int(0) 033+ int(127) 033- int(1) 035+ int(127) 035- int(1) 037+ array(1) { 037- array(2) { 039+ int(127) 039- int(3) 040- [1]=> 041- int(3) 042+ array(1) { 044+ int(127) 044- array(2) { 046- int(3) 047- [1]=> 048- int(3) 053+ string(0) "" 055+ string(0) "" 057+ string(0) "" 057- string(1) "," 059+ string(0) "" 059- string(4) "USD " 061+ string(0) "" 061- string(1) "$" 063- string(1) "." 065+ string(0) "" 065- string(1) "," 067+ int(127) 069+ int(127) 069- string(1) "-" 071+ int(127) 071- int(2) 073+ int(127) 073- int(2) 075+ int(127) 075- int(1) 077+ int(127) 077- int(0) 079+ int(127) 079- int(1) 081+ int(127) 081- int(0) 083+ array(1) { 083- int(1) 085+ int(127) 085- int(1) 087- array(2) { 088+ array(1) { 089- int(3) 090- [1]=> 091- int(3) 090+ int(127) 094+ Test FAILED. 094- array(2) { 096- int(3) 097- [1]=> 098- int(3) 102- Test PASSED. ================================================================================ ================================================================================ /root/php5/php-5.2.5/ext/standard/tests/strings/setlocale_variation5.phpt ================================================================================ *** Testing setlocale() : usage variations - setting system locale = "" *** Locale info, before setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(0) "" ["int_curr_symbol"]=> string(0) "" ["currency_symbol"]=> string(0) "" ["mon_decimal_point"]=> string(0) "" ["mon_thousands_sep"]=> string(0) "" ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(0) "" ["int_frac_digits"]=> int(127) ["frac_digits"]=> int(127) ["p_cs_precedes"]=> int(127) ["p_sep_by_space"]=> int(127) ["n_cs_precedes"]=> int(127) ["n_sep_by_space"]=> int(127) ["p_sign_posn"]=> int(127) ["n_sign_posn"]=> int(127) ["grouping"]=> array(1) { [0]=> int(127) } ["mon_grouping"]=> array(1) { [0]=> int(127) } } Setting system locale, category = LC_ALL and locale = "" Locale info, after setting the locale array(18) { ["decimal_point"]=> string(1) "." ["thousands_sep"]=> string(0) "" ["int_curr_symbol"]=> string(0) "" ["currency_symbol"]=> string(0) "" ["mon_decimal_point"]=> string(0) "" ["mon_thousands_sep"]=> string(0) "" ["positive_sign"]=> string(0) "" ["negative_sign"]=> string(0) "" ["int_frac_digits"]=> int(127) ["frac_digits"]=> int(127) ["p_cs_precedes"]=> int(127) ["p_sep_by_space"]=> int(127) ["n_cs_precedes"]=> int(127) ["n_sep_by_space"]=> int(127) ["p_sign_posn"]=> int(127) ["n_sign_posn"]=> int(127) ["grouping"]=> array(1) { [0]=> int(127) } ["mon_grouping"]=> array(1) { [0]=> int(127) } } Checking new locale in the system, Expected : the locale names will be set from the values of environment variables Test FAILED. Done ================================================================================ 007+ string(0) "" 007- string(1) "," 009+ string(0) "" 009- string(4) "AUD " 011+ string(0) "" 011- string(1) "$" 013+ string(0) "" 013- string(1) "." 015+ string(0) "" 015- string(1) "," 019+ string(0) "" 019- string(1) "-" 021+ int(127) 021- int(2) 023+ int(127) 023- int(2) 025+ int(127) 025- int(1) 027+ int(127) 027- int(0) 029+ int(127) 029- int(1) 031+ int(127) 031- int(0) 033+ int(127) 033- int(1) 035+ int(127) 035- int(1) 037+ array(1) { 037- array(2) { 039+ int(127) 039- int(3) 040- [1]=> 041- int(3) 042+ array(1) { 044+ int(127) 044- array(2) { 046- int(3) 047- [1]=> 048- int(3) 053+ string(0) "" 055+ string(0) "" 057+ string(0) "" 057- string(1) "," 059+ string(0) "" 059- string(4) "USD " 061+ string(0) "" 061- string(1) "$" 063- string(1) "." 065+ string(0) "" 065- string(1) "," 067+ int(127) 069+ int(127) 069- string(1) "-" 071+ int(127) 071- int(2) 073+ int(127) 073- int(2) 075+ int(127) 075- int(1) 077+ int(127) 077- int(0) 079+ int(127) 079- int(1) 081+ int(127) 081- int(0) 083+ array(1) { 083- int(1) 085+ int(127) 085- int(1) 087- array(2) { 088+ array(1) { 089- int(3) 090- [1]=> 091- int(3) 090+ int(127) 094+ Test FAILED. 094- array(2) { 096- int(3) 097- [1]=> 098- int(3) 102- Test PASSED. ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: FreeBSD - FreeBSD bsd3.nedport.net 5.5-RELEASE-p12 FreeBSD 5.5-RELEASE-p12 #5: Tue May 22 15:05:18 CEST 2007 roger@bsd3.nedport.net:/usr/obj/usr/src/sys/BSD3 i386 Autoconf: autoconf (GNU Autoconf) 2.61 Copyright (C) 2006 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille. Bundled Libtool: ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. System Libtool: ltmain.sh (GNU libtool) 1.5.24 (1.1220.2.455 2007/06/24 02:13:29) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiler: Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 Bison: bison (GNU Bison) 2.3 Written by Robert Corbett and Richard Stallman. Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Libraries: /root/php5/php-5.2.5/sapi/cli/php: libcrypt.so.2 => /lib/libcrypt.so.2 (0x2827d000) libssl.so.4 => /usr/local/lib/libssl.so.4 (0x28295000) libcrypto.so.4 => /usr/local/lib/libcrypto.so.4 (0x282d2000) libm.so.3 => /lib/libm.so.3 (0x28407000) libc.so.5 => /lib/libc.so.5 (0x28421000) User's E-mail: info at w4r dot nl ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.2.5 System => FreeBSD bsd3.nedport.net 5.5-RELEASE-p12 FreeBSD 5.5-RELEASE-p12 #5: Tue May 22 15:05:18 CEST 2007 roger@bsd3.nedport.net:/usr/obj/usr/src/sys/BSD3 i386 Build Date => Dec 7 2007 14:28:40 Configure Command => './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-path=/usr/local/etc/php5' '--disable-all' '--program-prefix=' '--enable-fastcgi' '--with-apxs2=/usr/local/sbin/apxs' '--with-openssl=/usr/local' '--with-openssl-dir=/usr/local' '--enable-zend-multibyte' '--disable-ipv6' '--prefix=/usr/local/php5' '--mandir=/usr/local/man' '--infodir=/usr/local/info/php5' '--with-pcre-regex' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/etc/php5 Loaded Configuration File => (none) PHP API => 20041225 PHP Extension => 20060613 Zend Extension => 220060519 Debug Build => no Thread Safety => disabled Zend Memory Manager => enabled IPv6 Support => disabled Registered PHP Streams => php, file, data, http, ftp, https, ftps Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed This program makes use of the Zend Scripting Language Engine: Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => On => On allow_url_fopen => On => On allow_url_include => Off => Off always_populate_raw_post_data => Off => Off arg_separator.input => & => & arg_separator.output => & => & asp_tags => Off => Off auto_append_file => no value => no value auto_globals_jit => On => On auto_prepend_file => no value => no value browscap => no value => no value default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => Off detect_unicode => On => On disable_classes => no value => no value disable_functions => no value => no value display_errors => STDOUT => STDOUT display_startup_errors => Off => Off doc_root => no value => no value docref_ext => no value => no value docref_root => no value => no value enable_dl => On => On error_append_string => no value => no value error_log => no value => no value error_prepend_string => no value => no value error_reporting => no value => no value expose_php => On => On extension_dir => /usr/local/php5/lib/php/20060613 => /usr/local/php5/lib/php/20060613 file_uploads => On => On highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font style="color: #FFFFFF">#FFFFFF</font> highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font> highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font> highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font> highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font> highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font> html_errors => Off => Off ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => On include_path => .: => .: log_errors => Off => Off log_errors_max_len => 1024 => 1024 magic_quotes_gpc => On => On magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off mail.force_extra_parameters => no value => no value max_execution_time => 0 => 0 max_input_nesting_level => 64 => 64 max_input_time => -1 => -1 memory_limit => 128M => 128M open_basedir => no value => no value output_buffering => 0 => 0 output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 realpath_cache_size => 16K => 16K realpath_cache_ttl => 120 => 120 register_argc_argv => On => On register_globals => Off => Off register_long_arrays => On => On report_memleaks => On => On report_zend_debug => Off => Off safe_mode => Off => Off safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value sendmail_from => no value => no value sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i serialize_precision => 100 => 100 short_open_tag => On => On SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => Off => Off track_errors => Off => Off unserialize_callback_func => no value => no value upload_max_filesize => 2M => 2M upload_tmp_dir => no value => no value user_dir => no value => no value variables_order => EGPCS => EGPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On zend.ze1_compatibility_mode => Off => Off date date/time support => enabled "Olson" Timezone Database Version => 2007.9 Timezone Database => internal Default timezone => Europe/Berlin Directive => Local Value => Master Value date.default_latitude => 31.7667 => 31.7667 date.default_longitude => 35.2333 => 35.2333 date.sunrise_zenith => 90.583333 => 90.583333 date.sunset_zenith => 90.583333 => 90.583333 date.timezone => no value => no value openssl OpenSSL support => enabled OpenSSL Version => OpenSSL 0.9.8g 19 Oct 2007 pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 7.3 2007-08-28 Directive => Local Value => Master Value pcre.backtrack_limit => 100000 => 100000 pcre.recursion_limit => 100000 => 100000 Reflection Reflection => enabled Version => $Id: php_reflection.c,v 1.164.2.33.2.47 2007/10/28 13:47:14 iliaa Exp $ standard Regex Library => Bundled library enabled Dynamic Library Support => enabled Path to sendmail => /usr/sbin/sendmail -t -i Directive => Local Value => Master Value assert.active => 1 => 1 assert.bail => 0 => 0 assert.callback => no value => no value assert.quiet_eval => 0 => 0 assert.warning => 1 => 1 auto_detect_line_endings => 0 => 0 default_socket_timeout => 60 => 60 safe_mode_allowed_env_vars => PHP_ => PHP_ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset= user_agent => no value => no value Additional Modules Module Name Environment Variable => Value SSH_CLIENT => deleted USER => roger MACHTYPE => i386 MAIL => /var/mail/roger VENDOR => intel SHLVL => 1 HOME => /root TEST_PHP_SRCDIR => /root/php5/php-5.2.5 SSH_TTY => deleted PAGER => more ENV => /usr/home/roger/.shrc GROUP => wheel LOGNAME => roger TEST_PHP_EXECUTABLE => /root/php5/php-5.2.5/sapi/cli/php BLOCKSIZE => K TERM => xterm PATH => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin REMOTEHOST => 84.41.178.95 SSH_AUTH_SOCK => deleted SHELL => /bin/csh HOST => bsd3.nedport.net __MKLVL__ => 1 OSTYPE => FreeBSD PWD => /root/php5/php-5.2.5 SSH_CONNECTION => deleted FTP_PASSIVE_MODE => YES CC => gcc HOSTTYPE => FreeBSD EDITOR => vi PHP Variables Variable => Value _SERVER["SSH_CLIENT"] => deleted _SERVER["USER"] => roger _SERVER["MACHTYPE"] => i386 _SERVER["MAIL"] => /var/mail/roger _SERVER["VENDOR"] => intel _SERVER["SHLVL"] => 1 _SERVER["HOME"] => /root _SERVER["TEST_PHP_SRCDIR"] => /root/php5/php-5.2.5 _SERVER["SSH_TTY"] => deleted _SERVER["PAGER"] => more _SERVER["ENV"] => /usr/home/roger/.shrc _SERVER["GROUP"] => wheel _SERVER["LOGNAME"] => roger _SERVER["TEST_PHP_EXECUTABLE"] => /root/php5/php-5.2.5/sapi/cli/php _SERVER["BLOCKSIZE"] => K _SERVER["TERM"] => xterm _SERVER["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin _SERVER["REMOTEHOST"] => 84.41.178.95 _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["SHELL"] => /bin/csh _SERVER["HOST"] => bsd3.nedport.net _SERVER["__MKLVL__"] => 1 _SERVER["OSTYPE"] => FreeBSD _SERVER["PWD"] => /root/php5/php-5.2.5 _SERVER["SSH_CONNECTION"] => deleted _SERVER["FTP_PASSIVE_MODE"] => YES _SERVER["CC"] => gcc _SERVER["HOSTTYPE"] => FreeBSD _SERVER["EDITOR"] => vi _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["REQUEST_TIME"] => 1197034873 _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["SSH_CLIENT"] => deleted _ENV["USER"] => roger _ENV["MACHTYPE"] => i386 _ENV["MAIL"] => /var/mail/roger _ENV["VENDOR"] => intel _ENV["SHLVL"] => 1 _ENV["HOME"] => /root _ENV["TEST_PHP_SRCDIR"] => /root/php5/php-5.2.5 _ENV["SSH_TTY"] => deleted _ENV["PAGER"] => more _ENV["ENV"] => /usr/home/roger/.shrc _ENV["GROUP"] => wheel _ENV["LOGNAME"] => roger _ENV["TEST_PHP_EXECUTABLE"] => /root/php5/php-5.2.5/sapi/cli/php _ENV["BLOCKSIZE"] => K _ENV["TERM"] => xterm _ENV["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin _ENV["REMOTEHOST"] => 84.41.178.95 _ENV["SSH_AUTH_SOCK"] => deleted _ENV["SHELL"] => /bin/csh _ENV["HOST"] => bsd3.nedport.net _ENV["__MKLVL__"] => 1 _ENV["OSTYPE"] => FreeBSD _ENV["PWD"] => /root/php5/php-5.2.5 _ENV["SSH_CONNECTION"] => deleted _ENV["FTP_PASSIVE_MODE"] => YES _ENV["CC"] => gcc _ENV["HOSTTYPE"] => FreeBSD _ENV["EDITOR"] => vi PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.

« previous php.qa (#55237) next »