Test results for 5.2.4 [failed]

From: Date: Tue, 16 Oct 2007 12:44:27 +0000
Subject: Test results for 5.2.4 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-50672@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt] JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json) [ext/json/tests/pass001.1.phpt] JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json) [ext/json/tests/pass001.phpt] Bug #41655 (open_basedir bypass via glob()) [ext/standard/tests/file/bug41655_1.phpt] Test strtolower() function [ext/standard/tests/strings/strtolower.phpt] Test strtoupper() function [ext/standard/tests/strings/strtoupper1.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 57 Exts tested : 22 --------------------------------------------------------------------- Number of tests : 3973 2515 Tests skipped : 1458 ( 36.7%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 6 ( 0.2%) ( 0.2%) Tests passed : 2509 ( 63.2%) ( 99.8%) --------------------------------------------------------------------- Time taken : 328 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt] JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json) [ext/json/tests/pass001.1.phpt] JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json) [ext/json/tests/pass001.phpt] Bug #41655 (open_basedir bypass via glob()) [ext/standard/tests/file/bug41655_1.phpt] Test strtolower() function [ext/standard/tests/strings/strtolower.phpt] Test strtoupper() function [ext/standard/tests/strings/strtoupper1.phpt] ===================================================================== ================================================================================ /tmp/download/php-5.2.4/ext/iconv/tests/iconv_stream_filter.phpt ================================================================================ string(20) "1b244224332473244b24" string(10) "41244f1b28" string(2) "42" string(20) "a4b3a4f3a4cba4c1a4cf" string(10) "69636f6e76" string(2) "0a" string(20) "1b244f24332466245824" string(10) "4e24421b28" string(2) "4f" ================================================================================ 007+ string(20) "1b244f24332466245824" 008+ string(10) "4e24421b28" 009+ string(2) "4f" 007- 008- Warning: fread(): iconv stream filter ("ISO-2022-JP"=>"EUC-JP"): invalid multibyte sequence in %s on line %d 009- string(0) "" 010- string(0) "" 011- string(0) "" ================================================================================ ================================================================================ /tmp/download/php-5.2.4/ext/json/tests/pass001.1.phpt ================================================================================ Testing: [ "JSON Test Pattern pass1", {"object with 1 member":["array with 1 element"]}, {}, [], -42, true, false, null, { "integer": 1234567890, "real": -9876.543210, "e": 0.123456789e-12, "E": 1.234567890E+34, "": 23456789012E666, "E no .": 4E12, "zero": 0, "one": 1, "space": " ", "quote": "\"", "backslash": "\\", "controls": "\b\f\n\r\t", "slash": "/ & \/", "alpha": "abcdefghijklmnopqrstuvwyz", "ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWYZ", "digit": "0123456789", "special": "`1~!@#$%^&*()_+-={':[,]}|;.</>?", "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A", "unicode": "\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8", "プレスキット": "プレスキット", "empty_string": "", "true": true, "false": false, "null": null, "array":[ ], "object":{ }, "123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}}, "address": "50 St. James Street", "url": "http://www.JSON.org/", "comment": "// /* <!-- --", "# -- --> */": " ", " s p a c e d " :[1,2 , 3 , 4 , 5 , 6 ,7 ], "compact": [1,2,3,4,5,6,7], "jsontext": "{\"object with 1 member\":[\"array with 1 element\"]}", "quotes": "&#34; \u0022 %22 0x22 034 &#x22;", "\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?" : "A key can be any string" }, 0.5 ,98.6 , 99.44 , 1066 ,"rosebud"] DECODE: AS OBJECT array(14) { [0]=> string(23) "JSON Test Pattern pass1" [1]=> object(stdClass)#1 (1) { ["object with 1 member"]=> array(1) { [0]=> string(20) "array with 1 element" } } [2]=> object(stdClass)#2 (0) { } [3]=> array(0) { } [4]=> int(-42) [5]=> bool(true) [6]=> bool(false) [7]=> NULL [8]=> object(stdClass)#3 (36) { ["integer"]=> int(1234567890) ["real"]=> float(-9876.54321) ["e"]=> float(1.23456789E-13) ["E"]=> float(1.23456789E+34) ["_empty_"]=> float(INF) ["E no ."]=> float(4000000000000) ["zero"]=> int(0) ["one"]=> int(1) ["space"]=> string(1) " " ["quote"]=> string(1) """ ["backslash"]=> string(1) "\" ["controls"]=> string(5) " " ["slash"]=> string(5) "/ & /" ["alpha"]=> string(25) "abcdefghijklmnopqrstuvwyz" ["ALPHA"]=> string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ" ["digit"]=> string(10) "0123456789" ["special"]=> string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?" ["hex"]=> string(17) "ģ䕧覫췯ꯍ" ["unicode"]=> string(18) "プレスキット" ["プレスキット"]=> string(18) "プレスキット" ["empty_string"]=> string(0) "" ["true"]=> bool(true) ["false"]=> bool(false) ["null"]=> NULL ["array"]=> array(0) { } ["object"]=> object(stdClass)#4 (0) { } ["123"]=> object(stdClass)#5 (1) { ["456"]=> object(stdClass)#6 (1) { ["abc"]=> object(stdClass)#7 (3) { ["789"]=> string(3) "def" ["012"]=> array(4) { [0]=> int(1) [1]=> int(2) [2]=> string(1) "5" [3]=> int(500) } ["ghi"]=> array(5) { [0]=> int(1) [1]=> int(2) [2]=> string(4) "five" [3]=> int(50) [4]=> string(5) "sixty" } } } } ["address"]=> string(19) "50 St. James Street" ["url"]=> string(20) "http://www.JSON.org/" ["comment"]=> string(13) "// /* <!-- --" ["# -- --> */"]=> string(1) " " [" s p a c e d "]=> array(7) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) } ["compact"]=> array(7) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) } ["jsontext"]=> string(49) "{"object with 1 member":["array with 1 element"]}" ["quotes"]=> string(27) "&#34; " %22 0x22 034 &#x22;" ["/\"쫾몾ꮘﳞ볚 `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> string(23) "A key can be any string" } [9]=> float(0.5) [10]=> float(98.6) [11]=> float(99.44) [12]=> int(1066) [13]=> string(7) "rosebud" } DECODE: AS ARRAY array(14) { [0]=> string(23) "JSON Test Pattern pass1" [1]=> array(1) { ["object with 1 member"]=> array(1) { [0]=> string(20) "array with 1 element" } } [2]=> array(0) { } [3]=> array(0) { } [4]=> int(-42) [5]=> bool(true) [6]=> bool(false) [7]=> NULL [8]=> array(36) { ["integer"]=> int(1234567890) ["real"]=> float(-9876.54321) ["e"]=> float(1.23456789E-13) ["E"]=> float(1.23456789E+34) [""]=> float(INF) ["E no ."]=> float(4000000000000) ["zero"]=> int(0) ["one"]=> int(1) ["space"]=> string(1) " " ["quote"]=> string(1) """ ["backslash"]=> string(1) "\" ["controls"]=> string(5) " " ["slash"]=> string(5) "/ & /" ["alpha"]=> string(25) "abcdefghijklmnopqrstuvwyz" ["ALPHA"]=> string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ" ["digit"]=> string(10) "0123456789" ["special"]=> string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?" ["hex"]=> string(17) "ģ䕧覫췯ꯍ" ["unicode"]=> string(18) "プレスキット" ["プレスキット"]=> string(18) "プレスキット" ["empty_string"]=> string(0) "" ["true"]=> bool(true) ["false"]=> bool(false) ["null"]=> NULL ["array"]=> array(0) { } ["object"]=> array(0) { } [123]=> array(1) { [456]=> array(1) { ["abc"]=> array(3) { [789]=> string(3) "def" ["012"]=> array(4) { [0]=> int(1) [1]=> int(2) [2]=> string(1) "5" [3]=> int(500) } ["ghi"]=> array(5) { [0]=> int(1) [1]=> int(2) [2]=> string(4) "five" [3]=> int(50) [4]=> string(5) "sixty" } } } } ["address"]=> string(19) "50 St. James Street" ["url"]=> string(20) "http://www.JSON.org/" ["comment"]=> string(13) "// /* <!-- --" ["# -- --> */"]=> string(1) " " [" s p a c e d "]=> array(7) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) } ["compact"]=> array(7) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) } ["jsontext"]=> string(49) "{"object with 1 member":["array with 1 element"]}" ["quotes"]=> string(27) "&#34; " %22 0x22 034 &#x22;" ["/\"쫾몾ꮘﳞ볚 `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> string(23) "A key can be any string" } [9]=> float(0.5) [10]=> float(98.6) [11]=> float(99.44) [12]=> int(1066) [13]=> string(7) "rosebud" } ENCODE: FROM OBJECT ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},{},[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_empty_":INF,"E no .":4000000000000,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","unicode":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","empty_string":"","true":true,"false":false,"null":null,"array":[],"object":{},"123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object wi! th 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] ENCODE: FROM ARRAY ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"":INF,"E no .":4000000000000,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","unicode":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","empty_string":"","true":true,"false":false,"null":null,"array":[],"object":[],"123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 me! mber\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] DECODE AGAIN: AS OBJECT NULL DECODE AGAIN: AS ARRAY NULL ================================================================================ 423+ ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},{},[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_empty_":INF,"E no .":4000000000000,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","unicode":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","empty_string":"","true":true,"false":false,"null":null,"array":[],"object":{},"123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"obje! ct with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] 423- ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},{},[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_empty_":0,"E no .":4000000000000,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","unicode":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","empty_string":"","true":true,"false":false,"null":null,"array":[],"object":{},"123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object! with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] 425+ ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"":INF,"E no .":4000000000000,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","unicode":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","empty_string":"","true":true,"false":false,"null":null,"array":[],"object":[],"123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with! 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] 425- ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"":0,"E no .":4000000000000,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","unicode":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","empty_string":"","true":true,"false":false,"null":null,"array":[],"object":[],"123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1! member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] 427+ NULL 428+ DECODE AGAIN: AS ARRAY 429+ NULL 427- array(14) { 428- [0]=> 429- string(23) "JSON Test Pattern pass1" 430- [1]=> 431- object(stdClass)#%d (1) { 432- ["object with 1 member"]=> 433- array(1) { 434- [0]=> 435- string(20) "array with 1 element" 436- } 437- } 438- [2]=> 439- object(stdClass)#%d (0) { 440- } 441- [3]=> 442- array(0) { 443- } 444- [4]=> 445- int(-42) 446- [5]=> 447- bool(true) 448- [6]=> 449- bool(false) 450- [7]=> 451- NULL 452- [8]=> 453- object(stdClass)#%d (36) { 454- ["integer"]=> 455- int(1234567890) 456- ["real"]=> 457- float(-9876.54321) 458- ["e"]=> 459- float(1.23456789E-13) 460- ["E"]=> 461- float(1.23456789E+34) 462- ["_empty_"]=> 463- int(0) 464- ["E no ."]=> 465- %s(4000000000000) 466- ["zero"]=> 467- int(0) 468- ["one"]=> 469- int(1) 470- ["space"]=> 471- string(1) " " 472- ["quote"]=> 473- string(1) """ 474- ["backslash"]=> 475- string(1) "\" 476- ["controls"]=> 477- string(5) " 478- " 479- ["slash"]=> 480- string(5) "/ & /" 481- ["alpha"]=> 482- string(25) "abcdefghijklmnopqrstuvwyz" 483- ["ALPHA"]=> 484- string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ" 485- ["digit"]=> 486- string(10) "0123456789" 487- ["special"]=> 488- string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?" 489- ["hex"]=> 490- string(17) "ģ䕧覫췯ꯍ" 491- ["unicode"]=> 492- string(18) "プレスキット" 493- ["プレスキット"]=> 494- string(18) "プレスキット" 495- ["empty_string"]=> 496- string(0) "" 497- ["true"]=> 498- bool(true) 499- ["false"]=> 500- bool(false) 501- ["null"]=> 502- NULL 503- ["array"]=> 504- array(0) { 505- } 506- ["object"]=> 507- object(stdClass)#%d (0) { 508- } 509- ["123"]=> 510- object(stdClass)#%d (1) { 511- ["456"]=> 512- object(stdClass)#%d (1) { 513- ["abc"]=> 514- object(stdClass)#%d (3) { 515- ["789"]=> 516- string(3) "def" 517- ["012"]=> 518- array(4) { 519- [0]=> 520- int(1) 521- [1]=> 522- int(2) 523- [2]=> 524- string(1) "5" 525- [3]=> 526- int(500) 527- } 528- ["ghi"]=> 529- array(5) { 530- [0]=> 531- int(1) 532- [1]=> 533- int(2) 534- [2]=> 535- string(4) "five" 536- [3]=> 537- int(50) 538- [4]=> 539- string(5) "sixty" 540- } 541- } 542- } 543- } 544- ["address"]=> 545- string(19) "50 St. James Street" 546- ["url"]=> 547- string(20) "http://www.JSON.org/" 548- ["comment"]=> 549- string(13) "// /* <!-- --" 550- ["# -- --> */"]=> 551- string(1) " " 552- [" s p a c e d "]=> 553- array(7) { 554- [0]=> 555- int(1) 556- [1]=> 557- int(2) 558- [2]=> 559- int(3) 560- [3]=> 561- int(4) 562- [4]=> 563- int(5) 564- [5]=> 565- int(6) 566- [6]=> 567- int(7) 568- } 569- ["compact"]=> 570- array(7) { 571- [0]=> 572- int(1) 573- [1]=> 574- int(2) 575- [2]=> 576- int(3) 577- [3]=> 578- int(4) 579- [4]=> 580- int(5) 581- [5]=> 582- int(6) 583- [6]=> 584- int(7) 585- } 586- ["jsontext"]=> 587- string(49) "{"object with 1 member":["array with 1 element"]}" 588- ["quotes"]=> 589- string(27) "&#34; " %22 0x22 034 &#x22;" 590- ["/\"쫾몾ꮘﳞ볚 591- `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> 592- string(23) "A key can be any string" 593- } 594- [9]=> 595- float(0.5) 596- [10]=> 597- float(98.6) 598- [11]=> 599- float(99.44) 600- [12]=> 601- int(1066) 602- [13]=> 603- string(7) "rosebud" 604- } 605- DECODE AGAIN: AS ARRAY 606- array(14) { 607- [0]=> 608- string(23) "JSON Test Pattern pass1" 609- [1]=> 610- array(1) { 611- ["object with 1 member"]=> 612- array(1) { 613- [0]=> 614- string(20) "array with 1 element" 615- } 616- } 617- [2]=> 618- array(0) { 619- } 620- [3]=> 621- array(0) { 622- } 623- [4]=> 624- int(-42) 625- [5]=> 626- bool(true) 627- [6]=> 628- bool(false) 629- [7]=> 630- NULL 631- [8]=> 632- array(36) { 633- ["integer"]=> 634- int(1234567890) 635- ["real"]=> 636- float(-9876.54321) 637- ["e"]=> 638- float(1.23456789E-13) 639- ["E"]=> 640- float(1.23456789E+34) 641- [""]=> 642- int(0) 643- ["E no ."]=> 644- %s(4000000000000) 645- ["zero"]=> 646- int(0) 647- ["one"]=> 648- int(1) 649- ["space"]=> 650- string(1) " " 651- ["quote"]=> 652- string(1) """ 653- ["backslash"]=> 654- string(1) "\" 655- ["controls"]=> 656- string(5) " 657- " 658- ["slash"]=> 659- string(5) "/ & /" 660- ["alpha"]=> 661- string(25) "abcdefghijklmnopqrstuvwyz" 662- ["ALPHA"]=> 663- string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ" 664- ["digit"]=> 665- string(10) "0123456789" 666- ["special"]=> 667- string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?" 668- ["hex"]=> 669- string(17) "ģ䕧覫췯ꯍ" 670- ["unicode"]=> 671- string(18) "プレスキット" 672- ["プレスキット"]=> 673- string(18) "プレスキット" 674- ["empty_string"]=> 675- string(0) "" 676- ["true"]=> 677- bool(true) 678- ["false"]=> 679- bool(false) 680- ["null"]=> 681- NULL 682- ["array"]=> 683- array(0) { 684- } 685- ["object"]=> 686- array(0) { 687- } 688- [123]=> 689- array(1) { 690- [456]=> 691- array(1) { 692- ["abc"]=> 693- array(3) { 694- [789]=> 695- string(3) "def" 696- ["012"]=> 697- array(4) { 698- [0]=> 699- int(1) 700- [1]=> 701- int(2) 702- [2]=> 703- string(1) "5" 704- [3]=> 705- int(500) 706- } 707- ["ghi"]=> 708- array(5) { 709- [0]=> 710- int(1) 711- [1]=> 712- int(2) 713- [2]=> 714- string(4) "five" 715- [3]=> 716- int(50) 717- [4]=> 718- string(5) "sixty" 719- } 720- } 721- } 722- } 723- ["address"]=> 724- string(19) "50 St. James Street" 725- ["url"]=> 726- string(20) "http://www.JSON.org/" 727- ["comment"]=> 728- string(13) "// /* <!-- --" 729- ["# -- --> */"]=> 730- string(1) " " 731- [" s p a c e d "]=> 732- array(7) { 733- [0]=> 734- int(1) 735- [1]=> 736- int(2) 737- [2]=> 738- int(3) 739- [3]=> 740- int(4) 741- [4]=> 742- int(5) 743- [5]=> 744- int(6) 745- [6]=> 746- int(7) 747- } 748- ["compact"]=> 749- array(7) { 750- [0]=> 751- int(1) 752- [1]=> 753- int(2) 754- [2]=> 755- int(3) 756- [3]=> 757- int(4) 758- [4]=> 759- int(5) 760- [5]=> 761- int(6) 762- [6]=> 763- int(7) 764- } 765- ["jsontext"]=> 766- string(49) "{"object with 1 member":["array with 1 element"]}" 767- ["quotes"]=> 768- string(27) "&#34; " %22 0x22 034 &#x22;" 769- ["/\"쫾몾ꮘﳞ볚 770- `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> 771- string(23) "A key can be any string" 772- } 773- [9]=> 774- float(0.5) 775- [10]=> 776- float(98.6) 777- [11]=> 778- float(99.44) 779- [12]=> 780- int(1066) 781- [13]=> 782- string(7) "rosebud" 783- } ================================================================================ ================================================================================ /tmp/download/php-5.2.4/ext/json/tests/pass001.phpt ================================================================================ Testing: [ "JSON Test Pattern pass1", {"object with 1 member":["array with 1 element"]}, {}, [], -42, true, false, null, { "integer": 1234567890, "real": -9876.543210, "e": 0.123456789e-12, "E": 1.234567890E+34, "": 23456789012E666, "zero": 0, "one": 1, "space": " ", "quote": "\"", "backslash": "\\", "controls": "\b\f\n\r\t", "slash": "/ & \/", "alpha": "abcdefghijklmnopqrstuvwyz", "ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWYZ", "digit": "0123456789", "special": "`1~!@#$%^&*()_+-={':[,]}|;.</>?", "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A", "true": true, "false": false, "null": null, "array":[ ], "object":{ }, "address": "50 St. James Street", "url": "http://www.JSON.org/", "comment": "// /* <!-- --", "# -- --> */": " ", " s p a c e d " :[1,2 , 3 , 4 , 5 , 6 ,7 ], "compact": [1,2,3,4,5,6,7], "jsontext": "{\"object with 1 member\":[\"array with 1 element\"]}", "quotes": "&#34; \u0022 %22 0x22 034 &#x22;", "\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?" : "A key can be any string" }, 0.5 ,98.6 , 99.44 , 1066 ,"rosebud"] DECODE: AS OBJECT array(14) { [0]=> string(23) "JSON Test Pattern pass1" [1]=> object(stdClass)#1 (1) { ["object with 1 member"]=> array(1) { [0]=> string(20) "array with 1 element" } } [2]=> object(stdClass)#2 (0) { } [3]=> array(0) { } [4]=> int(-42) [5]=> bool(true) [6]=> bool(false) [7]=> NULL [8]=> object(stdClass)#3 (31) { ["integer"]=> int(1234567890) ["real"]=> float(-9876.54321) ["e"]=> float(1.23456789E-13) ["E"]=> float(1.23456789E+34) ["_empty_"]=> float(INF) ["zero"]=> int(0) ["one"]=> int(1) ["space"]=> string(1) " " ["quote"]=> string(1) """ ["backslash"]=> string(1) "\" ["controls"]=> string(5) " " ["slash"]=> string(5) "/ & /" ["alpha"]=> string(25) "abcdefghijklmnopqrstuvwyz" ["ALPHA"]=> string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ" ["digit"]=> string(10) "0123456789" ["special"]=> string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?" ["hex"]=> string(17) "ģ䕧覫췯ꯍ" ["true"]=> bool(true) ["false"]=> bool(false) ["null"]=> NULL ["array"]=> array(0) { } ["object"]=> object(stdClass)#4 (0) { } ["address"]=> string(19) "50 St. James Street" ["url"]=> string(20) "http://www.JSON.org/" ["comment"]=> string(13) "// /* <!-- --" ["# -- --> */"]=> string(1) " " [" s p a c e d "]=> array(7) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) } ["compact"]=> array(7) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) } ["jsontext"]=> string(49) "{"object with 1 member":["array with 1 element"]}" ["quotes"]=> string(27) "&#34; " %22 0x22 034 &#x22;" ["/\"쫾몾ꮘﳞ볚 `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> string(23) "A key can be any string" } [9]=> float(0.5) [10]=> float(98.6) [11]=> float(99.44) [12]=> int(1066) [13]=> string(7) "rosebud" } DECODE: AS ARRAY array(14) { [0]=> string(23) "JSON Test Pattern pass1" [1]=> array(1) { ["object with 1 member"]=> array(1) { [0]=> string(20) "array with 1 element" } } [2]=> array(0) { } [3]=> array(0) { } [4]=> int(-42) [5]=> bool(true) [6]=> bool(false) [7]=> NULL [8]=> array(31) { ["integer"]=> int(1234567890) ["real"]=> float(-9876.54321) ["e"]=> float(1.23456789E-13) ["E"]=> float(1.23456789E+34) [""]=> float(INF) ["zero"]=> int(0) ["one"]=> int(1) ["space"]=> string(1) " " ["quote"]=> string(1) """ ["backslash"]=> string(1) "\" ["controls"]=> string(5) " " ["slash"]=> string(5) "/ & /" ["alpha"]=> string(25) "abcdefghijklmnopqrstuvwyz" ["ALPHA"]=> string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ" ["digit"]=> string(10) "0123456789" ["special"]=> string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?" ["hex"]=> string(17) "ģ䕧覫췯ꯍ" ["true"]=> bool(true) ["false"]=> bool(false) ["null"]=> NULL ["array"]=> array(0) { } ["object"]=> array(0) { } ["address"]=> string(19) "50 St. James Street" ["url"]=> string(20) "http://www.JSON.org/" ["comment"]=> string(13) "// /* <!-- --" ["# -- --> */"]=> string(1) " " [" s p a c e d "]=> array(7) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) } ["compact"]=> array(7) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) } ["jsontext"]=> string(49) "{"object with 1 member":["array with 1 element"]}" ["quotes"]=> string(27) "&#34; " %22 0x22 034 &#x22;" ["/\"쫾몾ꮘﳞ볚 `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> string(23) "A key can be any string" } [9]=> float(0.5) [10]=> float(98.6) [11]=> float(99.44) [12]=> int(1066) [13]=> string(7) "rosebud" } ENCODE: FROM OBJECT ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},{},[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_empty_":INF,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","true":true,"false":false,"null":null,"array":[],"object":{},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] ENCODE: FROM ARRAY ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"":INF,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","true":true,"false":false,"null":null,"array":[],"object":[],"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] DECODE AGAIN: AS OBJECT NULL DECODE AGAIN: AS ARRAY NULL ================================================================================ 332+ ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},{},[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_empty_":INF,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","true":true,"false":false,"null":null,"array":[],"object":{},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] 332- ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},{},[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_empty_":0,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","true":true,"false":false,"null":null,"array":[],"object":{},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] 334+ ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"":INF,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","true":true,"false":false,"null":null,"array":[],"object":[],"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] 334- ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"":0,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","true":true,"false":false,"null":null,"array":[],"object":[],"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] 336+ NULL 337+ DECODE AGAIN: AS ARRAY 338+ NULL 336- array(14) { 337- [0]=> 338- string(23) "JSON Test Pattern pass1" 339- [1]=> 340- object(stdClass)#5 (1) { 341- ["object with 1 member"]=> 342- array(1) { 343- [0]=> 344- string(20) "array with 1 element" 345- } 346- } 347- [2]=> 348- object(stdClass)#6 (0) { 349- } 350- [3]=> 351- array(0) { 352- } 353- [4]=> 354- int(-42) 355- [5]=> 356- bool(true) 357- [6]=> 358- bool(false) 359- [7]=> 360- NULL 361- [8]=> 362- object(stdClass)#7 (31) { 363- ["integer"]=> 364- int(1234567890) 365- ["real"]=> 366- float(-9876.54321) 367- ["e"]=> 368- float(1.23456789E-13) 369- ["E"]=> 370- float(1.23456789E+34) 371- ["_empty_"]=> 372- int(0) 373- ["zero"]=> 374- int(0) 375- ["one"]=> 376- int(1) 377- ["space"]=> 378- string(1) " " 379- ["quote"]=> 380- string(1) """ 381- ["backslash"]=> 382- string(1) "\" 383- ["controls"]=> 384- string(5) " 385- " 386- ["slash"]=> 387- string(5) "/ & /" 388- ["alpha"]=> 389- string(25) "abcdefghijklmnopqrstuvwyz" 390- ["ALPHA"]=> 391- string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ" 392- ["digit"]=> 393- string(10) "0123456789" 394- ["special"]=> 395- string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?" 396- ["hex"]=> 397- string(17) "ģ䕧覫췯ꯍ" 398- ["true"]=> 399- bool(true) 400- ["false"]=> 401- bool(false) 402- ["null"]=> 403- NULL 404- ["array"]=> 405- array(0) { 406- } 407- ["object"]=> 408- object(stdClass)#8 (0) { 409- } 410- ["address"]=> 411- string(19) "50 St. James Street" 412- ["url"]=> 413- string(20) "http://www.JSON.org/" 414- ["comment"]=> 415- string(13) "// /* <!-- --" 416- ["# -- --> */"]=> 417- string(1) " " 418- [" s p a c e d "]=> 419- array(7) { 420- [0]=> 421- int(1) 422- [1]=> 423- int(2) 424- [2]=> 425- int(3) 426- [3]=> 427- int(4) 428- [4]=> 429- int(5) 430- [5]=> 431- int(6) 432- [6]=> 433- int(7) 434- } 435- ["compact"]=> 436- array(7) { 437- [0]=> 438- int(1) 439- [1]=> 440- int(2) 441- [2]=> 442- int(3) 443- [3]=> 444- int(4) 445- [4]=> 446- int(5) 447- [5]=> 448- int(6) 449- [6]=> 450- int(7) 451- } 452- ["jsontext"]=> 453- string(49) "{"object with 1 member":["array with 1 element"]}" 454- ["quotes"]=> 455- string(27) "&#34; " %22 0x22 034 &#x22;" 456- ["/\"쫾몾ꮘﳞ볚 457- `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> 458- string(23) "A key can be any string" 459- } 460- [9]=> 461- float(0.5) 462- [10]=> 463- float(98.6) 464- [11]=> 465- float(99.44) 466- [12]=> 467- int(1066) 468- [13]=> 469- string(7) "rosebud" 470- } 471- DECODE AGAIN: AS ARRAY 472- array(14) { 473- [0]=> 474- string(23) "JSON Test Pattern pass1" 475- [1]=> 476- array(1) { 477- ["object with 1 member"]=> 478- array(1) { 479- [0]=> 480- string(20) "array with 1 element" 481- } 482- } 483- [2]=> 484- array(0) { 485- } 486- [3]=> 487- array(0) { 488- } 489- [4]=> 490- int(-42) 491- [5]=> 492- bool(true) 493- [6]=> 494- bool(false) 495- [7]=> 496- NULL 497- [8]=> 498- array(31) { 499- ["integer"]=> 500- int(1234567890) 501- ["real"]=> 502- float(-9876.54321) 503- ["e"]=> 504- float(1.23456789E-13) 505- ["E"]=> 506- float(1.23456789E+34) 507- [""]=> 508- int(0) 509- ["zero"]=> 510- int(0) 511- ["one"]=> 512- int(1) 513- ["space"]=> 514- string(1) " " 515- ["quote"]=> 516- string(1) """ 517- ["backslash"]=> 518- string(1) "\" 519- ["controls"]=> 520- string(5) " 521- " 522- ["slash"]=> 523- string(5) "/ & /" 524- ["alpha"]=> 525- string(25) "abcdefghijklmnopqrstuvwyz" 526- ["ALPHA"]=> 527- string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ" 528- ["digit"]=> 529- string(10) "0123456789" 530- ["special"]=> 531- string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?" 532- ["hex"]=> 533- string(17) "ģ䕧覫췯ꯍ" 534- ["true"]=> 535- bool(true) 536- ["false"]=> 537- bool(false) 538- ["null"]=> 539- NULL 540- ["array"]=> 541- array(0) { 542- } 543- ["object"]=> 544- array(0) { 545- } 546- ["address"]=> 547- string(19) "50 St. James Street" 548- ["url"]=> 549- string(20) "http://www.JSON.org/" 550- ["comment"]=> 551- string(13) "// /* <!-- --" 552- ["# -- --> */"]=> 553- string(1) " " 554- [" s p a c e d "]=> 555- array(7) { 556- [0]=> 557- int(1) 558- [1]=> 559- int(2) 560- [2]=> 561- int(3) 562- [3]=> 563- int(4) 564- [4]=> 565- int(5) 566- [5]=> 567- int(6) 568- [6]=> 569- int(7) 570- } 571- ["compact"]=> 572- array(7) { 573- [0]=> 574- int(1) 575- [1]=> 576- int(2) 577- [2]=> 578- int(3) 579- [3]=> 580- int(4) 581- [4]=> 582- int(5) 583- [5]=> 584- int(6) 585- [6]=> 586- int(7) 587- } 588- ["jsontext"]=> 589- string(49) "{"object with 1 member":["array with 1 element"]}" 590- ["quotes"]=> 591- string(27) "&#34; " %22 0x22 034 &#x22;" 592- ["/\"쫾몾ꮘﳞ볚 593- `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> 594- string(23) "A key can be any string" 595- } 596- [9]=> 597- float(0.5) 598- [10]=> 599- float(98.6) 600- [11]=> 601- float(99.44) 602- [12]=> 603- int(1066) 604- [13]=> 605- string(7) "rosebud" 606- } ================================================================================ ================================================================================ /tmp/download/php-5.2.4/ext/standard/tests/file/bug41655_1.phpt ================================================================================ ================================================================================ 001+ 001- Warning: glob(): open_basedir restriction in effect. File%s.) is not within the allowed path(s): (/tmp) in %s on line %d ================================================================================ ================================================================================ /tmp/download/php-5.2.4/ext/standard/tests/strings/strtolower.phpt ================================================================================ *** Testing strtolower() with all 256 chars *** 00 => 00 01 => 01 02 => 02 03 => 03 04 => 04 05 => 05 06 => 06 07 => 07 08 => 08 09 => 09 0a => 0a 0b => 0b 0c => 0c 0d => 0d 0e => 0e 0f => 0f 10 => 10 11 => 11 12 => 12 13 => 13 14 => 14 15 => 15 16 => 16 17 => 17 18 => 18 19 => 19 1a => 1a 1b => 1b 1c => 1c 1d => 1d 1e => 1e 1f => 1f 20 => 20 21 => 21 22 => 22 23 => 23 24 => 24 25 => 25 26 => 26 27 => 27 28 => 28 29 => 29 2a => 2a 2b => 2b 2c => 2c 2d => 2d 2e => 2e 2f => 2f 30 => 30 31 => 31 32 => 32 33 => 33 34 => 34 35 => 35 36 => 36 37 => 37 38 => 38 39 => 39 3a => 3a 3b => 3b 3c => 3c 3d => 3d 3e => 3e 3f => 3f 40 => 40 41 => 61 42 => 62 43 => 63 44 => 64 45 => 65 46 => 66 47 => 67 48 => 68 49 => 69 4a => 6a 4b => 6b 4c => 6c 4d => 6d 4e => 6e 4f => 6f 50 => 70 51 => 71 52 => 72 53 => 73 54 => 74 55 => 75 56 => 76 57 => 77 58 => 78 59 => 79 5a => 7a 5b => 5b 5c => 5c 5d => 5d 5e => 5e 5f => 5f 60 => 60 61 => 61 62 => 62 63 => 63 64 => 64 65 => 65 66 => 66 67 => 67 68 => 68 69 => 69 6a => 6a 6b => 6b 6c => 6c 6d => 6d 6e => 6e 6f => 6f 70 => 70 71 => 71 72 => 72 73 => 73 74 => 74 75 => 75 76 => 76 77 => 77 78 => 78 79 => 79 7a => 7a 7b => 7b 7c => 7c 7d => 7d 7e => 7e 7f => 7f 80 => 80 81 => 81 82 => 82 83 => 83 84 => 84 85 => 85 86 => 86 87 => 87 88 => 88 89 => 89 8a => 8a 8b => 8b 8c => 8c 8d => 8d 8e => 8e 8f => 8f 90 => 90 91 => 91 92 => 92 93 => 93 94 => 94 95 => 95 96 => 96 97 => 97 98 => 98 99 => 99 9a => 9a 9b => 9b 9c => 9c 9d => 9d 9e => 9e 9f => 9f a0 => a0 a1 => a1 a2 => a2 a3 => a3 a4 => a4 a5 => a5 a6 => a8 a7 => a7 a8 => a8 a9 => a9 aa => aa ab => ab ac => ac ad => ad ae => ae af => af b0 => b0 b1 => b1 b2 => b2 b3 => b3 b4 => b8 b5 => b5 b6 => b6 b7 => b7 b8 => b8 b9 => b9 ba => ba bb => bb bc => bd bd => bd be => ff bf => bf c0 => e0 c1 => e1 c2 => e2 c3 => e3 c4 => e4 c5 => e5 c6 => e6 c7 => e7 c8 => e8 c9 => e9 ca => ea cb => eb cc => ec cd => ed ce => ee cf => ef d0 => f0 d1 => f1 d2 => f2 d3 => f3 d4 => f4 d5 => f5 d6 => f6 d7 => d7 d8 => f8 d9 => f9 da => fa db => fb dc => fc dd => fd de => fe df => df e0 => e0 e1 => e1 e2 => e2 e3 => e3 e4 => e4 e5 => e5 e6 => e6 e7 => e7 e8 => e8 e9 => e9 ea => ea eb => eb ec => ec ed => ed ee => ee ef => ef f0 => f0 f1 => f1 f2 => f2 f3 => f3 f4 => f4 f5 => f5 f6 => f6 f7 => f7 f8 => f8 f9 => f9 fa => fa fb => fb fc => fc fd => fd fe => fe ff => ff *** Testing strlower() with basic strings *** string(43) "mary had a little lamb and she loved it so " *** Testing strtolower() with various strings *** -- Iteration 0 -- string(0) "" -- Iteration 1 -- string(6) "string" -- Iteration 2 -- string(10) "string0234" -- Iteration 3 -- string(20) "1.233.344string12333" -- Iteration 4 -- string(31) "$$$$$$!!!!@@@@@@@ abcdef !!!***" -- Iteration 5 -- string(13) "abcd[0x0]abcdabcd" -- Iteration 6 -- string(0) "" -- Iteration 7 -- string(1) "1" -- Iteration 8 -- string(0) "" -- Iteration 9 -- Notice: Array to string conversion in /tmp/download/php-5.2.4/ext/standard/tests/strings/strtolower.php on line 37 string(5) "array" *** Testing strtolower() with two different case strings *** strings are same, with Case Insensitive *** Testing error conditions *** Warning: Wrong parameter count for strtolower() in /tmp/download/php-5.2.4/ext/standard/tests/strings/strtolower.php on line 48 NULL Warning: Wrong parameter count for strtolower() in /tmp/download/php-5.2.4/ext/standard/tests/strings/strtolower.php on line 49 NULL *** Done *** ================================================================================ 168+ a6 => a8 168- a6 => a6 182+ b4 => b8 182- b4 => b4 190+ bc => bd 190- bc => bc 192+ be => ff 192- be => be 194+ c0 => e0 195+ c1 => e1 196+ c2 => e2 197+ c3 => e3 198+ c4 => e4 199+ c5 => e5 200+ c6 => e6 201+ c7 => e7 202+ c8 => e8 203+ c9 => e9 204+ ca => ea 205+ cb => eb 206+ cc => ec 207+ cd => ed 208+ ce => ee 209+ cf => ef 210+ d0 => f0 211+ d1 => f1 212+ d2 => f2 213+ d3 => f3 214+ d4 => f4 215+ d5 => f5 216+ d6 => f6 194- c0 => c0 195- c1 => c1 196- c2 => c2 197- c3 => c3 198- c4 => c4 199- c5 => c5 200- c6 => c6 201- c7 => c7 202- c8 => c8 203- c9 => c9 204- ca => ca 205- cb => cb 206- cc => cc 207- cd => cd 208- ce => ce 209- cf => cf 210- d0 => d0 211- d1 => d1 212- d2 => d2 213- d3 => d3 214- d4 => d4 215- d5 => d5 216- d6 => d6 218+ d8 => f8 219+ d9 => f9 220+ da => fa 221+ db => fb 222+ dc => fc 223+ dd => fd 224+ de => fe 218- d8 => d8 219- d9 => d9 220- da => da 221- db => db 222- dc => dc 223- dd => dd 224- de => de ================================================================================ ================================================================================ /tmp/download/php-5.2.4/ext/standard/tests/strings/strtoupper1.phpt ================================================================================ *** Testing strtoupper() with all 256 chars *** 00 => 00 01 => 01 02 => 02 03 => 03 04 => 04 05 => 05 06 => 06 07 => 07 08 => 08 09 => 09 0a => 0a 0b => 0b 0c => 0c 0d => 0d 0e => 0e 0f => 0f 10 => 10 11 => 11 12 => 12 13 => 13 14 => 14 15 => 15 16 => 16 17 => 17 18 => 18 19 => 19 1a => 1a 1b => 1b 1c => 1c 1d => 1d 1e => 1e 1f => 1f 20 => 20 21 => 21 22 => 22 23 => 23 24 => 24 25 => 25 26 => 26 27 => 27 28 => 28 29 => 29 2a => 2a 2b => 2b 2c => 2c 2d => 2d 2e => 2e 2f => 2f 30 => 30 31 => 31 32 => 32 33 => 33 34 => 34 35 => 35 36 => 36 37 => 37 38 => 38 39 => 39 3a => 3a 3b => 3b 3c => 3c 3d => 3d 3e => 3e 3f => 3f 40 => 40 41 => 41 42 => 42 43 => 43 44 => 44 45 => 45 46 => 46 47 => 47 48 => 48 49 => 49 4a => 4a 4b => 4b 4c => 4c 4d => 4d 4e => 4e 4f => 4f 50 => 50 51 => 51 52 => 52 53 => 53 54 => 54 55 => 55 56 => 56 57 => 57 58 => 58 59 => 59 5a => 5a 5b => 5b 5c => 5c 5d => 5d 5e => 5e 5f => 5f 60 => 60 61 => 41 62 => 42 63 => 43 64 => 44 65 => 45 66 => 46 67 => 47 68 => 48 69 => 49 6a => 4a 6b => 4b 6c => 4c 6d => 4d 6e => 4e 6f => 4f 70 => 50 71 => 51 72 => 52 73 => 53 74 => 54 75 => 55 76 => 56 77 => 57 78 => 58 79 => 59 7a => 5a 7b => 7b 7c => 7c 7d => 7d 7e => 7e 7f => 7f 80 => 80 81 => 81 82 => 82 83 => 83 84 => 84 85 => 85 86 => 86 87 => 87 88 => 88 89 => 89 8a => 8a 8b => 8b 8c => 8c 8d => 8d 8e => 8e 8f => 8f 90 => 90 91 => 91 92 => 92 93 => 93 94 => 94 95 => 95 96 => 96 97 => 97 98 => 98 99 => 99 9a => 9a 9b => 9b 9c => 9c 9d => 9d 9e => 9e 9f => 9f a0 => a0 a1 => a1 a2 => a2 a3 => a3 a4 => a4 a5 => a5 a6 => a6 a7 => a7 a8 => a6 a9 => a9 aa => aa ab => ab ac => ac ad => ad ae => ae af => af b0 => b0 b1 => b1 b2 => b2 b3 => b3 b4 => b4 b5 => b5 b6 => b6 b7 => b7 b8 => b4 b9 => b9 ba => ba bb => bb bc => bc bd => bc be => be bf => bf c0 => c0 c1 => c1 c2 => c2 c3 => c3 c4 => c4 c5 => c5 c6 => c6 c7 => c7 c8 => c8 c9 => c9 ca => ca cb => cb cc => cc cd => cd ce => ce cf => cf d0 => d0 d1 => d1 d2 => d2 d3 => d3 d4 => d4 d5 => d5 d6 => d6 d7 => d7 d8 => d8 d9 => d9 da => da db => db dc => dc dd => dd de => de df => df e0 => c0 e1 => c1 e2 => c2 e3 => c3 e4 => c4 e5 => c5 e6 => c6 e7 => c7 e8 => c8 e9 => c9 ea => ca eb => cb ec => cc ed => cd ee => ce ef => cf f0 => d0 f1 => d1 f2 => d2 f3 => d3 f4 => d4 f5 => d5 f6 => d6 f7 => f7 f8 => d8 f9 => d9 fa => da fb => db fc => dc fd => dd fe => de ff => be *** Testing strtoupper() with basic strings *** string(43) "MARY HAD A LITTLE LAMB AND SHE LOVED IT SO " *** Testing strtoupper() with various strings *** -- Iteration 0 -- string(0) "" -- Iteration 1 -- string(6) "STRING" -- Iteration 2 -- string(10) "STRING0234" -- Iteration 3 -- string(20) "1.233.344STRING12333" -- Iteration 4 -- string(31) "$$$$$$!!!!@@@@@@@ ABCDEF !!!***" -- Iteration 5 -- string(13) "ABCD[0x0]ABCDABCD" -- Iteration 6 -- string(0) "" -- Iteration 7 -- string(1) "1" -- Iteration 8 -- string(0) "" -- Iteration 9 -- Notice: Array to string conversion in /tmp/download/php-5.2.4/ext/standard/tests/strings/strtoupper1.php on line 37 string(5) "ARRAY" *** Testing strtoupper() with two different case strings *** strings are same, with Case Insensitive *** Testing error conditions *** Warning: Wrong parameter count for strtoupper() in /tmp/download/php-5.2.4/ext/standard/tests/strings/strtoupper1.php on line 48 NULL Warning: Wrong parameter count for strtoupper() in /tmp/download/php-5.2.4/ext/standard/tests/strings/strtoupper1.php on line 49 NULL *** Done *** ================================================================================ 170+ a8 => a6 170- a8 => a8 186+ b8 => b4 186- b8 => b8 191+ bd => bc 191- bd => bd 226+ e0 => c0 227+ e1 => c1 228+ e2 => c2 229+ e3 => c3 230+ e4 => c4 231+ e5 => c5 232+ e6 => c6 233+ e7 => c7 234+ e8 => c8 235+ e9 => c9 236+ ea => ca 237+ eb => cb 238+ ec => cc 239+ ed => cd 240+ ee => ce 241+ ef => cf 242+ f0 => d0 243+ f1 => d1 244+ f2 => d2 245+ f3 => d3 246+ f4 => d4 247+ f5 => d5 248+ f6 => d6 226- e0 => e0 227- e1 => e1 228- e2 => e2 229- e3 => e3 230- e4 => e4 231- e5 => e5 232- e6 => e6 233- e7 => e7 234- e8 => e8 235- e9 => e9 236- ea => ea 237- eb => eb 238- ec => ec 239- ed => ed 240- ee => ee 241- ef => ef 242- f0 => f0 243- f1 => f1 244- f2 => f2 245- f3 => f3 246- f4 => f4 247- f5 => f5 248- f6 => f6 250+ f8 => d8 251+ f9 => d9 252+ fa => da 253+ fb => db 254+ fc => dc 255+ fd => dd 256+ fe => de 257+ ff => be 250- f8 => f8 251- f9 => f9 252- fa => fa 253- fb => fb 254- fc => fc 255- fd => fd 256- fe => fe 257- ff => ff ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux - Linux h3954 2.4.29 #1 SMP Sun Jan 23 01:46:59 CET 2005 i686 Autoconf: autoconf (GNU Autoconf) 2.53 Written by David J. MacKenzie and Akim Demaille. Copyright 2002 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. 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.4.2 (1.922.2.54 2001/09/11 03:33:37) Compiler: Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.2/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux Thread model: posix gcc version 3.2 Bison: bison (GNU Bison) 1.35 Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002 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: libcrypt.so.1 => /lib/libcrypt.so.1 (0x4001a000) librt.so.1 => /lib/librt.so.1 (0x4004b000) libresolv.so.2 => /lib/libresolv.so.2 (0x4005d000) libm.so.6 => /lib/i686/libm.so.6 (0x4006e000) libnsl.so.1 => /lib/libnsl.so.1 (0x40091000) libz.so.1 => /lib/libz.so.1 (0x400a6000) libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x400b5000) libdl.so.2 => /lib/libdl.so.2 (0x401dc000) libpthread.so.0 => /lib/i686/libpthread.so.0 (0x401df000) libc.so.6 => /lib/i686/libc.so.6 (0x401f3000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) User's E-mail: ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.2.4 System => Linux h3954 2.4.29 #1 SMP Sun Jan 23 01:46:59 CET 2005 i686 Build Date => Oct 16 2007 14:30:59 Configure Command => ./configure Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/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 Registered Stream Socket Transports => tcp, udp, unix, udg Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.* 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 => /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 => .:/usr/local/lib/php => .:/usr/local/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 date date/time support => enabled "Olson" Timezone Database Version => 2007.6 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 dom DOM/XML => enabled DOM/XML API Version => 20031129 libxml Version => 2.6.30 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 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 => glibc iconv library version => 2.2.5 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 libxml libXML support => active libXML Version => 2.6.30 libXML streams => enabled 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 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.30 xmlreader XMLReader => enabled xmlwriter XMLWriter => enabled Additional Modules Module Name Environment Variable => Value LESSKEY => /etc/lesskey.bin MANPATH => /usr/share/man:/usr/local/man:/usr/X11R6/man:/usr/local/share/man INFODIR => /usr/local/info:/usr/share/info:/usr/info NNTPSERVER => news HOSTNAME => h3954 TEST_PHP_SRCDIR => /tmp/download/php-5.2.4 XKEYSYMDB => /usr/X11R6/lib/X11/XKeysymDB TERM => xterm SHELL => /bin/sh HOST => h3954 PROFILEREAD => true MAKEFLAGS => SSH_CLIENT => deleted SSH_TTY => deleted USER => root LS_COLORS => no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: XNLSPATH => /usr/X11R6/lib/X11/nls SSH_AUTH_SOCK => deleted HOSTTYPE => i386 MAKELEVEL => 1 PAGER => less MFLAGS => MINICOM => -c on PATH => /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin MAIL => /var/mail/root CPU => i686 _ => /tmp/download/php-5.2.4/sapi/cli/php PWD => /tmp/download/php-5.2.4 INPUTRC => /etc/inputrc TEST_PHP_EXECUTABLE => /tmp/download/php-5.2.4/sapi/cli/php TEXINPUTS => :/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX HOME => /root SHLVL => 3 LESS_ADVANCED_PREPROCESSOR => no OSTYPE => linux LS_OPTIONS => -a -N --color=tty -T 0 no_proxy => localhost RC_LC_COLLATE => POSIX WINDOWMANAGER => /usr/X11R6/bin/kde LESS => -M -I LOGNAME => root MACHTYPE => i686-suse-linux RC_LANG => de_DE@euro PRINTER => lp SSH_CONNECTION => deleted LC_CTYPE => de_DE@euro LESSOPEN => lessopen.sh %s INFOPATH => /usr/local/info:/usr/share/info:/usr/info CC => gcc LESSCLOSE => lessclose.sh %s %s COLORTERM => 1 mc => () { mkdir -p $HOME/.mc/tmp 2>/dev/null; chmod 700 $HOME/.mc/tmp; MC=$HOME/.mc/tmp/mc-$$; /usr/bin/mc -P "$@" >"$MC"; cd "cat $MC"; rm -f "$MC"; unset MC } PHP Variables Variable => Value _SERVER["LESSKEY"] => /etc/lesskey.bin _SERVER["MANPATH"] => /usr/share/man:/usr/local/man:/usr/X11R6/man:/usr/local/share/man _SERVER["INFODIR"] => /usr/local/info:/usr/share/info:/usr/info _SERVER["NNTPSERVER"] => news _SERVER["HOSTNAME"] => h3954 _SERVER["TEST_PHP_SRCDIR"] => /tmp/download/php-5.2.4 _SERVER["XKEYSYMDB"] => /usr/X11R6/lib/X11/XKeysymDB _SERVER["TERM"] => xterm _SERVER["SHELL"] => /bin/sh _SERVER["HOST"] => h3954 _SERVER["PROFILEREAD"] => true _SERVER["MAKEFLAGS"] => _SERVER["SSH_CLIENT"] => deleted _SERVER["SSH_TTY"] => deleted _SERVER["USER"] => root _SERVER["LS_COLORS"] => no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: _SERVER["XNLSPATH"] => /usr/X11R6/lib/X11/nls _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["HOSTTYPE"] => i386 _SERVER["MAKELEVEL"] => 1 _SERVER["PAGER"] => less _SERVER["MFLAGS"] => _SERVER["MINICOM"] => -c on _SERVER["PATH"] => /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin _SERVER["MAIL"] => /var/mail/root _SERVER["CPU"] => i686 _SERVER["_"] => /tmp/download/php-5.2.4/sapi/cli/php _SERVER["PWD"] => /tmp/download/php-5.2.4 _SERVER["INPUTRC"] => /etc/inputrc _SERVER["TEST_PHP_EXECUTABLE"] => /tmp/download/php-5.2.4/sapi/cli/php _SERVER["TEXINPUTS"] => :/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX _SERVER["HOME"] => /root _SERVER["SHLVL"] => 3 _SERVER["LESS_ADVANCED_PREPROCESSOR"] => no _SERVER["OSTYPE"] => linux _SERVER["LS_OPTIONS"] => -a -N --color=tty -T 0 _SERVER["no_proxy"] => localhost _SERVER["RC_LC_COLLATE"] => POSIX _SERVER["WINDOWMANAGER"] => /usr/X11R6/bin/kde _SERVER["LESS"] => -M -I _SERVER["LOGNAME"] => root _SERVER["MACHTYPE"] => i686-suse-linux _SERVER["RC_LANG"] => de_DE@euro _SERVER["PRINTER"] => lp _SERVER["SSH_CONNECTION"] => deleted _SERVER["LC_CTYPE"] => de_DE@euro _SERVER["LESSOPEN"] => lessopen.sh %s _SERVER["INFOPATH"] => /usr/local/info:/usr/share/info:/usr/info _SERVER["CC"] => gcc _SERVER["LESSCLOSE"] => lessclose.sh %s %s _SERVER["COLORTERM"] => 1 _SERVER["mc"] => () { mkdir -p $HOME/.mc/tmp 2>/dev/null; chmod 700 $HOME/.mc/tmp; MC=$HOME/.mc/tmp/mc-$$; /usr/bin/mc -P "$@" >"$MC"; cd "cat $MC"; rm -f "$MC"; unset MC } _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["REQUEST_TIME"] => 1192538614 _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["LESSKEY"] => /etc/lesskey.bin _ENV["MANPATH"] => /usr/share/man:/usr/local/man:/usr/X11R6/man:/usr/local/share/man _ENV["INFODIR"] => /usr/local/info:/usr/share/info:/usr/info _ENV["NNTPSERVER"] => news _ENV["HOSTNAME"] => h3954 _ENV["TEST_PHP_SRCDIR"] => /tmp/download/php-5.2.4 _ENV["XKEYSYMDB"] => /usr/X11R6/lib/X11/XKeysymDB _ENV["TERM"] => xterm _ENV["SHELL"] => /bin/sh _ENV["HOST"] => h3954 _ENV["PROFILEREAD"] => true _ENV["MAKEFLAGS"] => _ENV["SSH_CLIENT"] => deleted _ENV["SSH_TTY"] => deleted _ENV["USER"] => root _ENV["LS_COLORS"] => no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: _ENV["XNLSPATH"] => /usr/X11R6/lib/X11/nls _ENV["SSH_AUTH_SOCK"] => deleted _ENV["HOSTTYPE"] => i386 _ENV["MAKELEVEL"] => 1 _ENV["PAGER"] => less _ENV["MFLAGS"] => _ENV["MINICOM"] => -c on _ENV["PATH"] => /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin _ENV["MAIL"] => /var/mail/root _ENV["CPU"] => i686 _ENV["_"] => /tmp/download/php-5.2.4/sapi/cli/php _ENV["PWD"] => /tmp/download/php-5.2.4 _ENV["INPUTRC"] => /etc/inputrc _ENV["TEST_PHP_EXECUTABLE"] => /tmp/download/php-5.2.4/sapi/cli/php _ENV["TEXINPUTS"] => :/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX _ENV["HOME"] => /root _ENV["SHLVL"] => 3 _ENV["LESS_ADVANCED_PREPROCESSOR"] => no _ENV["OSTYPE"] => linux _ENV["LS_OPTIONS"] => -a -N --color=tty -T 0 _ENV["no_proxy"] => localhost _ENV["RC_LC_COLLATE"] => POSIX _ENV["WINDOWMANAGER"] => /usr/X11R6/bin/kde _ENV["LESS"] => -M -I _ENV["LOGNAME"] => root _ENV["MACHTYPE"] => i686-suse-linux _ENV["RC_LANG"] => de_DE@euro _ENV["PRINTER"] => lp _ENV["SSH_CONNECTION"] => deleted _ENV["LC_CTYPE"] => de_DE@euro _ENV["LESSOPEN"] => lessopen.sh %s _ENV["INFOPATH"] => /usr/local/info:/usr/share/info:/usr/info _ENV["CC"] => gcc _ENV["LESSCLOSE"] => lessclose.sh %s %s _ENV["COLORTERM"] => 1 _ENV["mc"] => () { mkdir -p $HOME/.mc/tmp 2>/dev/null; chmod 700 $HOME/.mc/tmp; MC=$HOME/.mc/tmp/mc-$$; /usr/bin/mc -P "$@" >"$MC"; cd "cat $MC"; rm -f "$MC"; unset MC } 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 (#50672) next »