Test results for 5.2.4 [failed]

From: Date: Wed, 17 Oct 2007 12:58:36 +0000
Subject: Test results for 5.2.4 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-50863@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- idate() and invalid params [ext/date/tests/005.phpt] localtime() tests [ext/date/tests/007.phpt] getdate() tests [ext/date/tests/008.phpt] strftime() and gmstrftime() tests [ext/date/tests/009.phpt] timezone_offset_get() tests [ext/date/tests/014.phpt] Bug #32555 (strtotime("tomorrow") can return false) [ext/date/tests/bug32555.phpt] Bug #33532 (Different output for strftime() and date()) [ext/date/tests/bug33532.phpt] Bug #37368 (Incorrect timestamp returned for strtotime()). [ext/date/tests/bug37368.phpt] Bug #37514 (strtotime doesn't assume year correctly). [ext/date/tests/bug37514.phpt] date_default_timezone_get() function [1] [ext/date/tests/date_default_timezone_get-1.phpt] date_default_timezone_get() function [2] [ext/date/tests/date_default_timezone_get-2.phpt] date_default_timezone_set() function [1] [ext/date/tests/date_default_timezone_set-1.phpt] Test basic date_sun_info() [ext/date/tests/date_sun_info_001.phpt] Bug #38474 (getAttribute select attribute by order, even when prefixed) (OK to fail with libxml2 < 2.6.2x) [ext/dom/tests/bug38474.phpt] libgd #106 (imagerectangle 1x1 draws 1x3) [ext/gd/tests/libgd00106.phpt] dcngettext() tests [ext/gettext/tests/dcngettext.phpt] IPv6 Loopback test [ext/sockets/tests/ipv6loop.phpt] proc_open [ext/standard/tests/general_functions/proc_open02.phpt] Bug #27646 (Cannot serialize/unserialize non-finite numeric values) [ext/standard/tests/math/bug27646.phpt] htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15) [ext/standard/tests/strings/htmlentities02.phpt] (warn: possibly braindead libc) money_format test [ext/standard/tests/strings/moneyformat.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 46 Exts tested : 33 --------------------------------------------------------------------- Number of tests : 3450 2178 Tests skipped : 1272 ( 36.9%) -------- Tests warned : 1 ( 0.0%) ( 0.0%) Tests failed : 20 ( 0.6%) ( 0.9%) Tests passed : 2157 ( 62.5%) ( 99.0%) --------------------------------------------------------------------- Time taken : 211 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- idate() and invalid params [ext/date/tests/005.phpt] localtime() tests [ext/date/tests/007.phpt] getdate() tests [ext/date/tests/008.phpt] strftime() and gmstrftime() tests [ext/date/tests/009.phpt] timezone_offset_get() tests [ext/date/tests/014.phpt] Bug #32555 (strtotime("tomorrow") can return false) [ext/date/tests/bug32555.phpt] Bug #33532 (Different output for strftime() and date()) [ext/date/tests/bug33532.phpt] Bug #37368 (Incorrect timestamp returned for strtotime()). [ext/date/tests/bug37368.phpt] Bug #37514 (strtotime doesn't assume year correctly). [ext/date/tests/bug37514.phpt] date_default_timezone_get() function [1] [ext/date/tests/date_default_timezone_get-1.phpt] date_default_timezone_get() function [2] [ext/date/tests/date_default_timezone_get-2.phpt] date_default_timezone_set() function [1] [ext/date/tests/date_default_timezone_set-1.phpt] Test basic date_sun_info() [ext/date/tests/date_sun_info_001.phpt] Bug #38474 (getAttribute select attribute by order, even when prefixed) (OK to fail with libxml2 < 2.6.2x) [ext/dom/tests/bug38474.phpt] libgd #106 (imagerectangle 1x1 draws 1x3) [ext/gd/tests/libgd00106.phpt] dcngettext() tests [ext/gettext/tests/dcngettext.phpt] IPv6 Loopback test [ext/sockets/tests/ipv6loop.phpt] proc_open [ext/standard/tests/general_functions/proc_open02.phpt] Bug #27646 (Cannot serialize/unserialize non-finite numeric values) [ext/standard/tests/math/bug27646.phpt] htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15) [ext/standard/tests/strings/htmlentities02.phpt] (warn: possibly braindead libc) money_format test [ext/standard/tests/strings/moneyformat.phpt] ===================================================================== ================================================================================ /export/install/php-5.2.4/ext/date/tests/005.phpt ================================================================================ Warning: idate() expects at least 1 parameter, 0 given in /export/install/php-5.2.4/ext/date/tests/005.php on line 5 bool(false) Warning: idate() expects at most 2 parameters, 3 given in /export/install/php-5.2.4/ext/date/tests/005.php on line 6 bool(false) Warning: idate(): Unrecognized date format token. in /export/install/php-5.2.4/ext/date/tests/005.php on line 8 bool(false) Warning: idate(): idate format is one char in /export/install/php-5.2.4/ext/date/tests/005.php on line 9 bool(false) Warning: idate(): Unrecognized date format token. in /export/install/php-5.2.4/ext/date/tests/005.php on line 10 bool(false) int(958) Warning: idate(): Unrecognized date format token. in /export/install/php-5.2.4/ext/date/tests/005.php on line 13 bool(false) Warning: idate(): Unrecognized date format token. in /export/install/php-5.2.4/ext/date/tests/005.php on line 14 bool(false) Done ================================================================================ 015+ int(958) 015- int(41) ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/date/tests/007.phpt ================================================================================ Warning: localtime() expects at most 2 parameters, 3 given in /export/install/php-5.2.4/ext/date/tests/007.php on line 4 bool(false) array(9) { [0]=> int(49) [1]=> int(52) [2]=> int(14) [3]=> int(17) [4]=> int(9) [5]=> int(107) [6]=> int(3) [7]=> int(289) [8]=> int(1) } array(9) { [0]=> int(0) [1]=> int(0) [2]=> int(0) [3]=> int(27) [4]=> int(5) [5]=> int(106) [6]=> int(2) [7]=> int(177) [8]=> int(1) } array(9) { ["tm_sec"]=> int(0) ["tm_min"]=> int(0) ["tm_hour"]=> int(0) ["tm_mday"]=> int(27) ["tm_mon"]=> int(5) ["tm_year"]=> int(106) ["tm_wday"]=> int(2) ["tm_yday"]=> int(177) ["tm_isdst"]=> int(1) } array(9) { [0]=> int(0) [1]=> int(0) [2]=> int(0) [3]=> int(27) [4]=> int(5) [5]=> int(106) [6]=> int(2) [7]=> int(177) [8]=> int(1) } Done ================================================================================ 041+ int(1) 041- int(0) 061+ int(1) 061- int(0) 081+ int(1) 081- int(0) ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/date/tests/008.phpt ================================================================================ Warning: getdate() expects at most 1 parameter, 2 given in /export/install/php-5.2.4/ext/date/tests/008.php on line 4 bool(false) array(11) { ["seconds"]=> int(0) ["minutes"]=> int(0) ["hours"]=> int(0) ["mday"]=> int(27) ["wday"]=> int(2) ["mon"]=> int(6) ["year"]=> int(2006) ["yday"]=> int(177) ["weekday"]=> string(7) "Tuesday" ["month"]=> string(4) "June" [0]=> int(1151359200) } array(11) { ["seconds"]=> int(49) ["minutes"]=> int(52) ["hours"]=> int(14) ["mday"]=> int(17) ["wday"]=> int(3) ["mon"]=> int(10) ["year"]=> int(2007) ["yday"]=> int(289) ["weekday"]=> string(9) "Wednesday" ["month"]=> string(7) "October" [0]=> int(1192625569) } Done ================================================================================ 025+ int(1151359200) 025- int(1151366400) ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/date/tests/009.phpt ================================================================================ Warning: strftime() expects at least 1 parameter, 0 given in /export/install/php-5.2.4/ext/date/tests/009.php on line 5 bool(false) bool(false) string(207) "Tue Tuesday Jun June Tue Jun 27 00:00:00 2006 Tue Jun 27 00:00:00 CEST 2006 27 06/27/06 27 06 2006 Jun 00 12 178 06 00 AM 12:00:00 AM 00:00 00 00:00:00 2 26 26 26 2 06/27/06 00:00:00 06 2006 CEST +0200 %" string(5) "%q %a" string(2) "%q" string(4) "blah" Warning: gmstrftime() expects at least 1 parameter, 0 given in /export/install/php-5.2.4/ext/date/tests/009.php on line 13 bool(false) bool(false) string(204) "Mon Monday Jun June Mon Jun 26 22:00:00 2006 Mon Jun 26 22:00:00 CET 2006 26 06/26/06 26 06 2006 Jun 22 10 177 06 00 PM 10:00:00 PM 22:00 00 22:00:00 1 26 26 26 1 06/26/06 22:00:00 06 2006 CET +0100 %" string(5) "%q %a" string(2) "%q" string(4) "blah" Done ================================================================================ 013+ string(204) "Mon Monday Jun June Mon Jun 26 22:00:00 2006 Mon Jun 26 22:00:00 CET 2006 26 06/26/06 26 06 2006 Jun 22 10 177 06 00 013- string(%d) "Mon Monday Jun June Mon Jun 26 21:00:00 2006 %s ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/date/tests/014.phpt ================================================================================ object(DateTime)#1 (0) { } object(DateTimeZone)#2 (0) { } Warning: timezone_offset_get() expects exactly 2 parameters, 0 given in /export/install/php-5.2.4/ext/date/tests/014.php on line 9 bool(false) int(3600) Warning: timezone_offset_get() expects parameter 1 to be DateTimeZone, object given in /export/install/php-5.2.4/ext/date/tests/014.php on line 11 bool(false) Done ================================================================================ 008+ int(3600) 008- int(0) ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/date/tests/bug32555.phpt ================================================================================ Sat Apr 02 02:30:00 2005 EST Sun Apr 03 00:00:00 2005 EST Sun Apr 03 03:30:00 2005 EDT Mon Apr 04 02:30:00 2005 EDT ================================================================================ 001+ Sat Apr 02 02:30:00 2005 EST 002+ Sun Apr 03 00:00:00 2005 EST 003+ Sun Apr 03 03:30:00 2005 EDT 004+ Mon Apr 04 02:30:00 2005 EDT 001- Sat Apr 2 02:30:00 2005 EST 002- Sun Apr 3 00:00:00 2005 EST 003- Sun Apr 3 03:30:00 2005 EDT 004- Mon Apr 4 02:30:00 2005 EDT ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/date/tests/bug33532.phpt ================================================================================ TZ has NOT been set Should strftime==datestr? Strftime seems to assume GMT tStamp. input 10:00:00 AM July 1 2005 strftime 10:00:00 AM July 1 2005 CET +0100 datestr 10:00:00 AM July 1 2005 UTC Setting TZ input 10:00:00 AM July 1 2005 strftime 10:00:00 AM July 1 2005 EST +1000 datestr 10:00:00 AM July 1 2005 EST ================================================================================ 004+ strftime 10:00:00 AM July 1 2005 CET +0100 004- strftime 10:00:00 AM July 1 2005 UTC +0000 ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/date/tests/bug37368.phpt ================================================================================ Wed, 07 Jun 2006 19:06:44 +0200 ================================================================================ 001+ Wed, 07 Jun 2006 19:06:44 +0200 001- Wed, 07 Jun 2006 17:06:44 +0000 ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/date/tests/bug37514.phpt ================================================================================ Fri, 18 May 2007 05:05:00 +0200 Fri, 18 May 2007 17:05:00 +0200 Fri, 18 May 2007 17:05:00 +0200 Fri, 18 May 2007 05:05:00 +0200 Fri, 18 May 2007 05:05:00 +0200 Thu, 18 May 2006 17:05:00 +0200 ================================================================================ 001+ Fri, 18 May 2007 05:05:00 +0200 002+ Fri, 18 May 2007 17:05:00 +0200 003+ Fri, 18 May 2007 17:05:00 +0200 004+ Fri, 18 May 2007 05:05:00 +0200 005+ Fri, 18 May 2007 05:05:00 +0200 006+ Thu, 18 May 2006 17:05:00 +0200 001- Fri, 18 May 2007 05:05:00 +0000 002- Fri, 18 May 2007 17:05:00 +0000 003- Fri, 18 May 2007 17:05:00 +0000 004- Fri, 18 May 2007 05:05:00 +0000 005- Fri, 18 May 2007 05:05:00 +0000 006- Thu, 18 May 2006 17:05:00 +0000 ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/date/tests/date_default_timezone_get-1.phpt ================================================================================ Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /export/install/php-5.2.4/ext/date/tests/date_default_timezone_get-1.php on line 3 UTC Warning: date(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /export/install/php-5.2.4/ext/date/tests/date_default_timezone_get-1.php on line 4 UTC ================================================================================ 001+ Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /export/install/php-5.2.4/ext/date/tests/date_default_timezone_get-1.php on line 3 001- Strict Standards: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in %sdate_default_timezone_get-1.php on line 3 004+ Warning: date(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /export/install/php-5.2.4/ext/date/tests/date_default_timezone_get-1.php on line 4 004- Strict Standards: date(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in %sdate_default_timezone_get-1.php on line 4 ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/date/tests/date_default_timezone_get-2.phpt ================================================================================ Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /export/install/php-5.2.4/ext/date/tests/date_default_timezone_get-2.php on line 3 UTC ================================================================================ 001+ Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /export/install/php-5.2.4/ext/date/tests/date_default_timezone_get-2.php on line 3 001- Strict Standards: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in %sdate_default_timezone_get-2.php on line 3 ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/date/tests/date_default_timezone_set-1.phpt ================================================================================ Warning: strtotime(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /export/install/php-5.2.4/ext/date/tests/date_default_timezone_set-1.php on line 3 Warning: strtotime(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /export/install/php-5.2.4/ext/date/tests/date_default_timezone_set-1.php on line 4 America/Indiana/Knox 2005-01-12T03:00:00-0500 2005-07-12T03:00:00-0500 2005-01-12T08:00:00-0500 2005-07-12T08:00:00-0500 ================================================================================ 001+ Warning: strtotime(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /export/install/php-5.2.4/ext/date/tests/date_default_timezone_set-1.php on line 3 001- Strict Standards: strtotime(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in %sdate_default_timezone_set-1.php on line 3 003+ Warning: strtotime(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /export/install/php-5.2.4/ext/date/tests/date_default_timezone_set-1.php on line 4 003- Strict Standards: strtotime(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in %sdate_default_timezone_set-1.php on line 4 ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/date/tests/date_sun_info_001.phpt ================================================================================ array(9) { ["sunrise"]=> int(1165897780) ["sunset"]=> int(1165934167) ["transit"]=> int(1165915974) ["civil_twilight_begin"]=> int(1165896175) ["civil_twilight_end"]=> int(1165935773) ["nautical_twilight_begin"]=> int(1165894351) ["nautical_twilight_end"]=> int(1165937596) ["astronomical_twilight_begin"]=> int(1165892568) ["astronomical_twilight_end"]=> int(1165939379) } Done ================================================================================ 003+ int(1165897780) 003- int(1165897782) 005+ int(1165934167) 005- int(1165934168) 007+ int(1165915974) 007- int(1165915975) 009+ int(1165896175) 009- int(1165896176) 013+ int(1165894351) 013- int(1165894353) 015+ int(1165937596) 015- int(1165937597) 017+ int(1165892568) 017- int(1165892570) 019+ int(1165939379) 019- int(1165939380) ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/dom/tests/bug38474.phpt ================================================================================ foo bar foo2 bar baz2 ================================================================================ 004+ bar 005+ 006+ 004- bar2 005- baz 008- baz ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/gd/tests/libgd00106.phpt ================================================================================ failed ================================================================================ 001+ failed 001- Ok ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/gettext/tests/dcngettext.phpt ================================================================================ Warning: Wrong parameter count for dcngettext() in /export/install/php-5.2.4/ext/gettext/tests/dcngettext.php on line 3 bool(false) string(1) "1" string(4) "test" string(4) "test" ================================================================================ 006- string(4) "test" 007- string(0) "" 008- string(0) "" 009- Done ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/sockets/tests/ipv6loop.phpt ================================================================================ Warning: socket_bind(): unable to bind address [126]: Cannot assign requested address in /export/install/php-5.2.4/ext/sockets/tests/ipv6loop.php on line 7 Unable to bind to [::1]:31337 ================================================================================ 001+ Warning: socket_bind(): unable to bind address [126]: Cannot assign requested address in /export/install/php-5.2.4/ext/sockets/tests/ipv6loop.php on line 7 002+ Unable to bind to [::1]:31337 001- string(10) "ABCdef123 002- " ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/standard/tests/general_functions/proc_open02.phpt ================================================================================ bool(true) array(8) { ["command"]=> string(28) "/usr/bin/nohup /bin/sleep 50" ["pid"]=> int(15532) ["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(15532) ["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) ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/standard/tests/math/bug27646.phpt ================================================================================ float(12.3) string(54) "d:12.300000000000000710542735760100185871124267578125;" float(12.3) float(-12.3) string(55) "d:-12.300000000000000710542735760100185871124267578125;" float(-12.3) float(0) string(4) "d:0;" float(0) float(0) string(4) "d:0;" float(0) float(NAN) string(6) "d:NAN;" float(NAN) ================================================================================ 007+ float(0) 008+ string(4) "d:0;" 009+ float(0) 010+ float(0) 011+ string(4) "d:0;" 012+ float(0) 007- float(-INF) 008- string(7) "d:-INF;" 009- float(-INF) 010- float(INF) 011- string(6) "d:INF;" 012- float(INF) ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/standard/tests/strings/htmlentities02.phpt (warn: possibly braindead libc) ================================================================================ string(24) "&frac14;&frac12;&frac34;" ================================================================================ 001+ string(24) "&frac14;&frac12;&frac34;" 001- string(20) "&OElig;&oelig;&Yuml;" ================================================================================ ================================================================================ /export/install/php-5.2.4/ext/standard/tests/strings/moneyformat.phpt ================================================================================ string(6) "X3.14Y" Warning: money_format(): Only a single %i or %n token can be used in /export/install/php-5.2.4/ext/standard/tests/strings/moneyformat.php on line 4 bool(false) ================================================================================ 001+ string(6) "X3.14Y" 001- string(7) "X$3.14Y" ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: SunOS - SunOS unknown 5.10 Generic_118855-33 i86pc Autoconf: 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: N/A Compiler: Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77 Thread model: posix gcc version 3.4.6 Bison: Libraries: librt.so.1 => /lib/librt.so.1 libmysqlclient.so.15 => /opt/local/mysql/lib/mysql/libmysqlclient.so.15 libz.so.1 => /usr/local/lib/libz.so.1 libpthread.so.1 => /lib/libpthread.so.1 libthread.so.1 => /lib/libthread.so.1 libsocket.so.1 => /lib/libsocket.so.1 libnsl.so.1 => /lib/libnsl.so.1 libm.so.2 => /lib/libm.so.2 libintl.so.1 => /lib/libintl.so.1 libfreetype.so.6 => /opt/local/freetype2/lib/libfreetype.so.6 libpng.so.3 => /usr/lib/libpng.so.3 libjpeg.so.62 => /usr/lib/libjpeg.so.62 libssl.so.0.9.8 => /opt/local/ssl/lib/libssl.so.0.9.8 libcrypto.so.0.9.8 => /opt/local/ssl/lib/libcrypto.so.0.9.8 libcurl.so.4 => /opt/local/curl/lib/libcurl.so.4 libldap-2.3.so.0 => /opt/local/LDAP/lib/libldap-2.3.so.0 liblber-2.3.so.0 => /opt/local/LDAP/lib/liblber-2.3.so.0 libresolv.so.2 => /lib/libresolv.so.2 libgen.so.1 => /lib/libgen.so.1 libxml2.so.2 => /opt/local/libxml/lib/libxml2.so.2 libdl.so.1 => /lib/libdl.so.1 libiconv.so.2 => /usr/local/lib/libiconv.so.2 libc.so.1 => /lib/libc.so.1 libaio.so.1 => /lib/libaio.so.1 libmd5.so.1 => /lib/libmd5.so.1 libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 libmp.so.2 => /lib/libmp.so.2 libscf.so.1 => /lib/libscf.so.1 libz.so.1 (SUNW_1.1) => (version not found) libz.so.1 (SUNW_1.1) => (version not found) libldap.so.5 => /usr/lib/libldap.so.5 libz.so.1 (SUNW_1.1) => (version not found) libdoor.so.1 => /lib/libdoor.so.1 libuutil.so.1 => /lib/libuutil.so.1 libsasl.so.1 => /usr/lib/libsasl.so.1 libnspr4.so => /usr/lib/mps/libnspr4.so libplc4.so => /usr/lib/mps/libplc4.so libnss3.so => /usr/lib/mps/libnss3.so libssl3.so => /usr/lib/mps/libssl3.so libsoftokn3.so => /usr/lib/mps/libsoftokn3.so libplds4.so => /usr/lib/mps/libplds4.so libbsm.so.1 => /lib/libbsm.so.1 libsecdb.so.1 => /lib/libsecdb.so.1 libtsol.so.2 => /lib/libtsol.so.2 libcmd.so.1 => /lib/libcmd.so.1 User's E-mail: karzyg at umk dot pl ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.2.4 System => SunOS unknown 5.10 Generic_118855-33 i86pc Build Date => Oct 17 2007 14:33:43 Configure Command => './configure' '--prefix=/opt/local/php' '--with-gettext' '--enable-shared=yes' '--with-gd' '--with-jpeg-dir=/usr' '--with-zlib-dir=/usr' '--with-png-dir=/usr' '--with-ttf' '--with-freetype-dir=/opt/local/freetype2' '--enable-gd-native-ttf' '--with-iconv' '--with-ldap=/opt/local/LDAP' '--with-mysql=/opt/local/mysql' '--with-openssl=/opt/local/ssl' '--with-apxs2=/opt/local/apache/bin/apxs' '--with-curl=/opt/local/curl' '--enable-sockets' '--with-dom' '--enable-magic-quotes' '--enable-track-vars' '--enable-force-cgi-redirect' '--enable-ftp' '--with-mime-magic' '--enable-mbstring' '--with-mbstring=all' '--enable-memory-limit' '--with-libxml-dir=/opt/local/libxml' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /opt/local/php/lib 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 => enabled Registered PHP Streams => php, file, data, http, ftp, compress.zlib, 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, convert.iconv.*, zlib.* 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 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 => /opt/local/php/lib/php/extensions/no-debug-non-zts-20060613 => /opt/local/php/lib/php/extensions/no-debug-non-zts-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 => .:/opt/local/php/lib/php => .:/opt/local/php/lib/php 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 ctype ctype functions => enabled curl cURL support => enabled cURL Information => libcurl/7.17.0 OpenSSL/0.9.8e zlib/1.2.3 date date/time support => enabled "Olson" Timezone Database Version => 2007.6 Timezone Database => internal Default timezone => Poland 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 dom DOM/XML => enabled DOM/XML API Version => 20031129 libxml Version => 2.6.17 HTML Support => enabled XPath Support => enabled XPointer Support => enabled Schema Support => enabled RelaxNG Support => enabled filter Input Validation and Filtering => enabled Revision => $Revision: 1.52.2.39 $ Directive => Local Value => Master Value filter.default => unsafe_raw => unsafe_raw filter.default_flags => no value => no value ftp FTP support => enabled gd GD Support => enabled GD Version => bundled (2.0.34 compatible) FreeType Support => enabled FreeType Linkage => with freetype FreeType Version => 2.3.5 GIF Read Support => enabled GIF Create Support => enabled JPG Support => enabled PNG Support => enabled WBMP Support => enabled XBM Support => enabled gettext GetText Support => enabled hash hash support => enabled Hashing Engines => md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5 iconv iconv support => enabled iconv implementation => libiconv iconv library version => 1.11 Directive => Local Value => Master Value iconv.input_encoding => ISO-8859-1 => ISO-8859-1 iconv.internal_encoding => ISO-8859-1 => ISO-8859-1 iconv.output_encoding => ISO-8859-1 => ISO-8859-1 json json support => enabled json version => 1.2.1 ldap LDAP Support => enabled RCS Version => $Id: ldap.c,v 1.161.2.3.2.11 2007/07/17 09:09:42 jani Exp $ Total Links => 0/unlimited API Version => 3001 Vendor Name => OpenLDAP Vendor Version => 20332 libxml libXML support => active libXML Version => 2.6.17 libXML streams => enabled mbstring Multibyte Support => enabled Multibyte string engine => libmbfl Multibyte (japanese) regex support => enabled Multibyte regex (oniguruma) version => 4.4.4 Multibyte regex (oniguruma) backtrack check => On mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Directive => Local Value => Master Value mbstring.detect_order => no value => no value mbstring.encoding_translation => Off => Off mbstring.func_overload => 0 => 0 mbstring.http_input => pass => pass mbstring.http_output => pass => pass mbstring.internal_encoding => ISO-8859-1 => no value mbstring.language => neutral => neutral mbstring.strict_detection => Off => Off mbstring.substitute_character => no value => no value mime_magic mime_magic support => enabled Directive => Local Value => Master Value mime_magic.debug => Off => Off mime_magic.magicfile => /etc/apache/magic => /etc/apache/magic mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 5.0.27 MYSQL_MODULE_TYPE => external MYSQL_SOCKET => /tmp/mysql.sock MYSQL_INCLUDE => -I/opt/local/mysql/include/mysql MYSQL_LIBS => -L/opt/local/mysql/lib/mysql -lmysqlclient Directive => Local Value => Master Value mysql.allow_persistent => On => On mysql.connect_timeout => 60 => 60 mysql.default_host => no value => no value mysql.default_password => no value => no value mysql.default_port => no value => no value mysql.default_socket => no value => no value mysql.default_user => no value => no value mysql.max_links => Unlimited => Unlimited mysql.max_persistent => Unlimited => Unlimited mysql.trace_mode => Off => Off openssl OpenSSL support => enabled OpenSSL Version => OpenSSL 0.9.8e 23 Feb 2007 pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 7.2 2007-06-19 Directive => Local Value => Master Value pcre.backtrack_limit => 100000 => 100000 pcre.recursion_limit => 100000 => 100000 PDO PDO support => enabled PDO drivers => sqlite2, sqlite pdo_sqlite PDO Driver for SQLite 3.x => enabled PECL Module version => (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.2 2007/03/23 14:30:00 wez Exp $ SQLite Library => 3.3.17 posix Revision => $Revision: 1.70.2.3.2.16 $ Reflection Reflection => enabled Version => $Id: php_reflection.c,v 1.164.2.33.2.45 2007/08/20 17:01:22 sebastian Exp $ session Session Support => enabled Registered save handlers => files user sqlite Registered serializer handlers => php php_binary Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => On => On session.bug_compat_warn => On => On session.cache_expire => 180 => 180 session.cache_limiter => nocache => nocache session.cookie_domain => no value => no value session.cookie_httponly => Off => Off session.cookie_lifetime => 0 => 0 session.cookie_path => / => / session.cookie_secure => Off => Off session.entropy_file => no value => no value session.entropy_length => 0 => 0 session.gc_divisor => 100 => 100 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.hash_bits_per_character => 4 => 4 session.hash_function => 0 => 0 session.name => PHPSESSID => PHPSESSID session.referer_check => no value => no value session.save_handler => files => files session.save_path => no value => no value session.serialize_handler => php => php session.use_cookies => On => On session.use_only_cookies => Off => Off session.use_trans_sid => 0 => 0 SimpleXML Simplexml support => enabled Revision => $Revision: 1.151.2.22.2.35 $ Schema support => enabled sockets Sockets Support => enabled SPL SPL support => enabled Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException SQLite SQLite support => enabled PECL Module version => 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.9 2007/05/19 17:58:22 iliaa Exp $ SQLite Library => 2.8.17 SQLite Encoding => iso8859 Directive => Local Value => Master Value sqlite.assoc_case => 0 => 0 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 tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active libxml2 Version => 2.6.17 xmlreader XMLReader => enabled xmlwriter XMLWriter => enabled zlib ZLib Support => enabled Stream Wrapper support => compress.zlib:// Stream Filter support => zlib.inflate, zlib.deflate Compiled Version => 1.2.3 Linked Version => 1.2.3 Directive => Local Value => Master Value zlib.output_compression => Off => Off zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Additional Modules Module Name Environment Variable => Value CC => gcc DISPLAY => localhost:10.0 GROUP => root HOME => / HOST => unknown HOSTTYPE => i86pc LANG => pl_PL LC_COLLATE => pl_PL.UTF-8 LC_CTYPE => pl_PL.UTF-8 LC_MESSAGES => C LC_MONETARY => pl_PL.UTF-8 LC_NUMERIC => pl_PL.UTF-8 LDFLAGS => -L/opt/local/ssl/lib -Xlinker -R/opt/local/ssl/lib LD_LIBRARY_PATH => /usr/local/lib LOGNAME => root MACHTYPE => i386 MAIL => /var/mail//root MAKEFLAGS => MAKELEVEL => 1 MFLAGS => OSTYPE => solaris PATH => /usr/sbin:/usr/bin:/usr/local/bin PWD => /export/install/php-5.2.4 REMOTEHOST => gepard.uci.uni.torun.pl SHELL => /bin/tcsh SHLVL => 1 SSH_AUTH_SOCK => deleted SSH_CLIENT => deleted SSH_CONNECTION => deleted SSH_TTY => deleted TERM => xterm TEST_PHP_EXECUTABLE => /export/install/php-5.2.4/sapi/cli/php TEST_PHP_SRCDIR => /export/install/php-5.2.4 TZ => Poland USER => root VENDOR => sun PHP Variables Variable => Value _SERVER["CC"] => gcc _SERVER["DISPLAY"] => localhost:10.0 _SERVER["GROUP"] => root _SERVER["HOME"] => / _SERVER["HOST"] => unknown _SERVER["HOSTTYPE"] => i86pc _SERVER["LANG"] => pl_PL _SERVER["LC_COLLATE"] => pl_PL.UTF-8 _SERVER["LC_CTYPE"] => pl_PL.UTF-8 _SERVER["LC_MESSAGES"] => C _SERVER["LC_MONETARY"] => pl_PL.UTF-8 _SERVER["LC_NUMERIC"] => pl_PL.UTF-8 _SERVER["LDFLAGS"] => -L/opt/local/ssl/lib -Xlinker -R/opt/local/ssl/lib _SERVER["LD_LIBRARY_PATH"] => /usr/local/lib _SERVER["LOGNAME"] => root _SERVER["MACHTYPE"] => i386 _SERVER["MAIL"] => /var/mail//root _SERVER["MAKEFLAGS"] => _SERVER["MAKELEVEL"] => 1 _SERVER["MFLAGS"] => _SERVER["OSTYPE"] => solaris _SERVER["PATH"] => /usr/sbin:/usr/bin:/usr/local/bin _SERVER["PWD"] => /export/install/php-5.2.4 _SERVER["REMOTEHOST"] => gepard.uci.uni.torun.pl _SERVER["SHELL"] => /bin/tcsh _SERVER["SHLVL"] => 1 _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["SSH_CLIENT"] => deleted _SERVER["SSH_CONNECTION"] => deleted _SERVER["SSH_TTY"] => deleted _SERVER["TERM"] => xterm _SERVER["TEST_PHP_EXECUTABLE"] => /export/install/php-5.2.4/sapi/cli/php _SERVER["TEST_PHP_SRCDIR"] => /export/install/php-5.2.4 _SERVER["TZ"] => Poland _SERVER["USER"] => root _SERVER["VENDOR"] => sun _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["REQUEST_TIME"] => 1192625914 _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["CC"] => gcc _ENV["DISPLAY"] => localhost:10.0 _ENV["GROUP"] => root _ENV["HOME"] => / _ENV["HOST"] => unknown _ENV["HOSTTYPE"] => i86pc _ENV["LANG"] => pl_PL _ENV["LC_COLLATE"] => pl_PL.UTF-8 _ENV["LC_CTYPE"] => pl_PL.UTF-8 _ENV["LC_MESSAGES"] => C _ENV["LC_MONETARY"] => pl_PL.UTF-8 _ENV["LC_NUMERIC"] => pl_PL.UTF-8 _ENV["LDFLAGS"] => -L/opt/local/ssl/lib -Xlinker -R/opt/local/ssl/lib _ENV["LD_LIBRARY_PATH"] => /usr/local/lib _ENV["LOGNAME"] => root _ENV["MACHTYPE"] => i386 _ENV["MAIL"] => /var/mail//root _ENV["MAKEFLAGS"] => _ENV["MAKELEVEL"] => 1 _ENV["MFLAGS"] => _ENV["OSTYPE"] => solaris _ENV["PATH"] => /usr/sbin:/usr/bin:/usr/local/bin _ENV["PWD"] => /export/install/php-5.2.4 _ENV["REMOTEHOST"] => gepard.uci.uni.torun.pl _ENV["SHELL"] => /bin/tcsh _ENV["SHLVL"] => 1 _ENV["SSH_AUTH_SOCK"] => deleted _ENV["SSH_CLIENT"] => deleted _ENV["SSH_CONNECTION"] => deleted _ENV["SSH_TTY"] => deleted _ENV["TERM"] => xterm _ENV["TEST_PHP_EXECUTABLE"] => /export/install/php-5.2.4/sapi/cli/php _ENV["TEST_PHP_SRCDIR"] => /export/install/php-5.2.4 _ENV["TZ"] => Poland _ENV["USER"] => root _ENV["VENDOR"] => sun 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 (#50863) next »