Test results for 5.2.5 [failed]
| From: | noreply@php.net | Date: | Sat, 29 Dec 2007 07:34:09 +0000 |
| Subject: | Test results for 5.2.5 [failed] | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-57961@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
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]
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 : 73
Exts tested : 6
---------------------------------------------------------------------
Number of tests : 4466 2475
Tests skipped : 1991 ( 44.6%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 13 ( 0.3%) ( 0.5%)
Tests passed : 2462 ( 55.1%) ( 99.5%)
---------------------------------------------------------------------
Time taken : 186 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
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]
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/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1.phpt
================================================================================
*** Testing readlink() and realpath(): with valid and invalid path ***
-- Iteration 1 --
string(98)
"/root/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp"
string(103)
"/root/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp"
-- Iteration 2 --
string(103)
"/root/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp"
string(108)
"/root/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1_link.tmp"
-- Iteration 3 --
string(103)
"/root/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp"
string(103)
"/root/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp"
-- Iteration 4 --
string(98)
"/root/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp"
string(103)
"/root/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/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/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/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1.php on line 48
bool(false)
string(100)
"/root/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/..readlink_realpath_basic1_link.tmp"
-- Iteration 8 --
Warning: readlink(): Invalid argument in
/root/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1.php on line 48
bool(false)
string(103)
"/root/php-5.2.5/ext/standard/tests/file/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp"
Done
================================================================================
005+ string(103)
"/root/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(108)
"/root/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(103)
"/root/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/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(117)
"/root/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"
string(111)
"/root/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1/home/readlink_realpath_variation1_link.tmp"
bool(true)
string(117)
"/root/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"
string(77) "/root/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/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1.php on line 45
bool(false)
string(111)
"/root/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/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1.php on line 48
bool(false)
string(77) "/root/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation1_link.tmp"
Done
================================================================================
008+ string(111)
"/root/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(77)
"/root/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/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(117)
"/root/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2.tmp"
string(122)
"/root/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/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/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 30
bool(false)
bool(false)
Warning:
unlink(/root/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/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/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 40
bool(false)
string(122)
"/root/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/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/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 43
bool(false)
bool(false)
Warning:
unlink(/root/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/php-5.2.5/ext/standard/tests/file/readlink_realpath_variation2.php on line 48
Done
================================================================================
008+ string(122)
"/root/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/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(76217)
["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(76217)
["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/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/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/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/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/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/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/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 = 157
No of setlocale() success = 152
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/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/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/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 janeway 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #0: Thu Nov 29 04:22:49 UTC 2007
root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386
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:
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
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.
Compiler:
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
Bison:
Libraries:
/root/php-5.2.5/sapi/cli/php:
libcrypt.so.3 => /lib/libcrypt.so.3 (0x28282000)
libm.so.4 => /lib/libm.so.4 (0x2829a000)
libc.so.6 => /lib/libc.so.6 (0x282b0000)
User's E-mail: jedgainer at gmail dot com
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 5.2.5
System => FreeBSD janeway 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #0: Thu Nov 29 04:22:49 UTC 2007
root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386
Build Date => Dec 28 2007 23:26:16
Configure Command => './configure' '--prefix=/usr/local'
'--with-config-file-path=/usr/local/etc' '--enable-fastcgi'
'--enable-discard-path' '--enable-force-cgi-redirect' '--disable-all'
'--with-pcre-regex' '--enable-session' '--enable-exif'
'--enable-gd'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/etc
Loaded Configuration File => /usr/local/etc/php.ini
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
Registered Stream Socket Transports => tcp, udp, unix, udg
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
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => STDOUT => STDOUT
display_startup_errors => On => On
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 => 8191 => 8191
expose_php => On => On
extension_dir => /usr/local/lib/php/extensions/no-debug-non-zts-20060613 =>
/usr/local/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 => .: => .:
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 => 10485760 => 10485760
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 => 10485760 => 10485760
upload_tmp_dir => /tmp => /tmp
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
Strict Standards: Unknown: 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 'America/Los_Angeles' for
'PST/-8.0/no DST' instead in Unknown on line 0
Default timezone => America/Los_Angeles
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
exif
EXIF Support => enabled
EXIF Version => 1.4 $Id: exif.c,v 1.173.2.5.2.20 2007/06/10 20:12:45 iliaa Exp $
Supported EXIF Version => 0220
Supported filetypes => JPEG,TIFF
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 $
session
Session Support => enabled
Registered save handlers => files user
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
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
USER => root
SSH_CLIENT => deleted
MACHTYPE => i386
MAIL => /var/mail/root
VENDOR => intel
SHLVL => 1
HOME => /root
TEST_PHP_SRCDIR => /root/php-5.2.5
SSH_TTY => deleted
PAGER => more
GROUP => wheel
LOGNAME => root
TEST_PHP_EXECUTABLE => /root/php-5.2.5/sapi/cli/php
TERM => xterm
BLOCKSIZE => K
PATH =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
REMOTEHOST => 75.155.148.113
SSH_AUTH_SOCK => deleted
SHELL => /bin/csh
HOST => janeway
__MKLVL__ => 1
OSTYPE => FreeBSD
PWD => /root/php-5.2.5
SSH_CONNECTION => deleted
FTP_PASSIVE_MODE => YES
CC => gcc
HOSTTYPE => FreeBSD
EDITOR => vi
PHP Variables
Variable => Value
_SERVER["USER"] => root
_SERVER["SSH_CLIENT"] => deleted
_SERVER["MACHTYPE"] => i386
_SERVER["MAIL"] => /var/mail/root
_SERVER["VENDOR"] => intel
_SERVER["SHLVL"] => 1
_SERVER["HOME"] => /root
_SERVER["TEST_PHP_SRCDIR"] => /root/php-5.2.5
_SERVER["SSH_TTY"] => deleted
_SERVER["PAGER"] => more
_SERVER["GROUP"] => wheel
_SERVER["LOGNAME"] => root
_SERVER["TEST_PHP_EXECUTABLE"] => /root/php-5.2.5/sapi/cli/php
_SERVER["TERM"] => xterm
_SERVER["BLOCKSIZE"] => K
_SERVER["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
_SERVER["REMOTEHOST"] => 75.155.148.113
_SERVER["SSH_AUTH_SOCK"] => deleted
_SERVER["SHELL"] => /bin/csh
_SERVER["HOST"] => janeway
_SERVER["__MKLVL__"] => 1
_SERVER["OSTYPE"] => FreeBSD
_SERVER["PWD"] => /root/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"] => 1198913477
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["USER"] => root
_ENV["SSH_CLIENT"] => deleted
_ENV["MACHTYPE"] => i386
_ENV["MAIL"] => /var/mail/root
_ENV["VENDOR"] => intel
_ENV["SHLVL"] => 1
_ENV["HOME"] => /root
_ENV["TEST_PHP_SRCDIR"] => /root/php-5.2.5
_ENV["SSH_TTY"] => deleted
_ENV["PAGER"] => more
_ENV["GROUP"] => wheel
_ENV["LOGNAME"] => root
_ENV["TEST_PHP_EXECUTABLE"] => /root/php-5.2.5/sapi/cli/php
_ENV["TERM"] => xterm
_ENV["BLOCKSIZE"] => K
_ENV["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
_ENV["REMOTEHOST"] => 75.155.148.113
_ENV["SSH_AUTH_SOCK"] => deleted
_ENV["SHELL"] => /bin/csh
_ENV["HOST"] => janeway
_ENV["__MKLVL__"] => 1
_ENV["OSTYPE"] => FreeBSD
_ENV["PWD"] => /root/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.