Test results for 5.2.3 [failed]
| From: | noreply@php.net | Date: | Fri, 08 Jun 2007 15:57:02 +0000 |
| Subject: | Test results for 5.2.3 [failed] | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-34140@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test 4: Streams Test [ext/dom/tests/dom004.phpt]
Bug #38179 (imagecopy from a palette to a truecolor image loses alpha channel)
[ext/gd/tests/bug38179.phpt]
imagecreatefromwbmp with invalid wbmp [ext/gd/tests/createfromwbmp2.phpt]
gif in/out [ext/gd/tests/gif.phpt]
imagefill() infinite loop with wrong color index [ext/gd/tests/imagefill_1.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 #39538 (fgetcsv can't handle starting newlines and trailing odd number of backslashes)
[ext/standard/tests/file/bug39538.phpt]
Test debug_zval_dump() function : basic operations
[ext/standard/tests/general_functions/debug_zval_dump_b.phpt]
Test print_r() function [ext/standard/tests/general_functions/print_r.phpt]
proc_open [ext/standard/tests/general_functions/proc_open02.phpt]
Test var_dump() function [ext/standard/tests/general_functions/var_dump.phpt]
GetImageSize() [ext/standard/tests/image/getimagesize.phpt]
GetImageSize() with 246x247 pixels [ext/standard/tests/image/getimagesize_246x247.phpt]
GetImageSize() with 384x385 pixels [ext/standard/tests/image/getimagesize_384x385.phpt]
image_type_to_mime_type() [ext/standard/tests/image/image_type_to_mime_type.phpt]
Test addcslashes() function [ext/standard/tests/strings/addcslashes.phpt]
htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15)
[ext/standard/tests/strings/htmlentities02.phpt] (warn: possibly braindead libc)
htmlentities() test 4 (setlocale / ja_JP.EUC-JP) [ext/standard/tests/strings/htmlentities04.phpt]
htmlentities() test 15 (setlocale / KOI8-R) [ext/standard/tests/strings/htmlentities15.phpt]
nl2br() function [ext/standard/tests/strings/nl2br.phpt]
strlen() function [ext/standard/tests/strings/strlen.phpt]
gzfile() with various invalid params [ext/zlib/tests/004.phpt]
invalid arguments and error messages [sapi/cgi/tests/007.phpt]
path info request without exported PATH_INFO [sapi/cgi/tests/009.phpt]
=====================================================================
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 51
Exts tested : 28
---------------------------------------------------------------------
Number of tests : 3345 2126
Tests skipped : 1219 ( 36.4%) --------
Tests warned : 1 ( 0.0%) ( 0.0%)
Tests failed : 24 ( 0.7%) ( 1.1%)
Tests passed : 2101 ( 62.8%) ( 98.8%)
---------------------------------------------------------------------
Time taken : 148 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test 4: Streams Test [ext/dom/tests/dom004.phpt]
Bug #38179 (imagecopy from a palette to a truecolor image loses alpha channel)
[ext/gd/tests/bug38179.phpt]
imagecreatefromwbmp with invalid wbmp [ext/gd/tests/createfromwbmp2.phpt]
gif in/out [ext/gd/tests/gif.phpt]
imagefill() infinite loop with wrong color index [ext/gd/tests/imagefill_1.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 #39538 (fgetcsv can't handle starting newlines and trailing odd number of backslashes)
[ext/standard/tests/file/bug39538.phpt]
Test debug_zval_dump() function : basic operations
[ext/standard/tests/general_functions/debug_zval_dump_b.phpt]
Test print_r() function [ext/standard/tests/general_functions/print_r.phpt]
proc_open [ext/standard/tests/general_functions/proc_open02.phpt]
Test var_dump() function [ext/standard/tests/general_functions/var_dump.phpt]
GetImageSize() [ext/standard/tests/image/getimagesize.phpt]
GetImageSize() with 246x247 pixels [ext/standard/tests/image/getimagesize_246x247.phpt]
GetImageSize() with 384x385 pixels [ext/standard/tests/image/getimagesize_384x385.phpt]
image_type_to_mime_type() [ext/standard/tests/image/image_type_to_mime_type.phpt]
Test addcslashes() function [ext/standard/tests/strings/addcslashes.phpt]
htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15)
[ext/standard/tests/strings/htmlentities02.phpt] (warn: possibly braindead libc)
htmlentities() test 4 (setlocale / ja_JP.EUC-JP) [ext/standard/tests/strings/htmlentities04.phpt]
htmlentities() test 15 (setlocale / KOI8-R) [ext/standard/tests/strings/htmlentities15.phpt]
nl2br() function [ext/standard/tests/strings/nl2br.phpt]
strlen() function [ext/standard/tests/strings/strlen.phpt]
gzfile() with various invalid params [ext/zlib/tests/004.phpt]
invalid arguments and error messages [sapi/cgi/tests/007.phpt]
path info request without exported PATH_INFO [sapi/cgi/tests/009.phpt]
=====================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/dom/tests/dom004.phpt
================================================================================
Warning: DOMDocument::load(): Opening and ending tag mismatch: title line 7 and book in
compress.zlib:///home/weblabo/work/php-5.2.3/ext/dom/tests/book.xml.gz, line: 9 in
/home/weblabo/work/php-5.2.3/ext/dom/tests/dom004.php on line 3
Warning: DOMDocument::load(): Premature end of data in tag book line 10 in
compress.zlib:///home/weblabo/work/php-5.2.3/ext/dom/tests/book.xml.gz, line: 12 in
/home/weblabo/work/php-5.2.3/ext/dom/tests/dom004.php on line 3
Warning: DOMDocument::load(): Premature end of data in tag book line 6 in
compress.zlib:///home/weblabo/work/php-5.2.3/ext/dom/tests/book.xml.gz, line: 12 in
/home/weblabo/work/php-5.2.3/ext/dom/tests/dom004.php on line 3
Warning: DOMDocument::load(): Premature end of data in tag books line 1 in
compress.zlib:///home/weblabo/work/php-5.2.3/ext/dom/tests/book.xml.gz, line: 12 in
/home/weblabo/work/php-5.2.3/ext/dom/tests/dom004.php on line 3
<?xml version="1.0"?>
================================================================================
001+ Warning: DOMDocument::load(): Opening and ending tag mismatch: title line 7 and book in
compress.zlib:///home/weblabo/work/php-5.2.3/ext/dom/tests/book.xml.gz, line: 9 in
/home/weblabo/work/php-5.2.3/ext/dom/tests/dom004.php on line 3
002+
003+ Warning: DOMDocument::load(): Premature end of data in tag book line 10 in
compress.zlib:///home/weblabo/work/php-5.2.3/ext/dom/tests/book.xml.gz, line: 12 in
/home/weblabo/work/php-5.2.3/ext/dom/tests/dom004.php on line 3
004+
005+ Warning: DOMDocument::load(): Premature end of data in tag book line 6 in
compress.zlib:///home/weblabo/work/php-5.2.3/ext/dom/tests/book.xml.gz, line: 12 in
/home/weblabo/work/php-5.2.3/ext/dom/tests/dom004.php on line 3
006+
007+ Warning: DOMDocument::load(): Premature end of data in tag books line 1 in
compress.zlib:///home/weblabo/work/php-5.2.3/ext/dom/tests/book.xml.gz, line: 12 in
/home/weblabo/work/php-5.2.3/ext/dom/tests/dom004.php on line 3
002- <books>
003- <book>
004- <title>The Grapes of Wrath</title>
005- <author>John Steinbeck</author>
006- </book>
007- <book>
008- <title>The Pearl</title>
009- <author>John Steinbeck</author>
010- </book>
011- </books>
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/gd/tests/bug38179.phpt
================================================================================
FF0000
================================================================================
001+ FF0000
001- 46FF0000
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/gd/tests/createfromwbmp2.phpt
================================================================================
gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation
gracefully
Warning: imagecreatefromwbmp(): '/home/weblabo/work/php-5.2.3/ext/gd/tests/_tmp.wbmp' is
not a valid WBMP file in /home/weblabo/work/php-5.2.3/ext/gd/tests/createfromwbmp2.php on line 33
================================================================================
001+ gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation
gracefully
001- Warning: imagecreatefromwbmp(): gd warning: product of memory allocation multiplication would
exceed INT_MAX, failing operation gracefully
002- in %s on line %d
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/gd/tests/gif.phpt
================================================================================
<4 cols: ok
<8 cols: ok
<16 cols: ok
<32 cols: ok
<64 cols: ok
<128 cols: ok
<256 cols: ok
Corrupt JPEG data: bad Huffman code
>256 cols: ok
================================================================================
008+ Corrupt JPEG data: bad Huffman code
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/gd/tests/imagefill_1.phpt
================================================================================
03
================================================================================
001+ 03
001- 00
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/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": "" \u0022 %22 0x22 034 "",
"\/\\\"\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) "" " %22 0x22 034 ""
["/\"쫾몾ê®ï³ë³î½
`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) "" " %22 0x22 034 ""
["/\"쫾몾ê®ï³ë³î½
`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_":0,"E
no .":4.0e+12,"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 mem!
ber\":[\"array with 1 element\"]}","quotes":"" \"
%22 0x22 034
"","\/\\\"\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,"":0,"E
no .":4.0e+12,"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":"" \" %22 0x22 034
"","\/\\\"\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
array(14) {
[0]=>
string(23) "JSON Test Pattern pass1"
[1]=>
object(stdClass)#8 (1) {
["object with 1 member"]=>
array(1) {
[0]=>
string(20) "array with 1 element"
}
}
[2]=>
object(stdClass)#9 (0) {
}
[3]=>
array(0) {
}
[4]=>
int(-42)
[5]=>
bool(true)
[6]=>
bool(false)
[7]=>
NULL
[8]=>
object(stdClass)#10 (36) {
["integer"]=>
int(1234567890)
["real"]=>
float(-9876.54321)
["e"]=>
float(1.23456789E-13)
["E"]=>
float(1.23456789E+34)
["_empty_"]=>
int(0)
["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)#11 (0) {
}
["123"]=>
object(stdClass)#12 (1) {
["456"]=>
object(stdClass)#13 (1) {
["abc"]=>
object(stdClass)#14 (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) "" " %22 0x22 034 ""
["/\"쫾몾ê®ï³ë³î½
`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 AGAIN: 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)
[""]=>
int(0)
["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) "" " %22 0x22 034 ""
["/\"쫾몾ê®ï³ë³î½
`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"
}
================================================================================
116+
"
116-
117- "
229+
`1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
230-
231- `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
295+
"
297-
298- "
408+
`1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
411-
412- `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
478+
"
482-
483- "
591+
`1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
596-
597- `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
657+
"
663-
664- "
770+
`1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
777-
778- `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/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": "" \u0022 %22 0x22 034 "",
"\/\\\"\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) "" " %22 0x22 034 ""
["/\"쫾몾ê®ï³ë³î½
`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) "" " %22 0x22 034 ""
["/\"쫾몾ê®ï³ë³î½
`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_":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":""
\" %22 0x22 034
"","\/\\\"\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,"":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":""
\" %22 0x22 034
"","\/\\\"\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
array(14) {
[0]=>
string(23) "JSON Test Pattern pass1"
[1]=>
object(stdClass)#5 (1) {
["object with 1 member"]=>
array(1) {
[0]=>
string(20) "array with 1 element"
}
}
[2]=>
object(stdClass)#6 (0) {
}
[3]=>
array(0) {
}
[4]=>
int(-42)
[5]=>
bool(true)
[6]=>
bool(false)
[7]=>
NULL
[8]=>
object(stdClass)#7 (31) {
["integer"]=>
int(1234567890)
["real"]=>
float(-9876.54321)
["e"]=>
float(1.23456789E-13)
["E"]=>
float(1.23456789E+34)
["_empty_"]=>
int(0)
["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)#8 (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) "" " %22 0x22 034 ""
["/\"쫾몾ê®ï³ë³î½
`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 AGAIN: 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)
[""]=>
int(0)
["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) "" " %22 0x22 034 ""
["/\"쫾몾ê®ï³ë³î½
`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"
}
================================================================================
109+
"
109-
110- "
181+
`1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
182-
183- `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
245+
"
247-
248- "
317+
`1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
320-
321- `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
385+
"
389-
390- "
457+
`1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
462-
463- `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
521+
"
527-
528- "
593+
`1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
600-
601- `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/standard/tests/file/bug39538.phpt
================================================================================
Array
(
[0] =>
this is an test
[1] => next data
[2] => p
arsed
)
Array
(
[0] =>
this is an test
[1] => next data
[2] => p
arsed
)
Array
(
[0] =>
this is an test
[1] => next data
[2] => p
arsed
)
================================================================================
020+
this is an test
020-
021- this is an test
023+
arsed
024-
025- arsed
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/standard/tests/general_functions/debug_zval_dump_b.phpt
================================================================================
*** Testing debug_zval_dump() on scalar and non-scalar variables ***
-- Iteration 1 --
long(0) refcount(3)
&long(0) refcount(2)
-- Iteration 2 --
long(83) refcount(3)
&long(83) refcount(2)
-- Iteration 3 --
long(123000000) refcount(3)
&long(123000000) refcount(2)
-- Iteration 4 --
long(-83) refcount(3)
&long(-83) refcount(2)
-- Iteration 5 --
long(-12300000) refcount(3)
&long(-12300000) refcount(2)
-- Iteration 6 --
long(16777215) refcount(3)
&long(16777215) refcount(2)
-- Iteration 7 --
long(123456789) refcount(3)
&long(123456789) refcount(2)
-- Iteration 8 --
long(1) refcount(3)
&long(1) refcount(2)
-- Iteration 9 --
long(-1) refcount(3)
&long(-1) refcount(2)
-- Iteration 10 --
double(0) refcount(3)
&double(0) refcount(2)
-- Iteration 11 --
double(0) refcount(3)
&double(0) refcount(2)
-- Iteration 12 --
double(1.234) refcount(3)
&double(1.234) refcount(2)
-- Iteration 13 --
double(-1.234) refcount(3)
&double(-1.234) refcount(2)
-- Iteration 14 --
double(-2) refcount(3)
&double(-2) refcount(2)
-- Iteration 15 --
double(2) refcount(3)
&double(2) refcount(2)
-- Iteration 16 --
double(-400010) refcount(3)
&double(-400010) refcount(2)
-- Iteration 17 --
double(400010) refcount(3)
&double(400010) refcount(2)
-- Iteration 18 --
double(6.99999989) refcount(3)
&double(6.99999989) refcount(2)
-- Iteration 19 --
double(-0.5) refcount(3)
&double(-0.5) refcount(2)
-- Iteration 20 --
double(0.567) refcount(3)
&double(0.567) refcount(2)
-- Iteration 21 --
double(-0.00067) refcount(3)
&double(-0.00067) refcount(2)
-- Iteration 22 --
double(-670) refcount(3)
&double(-670) refcount(2)
-- Iteration 23 --
double(1.0E-5) refcount(3)
&double(1.0E-5) refcount(2)
-- Iteration 24 --
double(-100000) refcount(3)
&double(-100000) refcount(2)
-- Iteration 25 --
double(100000) refcount(3)
&double(100000) refcount(2)
-- Iteration 26 --
double(1.0E-5) refcount(3)
&double(1.0E-5) refcount(2)
-- Iteration 27 --
string(0) "" refcount(3)
&string(0) "" refcount(2)
-- Iteration 28 --
string(0) "" refcount(3)
&string(0) "" refcount(2)
-- Iteration 29 --
string(1) " " refcount(3)
&string(1) " " refcount(2)
-- Iteration 30 --
string(1) " " refcount(3)
&string(1) " " refcount(2)
-- Iteration 31 --
string(1) "0" refcount(3)
&string(1) "0" refcount(2)
-- Iteration 32 --
string(1) "[0x0]" refcount(3)
&string(1) "[0x0]" refcount(2)
-- Iteration 33 --
string(2) "\0" refcount(3)
&string(2) "\0" refcount(2)
-- Iteration 34 --
string(1) " " refcount(3)
&string(1) " " refcount(2)
-- Iteration 35 --
string(2) "\t" refcount(3)
&string(2) "\t" refcount(2)
-- Iteration 36 --
string(3) "PHP" refcount(3)
&string(3) "PHP" refcount(2)
-- Iteration 37 --
string(3) "PHP" refcount(3)
&string(3) "PHP" refcount(2)
-- Iteration 38 --
string(34) "1234
5678
9100
abcda[0x0]00cdeh[0x0]stuv" refcount(3)
&string(34) "1234
5678
9100
abcda[0x0]00cdeh[0x0]stuv" refcount(2)
-- Iteration 39 --
bool(true) refcount(3)
&bool(true) refcount(2)
-- Iteration 40 --
bool(false) refcount(3)
&bool(false) refcount(2)
-- Iteration 41 --
bool(true) refcount(3)
&bool(true) refcount(2)
-- Iteration 42 --
bool(false) refcount(3)
&bool(false) refcount(2)
-- Iteration 43 --
array(0) refcount(3){
}
&array(0) refcount(2){
}
-- Iteration 44 --
array(1) refcount(3){
[0]=>
NULL refcount(1)
}
&array(1) refcount(2){
[0]=>
NULL refcount(2)
}
-- Iteration 45 --
array(1) refcount(3){
[0]=>
bool(true) refcount(1)
}
&array(1) refcount(2){
[0]=>
bool(true) refcount(2)
}
-- Iteration 46 --
array(1) refcount(3){
[0]=>
string(0) "" refcount(1)
}
&array(1) refcount(2){
[0]=>
string(0) "" refcount(2)
}
-- Iteration 47 --
array(1) refcount(3){
[0]=>
string(0) "" refcount(1)
}
&array(1) refcount(2){
[0]=>
string(0) "" refcount(2)
}
-- Iteration 48 --
array(2) refcount(3){
[0]=>
array(2) refcount(1){
[0]=>
long(1) refcount(1)
[1]=>
long(2) refcount(1)
}
[1]=>
array(2) refcount(1){
[0]=>
string(1) "a" refcount(1)
[1]=>
string(1) "b" refcount(1)
}
}
&array(2) refcount(2){
[0]=>
array(2) refcount(2){
[0]=>
long(1) refcount(1)
[1]=>
long(2) refcount(1)
}
[1]=>
array(2) refcount(2){
[0]=>
string(1) "a" refcount(1)
[1]=>
string(1) "b" refcount(1)
}
}
-- Iteration 49 --
array(2) refcount(3){
["test"]=>
string(8) "is_array" refcount(1)
[1]=>
string(3) "One" refcount(1)
}
&array(2) refcount(2){
["test"]=>
string(8) "is_array" refcount(2)
[1]=>
string(3) "One" refcount(2)
}
-- Iteration 50 --
array(1) refcount(3){
[0]=>
long(0) refcount(1)
}
&array(1) refcount(2){
[0]=>
long(0) refcount(2)
}
-- Iteration 51 --
array(1) refcount(3){
[0]=>
long(-1) refcount(1)
}
&array(1) refcount(2){
[0]=>
long(-1) refcount(2)
}
-- Iteration 52 --
array(2) refcount(3){
[0]=>
double(10.5) refcount(1)
[1]=>
double(5.6) refcount(1)
}
&array(2) refcount(2){
[0]=>
double(10.5) refcount(2)
[1]=>
double(5.6) refcount(2)
}
-- Iteration 53 --
array(2) refcount(3){
[0]=>
string(6) "string" refcount(1)
[1]=>
string(4) "test" refcount(1)
}
&array(2) refcount(2){
[0]=>
string(6) "string" refcount(2)
[1]=>
string(4) "test" refcount(2)
}
-- Iteration 54 --
array(2) refcount(3){
[0]=>
string(6) "string" refcount(1)
[1]=>
string(4) "test" refcount(1)
}
&array(2) refcount(2){
[0]=>
string(6) "string" refcount(2)
[1]=>
string(4) "test" refcount(2)
}
-- Iteration 55 --
resource(5) of type (stream) refcount(4)
&resource(5) of type (stream) refcount(2)
Done
================================================================================
116+ 9100
abcda[0x0]00cdeh[0x0]stuv" refcount(3)
116- 9100
117- abcda[0x0]00cdeh[0x0]stuv" refcount(3)
119+ 9100
abcda[0x0]00cdeh[0x0]stuv" refcount(2)
120- 9100
121- abcda[0x0]00cdeh[0x0]stuv" refcount(2)
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/standard/tests/general_functions/print_r.phpt
================================================================================
*** Testing print_r() on integer variables ***
-- Iteration 1 --
0
0
0
-- Iteration 2 --
83
83
83
-- Iteration 3 --
123000000
123000000
123000000
-- Iteration 4 --
-83
-83
-83
-- Iteration 5 --
-12300000
-12300000
-12300000
-- Iteration 6 --
Array
(
[0] => 1
[1] => 2
[2] => 3
[3] => 4
[4] => 5
[5] => 6
[6] => 7
[7] => 8
[8] => 9
[9] => 10
)
Array
(
[0] => 1
[1] => 2
[2] => 3
[3] => 4
[4] => 5
[5] => 6
[6] => 7
[7] => 8
[8] => 9
[9] => 10
)
Array
(
[0] => 1
[1] => 2
[2] => 3
[3] => 4
[4] => 5
[5] => 6
[6] => 7
[7] => 8
[8] => 9
[9] => 10
)
-- Iteration 7 --
Array
(
[0] => -1
[1] => -2
[2] => -3
[3] => -4
[4] => -5
[5] => -6
[6] => -7
[7] => -8
[8] => -9
[9] => -10
)
Array
(
[0] => -1
[1] => -2
[2] => -3
[3] => -4
[4] => -5
[5] => -6
[6] => -7
[7] => -8
[8] => -9
[9] => -10
)
Array
(
[0] => -1
[1] => -2
[2] => -3
[3] => -4
[4] => -5
[5] => -6
[6] => -7
[7] => -8
[8] => -9
[9] => -10
)
-- Iteration 8 --
2147483647
2147483647
2147483647
-- Iteration 9 --
2147483648
2147483648
2147483648
-- Iteration 10 --
-2147483648
-2147483648
-2147483648
-- Iteration 11 --
-2147483647
-2147483647
-2147483647
-- Iteration 12 --
2147483647
2147483647
2147483647
-- Iteration 13 --
-2147483648
-2147483648
-2147483648
-- Iteration 14 --
2147483647
2147483647
2147483647
-- Iteration 15 --
-2147483648
-2147483648
-2147483648
*** Testing print_r() on float variables ***
-- Iteration 1 --
0
0
0
-- Iteration 2 --
0
0
0
-- Iteration 3 --
1.234
1.234
1.234
-- Iteration 4 --
-1.234
-1.234
-1.234
-- Iteration 5 --
-2
-2
-2
-- Iteration 6 --
2
2
2
-- Iteration 7 --
-0.5
-0.5
-0.5
-- Iteration 8 --
0.567
0.567
0.567
-- Iteration 9 --
-0.00067
-0.00067
-0.00067
-- Iteration 10 --
-670
-670
-670
-- Iteration 11 --
670
670
670
-- Iteration 12 --
670
670
670
-- Iteration 13 --
-0.00410003
-0.00410003
-0.00410003
-- Iteration 14 --
-4100.03
-4100.03
-4100.03
-- Iteration 15 --
0.004100003
0.004100003
0.004100003
-- Iteration 16 --
4100.003
4100.003
4100.003
-- Iteration 17 --
100000
100000
100000
-- Iteration 18 --
-100000
-100000
-100000
-- Iteration 19 --
1.0E-5
1.0E-5
1.0E-5
-- Iteration 20 --
-1.0E-5
-1.0E-5
-1.0E-5
-- Iteration 21 --
100000
100000
100000
-- Iteration 22 --
-100000
-100000
-100000
-- Iteration 23 --
100000
100000
100000
-- Iteration 24 --
-100000
-100000
-100000
-- Iteration 25 --
100000
100000
100000
-- Iteration 26 --
-100000
-100000
-100000
-- Iteration 27 --
1.0E-5
1.0E-5
1.0E-5
-- Iteration 28 --
-1.0E-5
-1.0E-5
-1.0E-5
-- Iteration 29 --
-2147483649
-2147483649
-2147483649
-- Iteration 30 --
2147483649
2147483649
2147483649
-- Iteration 31 --
2147483649
2147483649
2147483649
-- Iteration 32 --
-2147483649
-2147483649
-2147483649
*** Testing print_r() on string variables ***
-- Iteration 1 --
-- Iteration 2 --
-- Iteration 3 --
-- Iteration 4 --
-- Iteration 5 --
0
0
0
-- Iteration 6 --
[0x0]
[0x0]
[0x0]
-- Iteration 7 --
\0
\0
\0
-- Iteration 8 --
-- Iteration 9 --
\t
\t
\t
-- Iteration 10 --
PHP
PHP
PHP
-- Iteration 11 --
PHP
PHP
PHP
-- Iteration 12 --
abcd[0x0]n1234[0x0]05678[0x0]00efgh\xijkl
abcd[0x0]n1234[0x0]05678[0x0]00efgh\xijkl
abcd[0x0]n1234[0x0]05678[0x0]00efgh\xijkl
-- Iteration 13 --
abcd[0x0]efgh[0x0]ijkl[0x0]mnop[0x0]0qrst[0x0]uvwx[0x0]0yz
abcd[0x0]efgh[0x0]ijkl[0x0]mnop[0x0]0qrst[0x0]uvwx[0x0]0yz
abcd[0x0]efgh[0x0]ijkl[0x0]mnop[0x0]0qrst[0x0]uvwx[0x0]0yz
-- Iteration 14 --
1234
5678
9100
abcda
1234
5678
9100
abcda
1234
5678
9100
abcda
*** Testing print_r() on boolean variables ***
-- Iteration 1 --
1
1
1
-- Iteration 2 --
-- Iteration 3 --
1
1
1
-- Iteration 4 --
bool(true)
bool(true)
*** Testing print_r() on array variables ***
-- Iteration 1 --
Array
(
)
Array
(
)
Array
(
)
-- Iteration 2 --
Array
(
[0] =>
)
Array
(
[0] =>
)
Array
(
[0] =>
)
-- Iteration 3 --
Array
(
[0] =>
)
Array
(
[0] =>
)
Array
(
[0] =>
)
-- Iteration 4 --
Array
(
[0] => 1
)
Array
(
[0] => 1
)
Array
(
[0] => 1
)
-- Iteration 5 --
Array
(
[0] =>
)
Array
(
[0] =>
)
Array
(
[0] =>
)
-- Iteration 6 --
Array
(
[0] =>
)
Array
(
[0] =>
)
Array
(
[0] =>
)
-- Iteration 7 --
Array
(
[0] => Array
(
)
[1] => Array
(
)
)
Array
(
[0] => Array
(
)
[1] => Array
(
)
)
Array
(
[0] => Array
(
)
[1] => Array
(
)
)
-- Iteration 8 --
Array
(
[0] => Array
(
[0] => 1
[1] => 2
)
[1] => Array
(
[0] => a
[1] => b
)
)
Array
(
[0] => Array
(
[0] => 1
[1] => 2
)
[1] => Array
(
[0] => a
[1] => b
)
)
Array
(
[0] => Array
(
[0] => 1
[1] => 2
)
[1] => Array
(
[0] => a
[1] => b
)
)
-- Iteration 9 --
Array
(
[1] => One
)
Array
(
[1] => One
)
Array
(
[1] => One
)
-- Iteration 10 --
Array
(
[test] => is_array
)
Array
(
[test] => is_array
)
Array
(
[test] => is_array
)
-- Iteration 11 --
Array
(
[0] => 0
)
Array
(
[0] => 0
)
Array
(
[0] => 0
)
-- Iteration 12 --
Array
(
[0] => -1
)
Array
(
[0] => -1
)
Array
(
[0] => -1
)
-- Iteration 13 --
Array
(
[0] => 10.5
[1] => 5.6
)
Array
(
[0] => 10.5
[1] => 5.6
)
Array
(
[0] => 10.5
[1] => 5.6
)
-- Iteration 14 --
Array
(
[0] => string
[1] => test
)
Array
(
[0] => string
[1] => test
)
Array
(
[0] => string
[1] => test
)
-- Iteration 15 --
Array
(
[0] => string
[1] => test
)
Array
(
[0] => string
[1] => test
)
Array
(
[0] => string
[1] => test
)
*** Testing print_r() on object variables ***
-- Iteration 1 --
object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
-- Iteration 2 --
no_member_class Object
(
)
no_member_class Object
(
)
no_member_class Object
(
)
-- Iteration 3 --
contains_object_class Object
(
[p] => 30
[class_object1] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object2] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object3:private] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object4:protected] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[no_member_class_object] => no_member_class Object
(
)
[class_object5] => contains_object_class Object
*RECURSION*
)
contains_object_class Object
(
[p] => 30
[class_object1] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object2] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object3:private] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object4:protected] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[no_member_class_object] => no_member_class Object
(
)
[class_object5] => contains_object_class Object
*RECURSION*
)
contains_object_class Object
(
[p] => 30
[class_object1] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object2] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object3:private] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object4:protected] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[no_member_class_object] => no_member_class Object
(
)
[class_object5] => contains_object_class Object
*RECURSION*
)
-- Iteration 4 --
contains_object_class Object
(
[p] => 30
[class_object1] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object2] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object3:private] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object4:protected] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[no_member_class_object] => no_member_class Object
(
)
[class_object5] => contains_object_class Object
*RECURSION*
)
contains_object_class Object
(
[p] => 30
[class_object1] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object2] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object3:private] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object4:protected] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[no_member_class_object] => no_member_class Object
(
)
[class_object5] => contains_object_class Object
*RECURSION*
)
contains_object_class Object
(
[p] => 30
[class_object1] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object2] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object3:private] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[class_object4:protected] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
[no_member_class_object] => no_member_class Object
(
)
[class_object5] => contains_object_class Object
*RECURSION*
)
-- Iteration 5 --
object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
-- Iteration 6 --
object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
-- Iteration 7 --
no_member_class Object
(
)
no_member_class Object
(
)
no_member_class Object
(
)
-- Iteration 8 --
object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
)
-- Iteration 9 --
** Testing print_r() on objects having circular reference **
object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
[obj] => object_class Object
(
[value] => 50
[public_var1] => 10
[private_var1:private] => 20
[private_var2:private] => 21
[protected_var1:protected] => string_1
[protected_var2:protected] => string_2
[public_var2] => 11
[obj] => object_class Object
*RECURSION*
)
)
*** Testing print_r() on resources ***
-- Iteration 1 --
Resource id #5
Resource id #5
Resource id #5
-- Iteration 2 --
Resource id #6
Resource id #6
Resource id #6
*** Testing print_r() on different combinations of scalar
and non-scalar variables ***
-- Iteration 1 --
Array
(
[0] => 123
[1] => -1.2345
[2] => a
)
Array
(
[0] => 123
[1] => -1.2345
[2] => a
)
Array
(
[0] => 123
[1] => -1.2345
[2] => a
)
-- Iteration 2 --
Array
(
[0] => d
[1] => Array
(
[0] => 1
[1] => 3
[2] => 5
)
[2] => 1
[3] =>
)
Array
(
[0] => d
[1] => Array
(
[0] => 1
[1] => 3
[2] => 5
)
[2] => 1
[3] =>
)
Array
(
[0] => d
[1] => Array
(
[0] => 1
[1] => 3
[2] => 5
)
[2] => 1
[3] =>
)
-- Iteration 3 --
Array
(
[0] => no_member_class Object
(
)
[1] => Array
(
)
[2] =>
[3] => 0
)
Array
(
[0] => no_member_class Object
(
)
[1] => Array
(
)
[2] =>
[3] => 0
)
Array
(
[0] => no_member_class Object
(
)
[1] => Array
(
)
[2] =>
[3] => 0
)
-- Iteration 4 --
Array
(
[0] => 0
[1] => Where am I?
[2] => Array
(
[0] => 7
[1] => 8
[2] => 9
)
[3] => 1
[4] => A
[5] => 987654321
)
Array
(
[0] => 0
[1] => Where am I?
[2] => Array
(
[0] => 7
[1] => 8
[2] => 9
)
[3] => 1
[4] => A
[5] => 987654321
)
Array
(
[0] => 0
[1] => Where am I?
[2] => Array
(
[0] => 7
[1] => 8
[2] => 9
)
[3] => 1
[4] => A
[5] => 987654321
)
-- Iteration 5 --
Array
(
[0] =>
[1] => 20000000000
[2] => 79.1
[3] => 4.599998
)
Array
(
[0] =>
[1] => 20000000000
[2] => 79.1
[3] => 4.599998
)
Array
(
[0] =>
[1] => 20000000000
[2] => 79.1
[3] => 4.599998
)
-- Iteration 6 --
Array
(
[0] => array(1,2,3,4)1.0000002TRUE
[1] =>
[2] => 4611333
[3] => /00\7
)
Array
(
[0] => array(1,2,3,4)1.0000002TRUE
[1] =>
[2] => 4611333
[3] => /00\7
)
Array
(
[0] => array(1,2,3,4)1.0000002TRUE
[1] =>
[2] => 4611333
[3] => /00\7
)
*** Testing print_r() on miscelleneous input arguments ***
-- Iteration 1 --
-- Iteration 2 --
-- Iteration 3 --
-- Iteration 4 --
*** Testing print_r() on anonymous functions ***
New anonymous function: [0x0]lambda_1
2 * 3 = 6[0x0]lambda_2
*** Testing error conditions ***
Warning: print_r() expects at least 1 parameter, 0 given in
/home/weblabo/work/php-5.2.3/ext/standard/tests/general_functions/print_r.php on line 279
bool(false)
Warning: print_r() expects at most 2 parameters, 3 given in
/home/weblabo/work/php-5.2.3/ext/standard/tests/general_functions/print_r.php on line 282
bool(false)
Notice: Undefined variable: value in
/home/weblabo/work/php-5.2.3/ext/standard/tests/general_functions/print_r.php on line 285
string(0) ""
Done
================================================================================
328+ 9100
abcda
329+ 1234
330+ 5678
331+ 9100
abcda
328- 9100
329- abcda
332- 9100
333- abcda
334- 1234
335- 5678
336- 9100
337- abcda
334+ 9100
abcda
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/standard/tests/general_functions/proc_open02.phpt
================================================================================
bool(true)
array(8) {
["command"]=>
string(28) "/usr/bin/nohup /bin/sleep 50"
["pid"]=>
int(35311)
["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(35311)
["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)
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/standard/tests/general_functions/var_dump.phpt
================================================================================
*** Testing var_dump() on integer variables ***
-- Iteration 1 --
int(0)
-- Iteration 2 --
int(83)
-- Iteration 3 --
int(123000000)
-- Iteration 4 --
int(-83)
-- Iteration 5 --
int(-12300000)
-- Iteration 6 --
array(10) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
[3]=>
int(4)
[4]=>
int(5)
[5]=>
int(6)
[6]=>
int(7)
[7]=>
int(8)
[8]=>
int(9)
[9]=>
int(10)
}
-- Iteration 7 --
array(10) {
[0]=>
int(-1)
[1]=>
int(-2)
[2]=>
int(-3)
[3]=>
int(-4)
[4]=>
int(-5)
[5]=>
int(-6)
[6]=>
int(-7)
[7]=>
int(-8)
[8]=>
int(-9)
[9]=>
int(-10)
}
-- Iteration 8 --
int(2147483647)
-- Iteration 9 --
float(2147483648)
-- Iteration 10 --
float(-2147483648)
-- Iteration 11 --
int(-2147483647)
-- Iteration 12 --
int(2147483647)
-- Iteration 13 --
float(-2147483648)
-- Iteration 14 --
int(2147483647)
-- Iteration 15 --
float(-2147483648)
*** Testing var_dump() on float variables ***
-- Iteration 1 --
float(0)
-- Iteration 2 --
float(0)
-- Iteration 3 --
float(1.234)
-- Iteration 4 --
float(-1.234)
-- Iteration 5 --
float(-2)
-- Iteration 6 --
float(2)
-- Iteration 7 --
float(-0.5)
-- Iteration 8 --
float(0.567)
-- Iteration 9 --
float(-0.00067)
-- Iteration 10 --
float(-670)
-- Iteration 11 --
float(670)
-- Iteration 12 --
float(670)
-- Iteration 13 --
float(-0.00410003)
-- Iteration 14 --
float(-4100.03)
-- Iteration 15 --
float(0.004100003)
-- Iteration 16 --
float(4100.003)
-- Iteration 17 --
float(100000)
-- Iteration 18 --
float(-100000)
-- Iteration 19 --
float(1.0E-5)
-- Iteration 20 --
float(-1.0E-5)
-- Iteration 21 --
float(100000)
-- Iteration 22 --
float(-100000)
-- Iteration 23 --
float(100000)
-- Iteration 24 --
float(-100000)
-- Iteration 25 --
float(100000)
-- Iteration 26 --
float(-100000)
-- Iteration 27 --
float(1.0E-5)
-- Iteration 28 --
float(-1.0E-5)
-- Iteration 29 --
float(-2147483649)
-- Iteration 30 --
float(2147483649)
-- Iteration 31 --
float(2147483649)
-- Iteration 32 --
float(-2147483649)
*** Testing var_dump() on string variables ***
-- Iteration 1 --
string(0) ""
-- Iteration 2 --
string(0) ""
-- Iteration 3 --
string(1) " "
-- Iteration 4 --
string(1) " "
-- Iteration 5 --
string(1) "0"
-- Iteration 6 --
string(1) "[0x0]"
-- Iteration 7 --
string(2) "\0"
-- Iteration 8 --
string(1) " "
-- Iteration 9 --
string(2) "\t"
-- Iteration 10 --
string(3) "PHP"
-- Iteration 11 --
string(3) "PHP"
-- Iteration 12 --
string(29) "abcd[0x0]n1234[0x0]05678[0x0]00efgh\xijkl"
-- Iteration 13 --
string(34) "abcd[0x0]efgh[0x0]ijkl[0x0]mnop[0x0]0qrst[0x0]uvwx[0x0]0yz"
-- Iteration 14 --
string(22) "1234
5678
9100
abcda"
*** Testing var_dump() on boolean variables ***
-- Iteration 1 --
bool(true)
-- Iteration 2 --
bool(false)
-- Iteration 3 --
bool(true)
-- Iteration 4 --
bool(false)
*** Testing var_dump() on array variables ***
-- Iteration 1 --
array(0) {
}
-- Iteration 2 --
array(1) {
[0]=>
NULL
}
-- Iteration 3 --
array(1) {
[0]=>
NULL
}
-- Iteration 4 --
array(1) {
[0]=>
bool(true)
}
-- Iteration 5 --
array(1) {
[0]=>
string(0) ""
}
-- Iteration 6 --
array(1) {
[0]=>
string(0) ""
}
-- Iteration 7 --
array(2) {
[0]=>
array(0) {
}
[1]=>
array(0) {
}
}
-- Iteration 8 --
array(2) {
[0]=>
array(2) {
[0]=>
int(1)
[1]=>
int(2)
}
[1]=>
array(2) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
}
}
-- Iteration 9 --
array(1) {
[1]=>
string(3) "One"
}
-- Iteration 10 --
array(1) {
["test"]=>
string(8) "is_array"
}
-- Iteration 11 --
array(1) {
[0]=>
int(0)
}
-- Iteration 12 --
array(1) {
[0]=>
int(-1)
}
-- Iteration 13 --
array(2) {
[0]=>
float(10.5)
[1]=>
float(5.6)
}
-- Iteration 14 --
array(2) {
[0]=>
string(6) "string"
[1]=>
string(4) "test"
}
-- Iteration 15 --
array(2) {
[0]=>
string(6) "string"
[1]=>
string(4) "test"
}
*** Testing var_dump() on object variables ***
-- Iteration 1 --
object(object_class)#6 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
-- Iteration 2 --
object(no_member_class)#7 (0) {
}
-- Iteration 3 --
object(contains_object_class)#8 (7) {
["p"]=>
int(30)
["class_object1"]=>
object(object_class)#9 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object2"]=>
object(object_class)#10 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object3:private"]=>
object(object_class)#9 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object4:protected"]=>
object(object_class)#10 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["no_member_class_object"]=>
object(no_member_class)#11 (0) {
}
["class_object5"]=>
object(contains_object_class)#8 (7) {
["p"]=>
int(30)
["class_object1"]=>
object(object_class)#9 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object2"]=>
object(object_class)#10 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object3:private"]=>
object(object_class)#9 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object4:protected"]=>
object(object_class)#10 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["no_member_class_object"]=>
object(no_member_class)#11 (0) {
}
["class_object5"]=>
*RECURSION*
}
}
-- Iteration 4 --
object(contains_object_class)#1 (7) {
["p"]=>
int(30)
["class_object1"]=>
object(object_class)#2 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object2"]=>
object(object_class)#3 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object3:private"]=>
object(object_class)#2 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object4:protected"]=>
object(object_class)#3 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["no_member_class_object"]=>
object(no_member_class)#4 (0) {
}
["class_object5"]=>
object(contains_object_class)#1 (7) {
["p"]=>
int(30)
["class_object1"]=>
object(object_class)#2 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object2"]=>
object(object_class)#3 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object3:private"]=>
object(object_class)#2 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object4:protected"]=>
object(object_class)#3 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["no_member_class_object"]=>
object(no_member_class)#4 (0) {
}
["class_object5"]=>
*RECURSION*
}
}
-- Iteration 5 --
object(object_class)#2 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
-- Iteration 6 --
object(object_class)#3 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
-- Iteration 7 --
object(no_member_class)#4 (0) {
}
-- Iteration 8 --
object(object_class)#5 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
-- Iteration 9 --
NULL
** Testing var_dump() on objects having circular reference **
object(object_class)#13 (8) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
["obj"]=>
&object(object_class)#12 (8) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
["obj"]=>
&object(object_class)#13 (8) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
["obj"]=>
&object(object_class)#12 (8) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
["obj"]=>
*RECURSION*
}
}
}
}
*** Testing var_dump() on resources ***
-- Iteration 1 --
resource(5) of type (stream)
-- Iteration 2 --
resource(6) of type (stream)
*** Testing var_dump() on different combinations of scalar
and non-scalar variables ***
-- Iteration 1 --
array(3) {
[0]=>
int(123)
[1]=>
float(-1.2345)
[2]=>
string(1) "a"
}
-- Iteration 2 --
array(4) {
[0]=>
string(1) "d"
[1]=>
array(3) {
[0]=>
int(1)
[1]=>
int(3)
[2]=>
int(5)
}
[2]=>
bool(true)
[3]=>
NULL
}
-- Iteration 3 --
array(4) {
[0]=>
object(no_member_class)#14 (0) {
}
[1]=>
array(0) {
}
[2]=>
bool(false)
[3]=>
int(0)
}
-- Iteration 4 --
array(6) {
[0]=>
float(0)
[1]=>
string(11) "Where am I?"
[2]=>
array(3) {
[0]=>
int(7)
[1]=>
int(8)
[2]=>
int(9)
}
[3]=>
bool(true)
[4]=>
string(1) "A"
[5]=>
int(987654321)
}
-- Iteration 5 --
array(4) {
[0]=>
NULL
[1]=>
float(20000000000)
[2]=>
float(79.1)
[3]=>
float(4.599998)
}
-- Iteration 6 --
array(4) {
[0]=>
string(27) "array(1,2,3,4)1.0000002TRUE"
[1]=>
NULL
[2]=>
float(4611333)
[3]=>
string(5) "/00\7"
}
*** Testing var_dump() on miscelleneous input arguments ***
-- Iteration 1 --
NULL
-- Iteration 2 --
NULL
-- Iteration 3 --
NULL
-- Iteration 4 --
NULL
*** Testing var_dump() on multiple arguments ***
array(15) {
[0]=>
int(0)
[1]=>
int(83)
[2]=>
int(123000000)
[3]=>
int(-83)
[4]=>
int(-12300000)
[5]=>
array(10) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
[3]=>
int(4)
[4]=>
int(5)
[5]=>
int(6)
[6]=>
int(7)
[7]=>
int(8)
[8]=>
int(9)
[9]=>
int(10)
}
[6]=>
array(10) {
[0]=>
int(-1)
[1]=>
int(-2)
[2]=>
int(-3)
[3]=>
int(-4)
[4]=>
int(-5)
[5]=>
int(-6)
[6]=>
int(-7)
[7]=>
int(-8)
[8]=>
int(-9)
[9]=>
int(-10)
}
[7]=>
int(2147483647)
[8]=>
float(2147483648)
[9]=>
float(-2147483648)
[10]=>
int(-2147483647)
[11]=>
int(2147483647)
[12]=>
float(-2147483648)
[13]=>
int(2147483647)
[14]=>
float(-2147483648)
}
array(32) {
[0]=>
float(0)
[1]=>
float(0)
[2]=>
float(1.234)
[3]=>
float(-1.234)
[4]=>
float(-2)
[5]=>
float(2)
[6]=>
float(-0.5)
[7]=>
float(0.567)
[8]=>
float(-0.00067)
[9]=>
float(-670)
[10]=>
float(670)
[11]=>
float(670)
[12]=>
float(-0.00410003)
[13]=>
float(-4100.03)
[14]=>
float(0.004100003)
[15]=>
float(4100.003)
[16]=>
float(100000)
[17]=>
float(-100000)
[18]=>
float(1.0E-5)
[19]=>
float(-1.0E-5)
[20]=>
float(100000)
[21]=>
float(-100000)
[22]=>
float(100000)
[23]=>
float(-100000)
[24]=>
float(100000)
[25]=>
float(-100000)
[26]=>
float(1.0E-5)
[27]=>
float(-1.0E-5)
[28]=>
float(-2147483649)
[29]=>
float(2147483649)
[30]=>
float(2147483649)
[31]=>
float(-2147483649)
}
array(14) {
[0]=>
string(0) ""
[1]=>
string(0) ""
[2]=>
string(1) " "
[3]=>
string(1) " "
[4]=>
string(1) "0"
[5]=>
string(1) "[0x0]"
[6]=>
string(2) "\0"
[7]=>
string(1) " "
[8]=>
string(2) "\t"
[9]=>
string(3) "PHP"
[10]=>
string(3) "PHP"
[11]=>
string(29) "abcd[0x0]n1234[0x0]05678[0x0]00efgh\xijkl"
[12]=>
string(34) "abcd[0x0]efgh[0x0]ijkl[0x0]mnop[0x0]0qrst[0x0]uvwx[0x0]0yz"
[13]=>
string(22) "1234
5678
9100
abcda"
}
array(15) {
[0]=>
array(0) {
}
[1]=>
array(1) {
[0]=>
NULL
}
[2]=>
array(1) {
[0]=>
NULL
}
[3]=>
array(1) {
[0]=>
bool(true)
}
[4]=>
array(1) {
[0]=>
string(0) ""
}
[5]=>
array(1) {
[0]=>
string(0) ""
}
[6]=>
array(2) {
[0]=>
array(0) {
}
[1]=>
array(0) {
}
}
[7]=>
array(2) {
[0]=>
array(2) {
[0]=>
int(1)
[1]=>
int(2)
}
[1]=>
array(2) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
}
}
[8]=>
array(1) {
[1]=>
string(3) "One"
}
[9]=>
array(1) {
["test"]=>
string(8) "is_array"
}
[10]=>
array(1) {
[0]=>
int(0)
}
[11]=>
array(1) {
[0]=>
int(-1)
}
[12]=>
array(2) {
[0]=>
float(10.5)
[1]=>
float(5.6)
}
[13]=>
array(2) {
[0]=>
string(6) "string"
[1]=>
string(4) "test"
}
[14]=>
array(2) {
[0]=>
string(6) "string"
[1]=>
string(4) "test"
}
}
array(4) {
[0]=>
bool(true)
[1]=>
bool(false)
[2]=>
bool(true)
[3]=>
bool(false)
}
array(2) {
[0]=>
resource(5) of type (stream)
[1]=>
resource(6) of type (stream)
}
array(9) {
[0]=>
object(object_class)#6 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
[1]=>
object(no_member_class)#7 (0) {
}
[2]=>
object(contains_object_class)#8 (7) {
["p"]=>
int(30)
["class_object1"]=>
object(object_class)#9 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object2"]=>
object(object_class)#10 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object3:private"]=>
object(object_class)#9 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object4:protected"]=>
object(object_class)#10 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["no_member_class_object"]=>
object(no_member_class)#11 (0) {
}
["class_object5"]=>
object(contains_object_class)#8 (7) {
["p"]=>
int(30)
["class_object1"]=>
object(object_class)#9 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object2"]=>
object(object_class)#10 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object3:private"]=>
object(object_class)#9 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object4:protected"]=>
object(object_class)#10 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["no_member_class_object"]=>
object(no_member_class)#11 (0) {
}
["class_object5"]=>
*RECURSION*
}
}
[3]=>
object(contains_object_class)#1 (7) {
["p"]=>
int(30)
["class_object1"]=>
object(object_class)#2 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object2"]=>
object(object_class)#3 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object3:private"]=>
object(object_class)#2 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object4:protected"]=>
object(object_class)#3 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["no_member_class_object"]=>
object(no_member_class)#4 (0) {
}
["class_object5"]=>
object(contains_object_class)#1 (7) {
["p"]=>
int(30)
["class_object1"]=>
object(object_class)#2 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object2"]=>
object(object_class)#3 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object3:private"]=>
object(object_class)#2 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["class_object4:protected"]=>
object(object_class)#3 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
["no_member_class_object"]=>
object(no_member_class)#4 (0) {
}
["class_object5"]=>
*RECURSION*
}
}
[4]=>
object(object_class)#2 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
[5]=>
object(object_class)#3 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
[6]=>
object(no_member_class)#4 (0) {
}
[7]=>
object(object_class)#5 (7) {
["value"]=>
int(50)
["public_var1"]=>
int(10)
["private_var1:private"]=>
int(20)
["private_var2:private"]=>
int(21)
["protected_var1:protected"]=>
string(8) "string_1"
["protected_var2:protected"]=>
string(8) "string_2"
["public_var2"]=>
int(11)
}
[8]=>
NULL
}
array(4) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
[3]=>
NULL
}
array(6) {
[0]=>
array(3) {
[0]=>
int(123)
[1]=>
float(-1.2345)
[2]=>
string(1) "a"
}
[1]=>
array(4) {
[0]=>
string(1) "d"
[1]=>
array(3) {
[0]=>
int(1)
[1]=>
int(3)
[2]=>
int(5)
}
[2]=>
bool(true)
[3]=>
NULL
}
[2]=>
array(4) {
[0]=>
object(no_member_class)#14 (0) {
}
[1]=>
array(0) {
}
[2]=>
bool(false)
[3]=>
int(0)
}
[3]=>
array(6) {
[0]=>
float(0)
[1]=>
string(11) "Where am I?"
[2]=>
array(3) {
[0]=>
int(7)
[1]=>
int(8)
[2]=>
int(9)
}
[3]=>
bool(true)
[4]=>
string(1) "A"
[5]=>
int(987654321)
}
[4]=>
array(4) {
[0]=>
NULL
[1]=>
float(20000000000)
[2]=>
float(79.1)
[3]=>
float(4.599998)
}
[5]=>
array(4) {
[0]=>
string(27) "array(1,2,3,4)1.0000002TRUE"
[1]=>
NULL
[2]=>
float(4611333)
[3]=>
string(5) "/00\7"
}
}
*** Testing var_dump() on anonymous functions ***
New anonymous function: [0x0]lambda_1
string(9) "2 * 3 = 6"
string(9) "[0x0]lambda_2"
*** Testing error conditions ***
Warning: Wrong parameter count for var_dump() in
/home/weblabo/work/php-5.2.3/ext/standard/tests/general_functions/var_dump.php on line 278
Done
================================================================================
171+ 9100
abcda"
171- 9100
172- abcda"
1011+ 9100
abcda"
1012- 9100
1013- abcda"
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/standard/tests/image/getimagesize.phpt
================================================================================
Warning: getimagesize(): PNG file corrupted by ASCII conversion in
/home/weblabo/work/php-5.2.3/ext/standard/tests/image/getimagesize.php on line 14
array(11) {
["test1pix.bmp"]=>
array(6) {
[0]=>
int(1)
[1]=>
int(1)
[2]=>
int(6)
[3]=>
string(20) "width="1" height="1""
["bits"]=>
int(24)
["mime"]=>
string(9) "image/bmp"
}
["test1pix.jp2"]=>
bool(false)
["test1pix.jpc"]=>
array(7) {
[0]=>
int(1)
[1]=>
int(1)
[2]=>
int(9)
[3]=>
string(20) "width="1" height="1""
["bits"]=>
int(8)
["channels"]=>
int(3)
["mime"]=>
string(24) "application/octet-stream"
}
["test1pix.jpg"]=>
array(7) {
[0]=>
int(1)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
string(20) "width="1" height="1""
["bits"]=>
int(8)
["channels"]=>
int(3)
["mime"]=>
string(10) "image/jpeg"
}
["test2pix.gif"]=>
array(7) {
[0]=>
int(2)
[1]=>
int(1)
[2]=>
int(1)
[3]=>
string(20) "width="2" height="1""
["bits"]=>
int(1)
["channels"]=>
int(3)
["mime"]=>
string(9) "image/gif"
}
["test4pix.gif"]=>
array(7) {
[0]=>
int(4)
[1]=>
int(1)
[2]=>
int(1)
[3]=>
string(20) "width="4" height="1""
["bits"]=>
int(2)
["channels"]=>
int(3)
["mime"]=>
string(9) "image/gif"
}
["test4pix.iff"]=>
array(6) {
[0]=>
int(4)
[1]=>
int(1)
[2]=>
int(14)
[3]=>
string(20) "width="4" height="1""
["bits"]=>
int(4)
["mime"]=>
string(9) "image/iff"
}
["test4pix.png"]=>
bool(false)
["test4pix.psd"]=>
array(5) {
[0]=>
int(4)
[1]=>
int(1)
[2]=>
int(5)
[3]=>
string(20) "width="4" height="1""
["mime"]=>
string(9) "image/psd"
}
["test4pix.swf"]=>
array(5) {
[0]=>
int(550)
[1]=>
int(400)
[2]=>
int(4)
[3]=>
string(24) "width="550" height="400""
["mime"]=>
string(29) "application/x-shockwave-flash"
}
["test4pix.tif"]=>
array(5) {
[0]=>
int(4)
[1]=>
int(1)
[2]=>
int(7)
[3]=>
string(20) "width="4" height="1""
["mime"]=>
string(10) "image/tiff"
}
}
================================================================================
001+ Warning: getimagesize(): PNG file corrupted by ASCII conversion in
/home/weblabo/work/php-5.2.3/ext/standard/tests/image/getimagesize.php on line 14
019+ bool(false)
020+ ["test1pix.jpc"]=>
024- int(10)
027+ int(9)
032- string(9) "image/jp2"
034- ["test1pix.jpc"]=>
035+ string(24) "application/octet-stream"
037+ ["test1pix.jpg"]=>
041- int(9)
044+ int(2)
049- string(24) "application/octet-stream"
051- ["test1pix.jpg"]=>
052+ string(10) "image/jpeg"
054+ ["test2pix.gif"]=>
054- int(1)
057+ int(2)
058- int(2)
060- string(20) "width="1" height="1""
061+ int(1)
062- int(8)
063+ string(20) "width="2" height="1""
065+ int(1)
066- string(10) "image/jpeg"
068- ["test2pix.gif"]=>
069+ string(9) "image/gif"
071+ ["test4pix.gif"]=>
071- int(2)
074+ int(4)
077- string(20) "width="2" height="1""
079- int(1)
080+ string(20) "width="4" height="1""
082+ int(2)
085- ["test4pix.gif"]=>
086- array(7) {
088+ ["test4pix.iff"]=>
089+ array(6) {
092- int(1)
095+ int(14)
096- int(2)
097- ["channels"]=>
098- int(3)
099- ["mime"]=>
100- string(9) "image/gif"
099+ int(4)
100+ ["mime"]=>
101+ string(9) "image/iff"
102- ["test4pix.iff"]=>
103- array(6) {
103+ ["test4pix.png"]=>
104+ bool(false)
105+ ["test4pix.psd"]=>
106+ array(5) {
109- int(14)
112+ int(5)
112- ["bits"]=>
115+ ["mime"]=>
116+ string(9) "image/psd"
117+ }
118+ ["test4pix.swf"]=>
119+ array(5) {
120+ [0]=>
121+ int(550)
122+ [1]=>
123+ int(400)
124+ [2]=>
115- string(9) "image/iff"
117- ["test4pix.png"]=>
118- array(6) {
124- int(3)
126+ [3]=>
127+ string(24) "width="550" height="400""
127- ["bits"]=>
128- int(4)
129- ["mime"]=>
130- string(9) "image/png"
129+ string(29) "application/x-shockwave-flash"
131+ ["test4pix.tif"]=>
132+ array(5) {
132- ["test4pix.psd"]=>
138+ int(7)
141+ ["mime"]=>
142+ string(10) "image/tiff"
144+ }
133- array(5) {
134- [0]=>
135- int(4)
136- [1]=>
137- int(1)
138- [2]=>
139- int(5)
140- [3]=>
141- string(20) "width="4" height="1""
142- ["mime"]=>
143- string(9) "image/psd"
144- }
145- ["test4pix.swf"]=>
146- array(5) {
147- [0]=>
148- int(550)
149- [1]=>
150- int(400)
151- [2]=>
152- int(4)
153- [3]=>
154- string(24) "width="550" height="400""
155- ["mime"]=>
156- string(29) "application/x-shockwave-flash"
157- }
158- ["test4pix.tif"]=>
159- array(5) {
160- [0]=>
161- int(4)
162- [1]=>
163- int(1)
164- [2]=>
165- int(7)
166- [3]=>
167- string(20) "width="4" height="1""
168- ["mime"]=>
169- string(10) "image/tiff"
170- }
171- }
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/standard/tests/image/getimagesize_246x247.phpt
================================================================================
Warning: getimagesize(): PNG file corrupted by ASCII conversion in
/home/weblabo/work/php-5.2.3/ext/standard/tests/image/getimagesize_246x247.php on line 14
array(1) {
["246x247.png"]=>
bool(false)
}
================================================================================
001+ Warning: getimagesize(): PNG file corrupted by ASCII conversion in
/home/weblabo/work/php-5.2.3/ext/standard/tests/image/getimagesize_246x247.php on line 14
003- array(6) {
004- [0]=>
004+ bool(false)
005+ }
005- int(246)
006- [1]=>
007- int(247)
008- [2]=>
009- int(3)
010- [3]=>
011- string(24) "width="246" height="247""
012- ["bits"]=>
013- int(4)
014- ["mime"]=>
015- string(9) "image/png"
016- }
017- }
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/standard/tests/image/getimagesize_384x385.phpt
================================================================================
Warning: getimagesize(): PNG file corrupted by ASCII conversion in
/home/weblabo/work/php-5.2.3/ext/standard/tests/image/getimagesize_384x385.php on line 14
array(1) {
["384x385.png"]=>
bool(false)
}
================================================================================
001+ Warning: getimagesize(): PNG file corrupted by ASCII conversion in
/home/weblabo/work/php-5.2.3/ext/standard/tests/image/getimagesize_384x385.php on line 14
003- array(6) {
004- [0]=>
004+ bool(false)
005+ }
005- int(384)
006- [1]=>
007- int(385)
008- [2]=>
009- int(3)
010- [3]=>
011- string(24) "width="384" height="385""
012- ["bits"]=>
013- int(1)
014- ["mime"]=>
015- string(9) "image/png"
016- }
017- }
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/standard/tests/image/image_type_to_mime_type.phpt
================================================================================
Warning: getimagesize(): PNG file corrupted by ASCII conversion in
/home/weblabo/work/php-5.2.3/ext/standard/tests/image/image_type_to_mime_type.php on line 14
array(11) {
["test1pix.bmp"]=>
string(9) "image/bmp"
["test1pix.jp2"]=>
string(24) "application/octet-stream"
["test1pix.jpc"]=>
string(24) "application/octet-stream"
["test1pix.jpg"]=>
string(10) "image/jpeg"
["test2pix.gif"]=>
string(9) "image/gif"
["test4pix.gif"]=>
string(9) "image/gif"
["test4pix.iff"]=>
string(9) "image/iff"
["test4pix.png"]=>
string(24) "application/octet-stream"
["test4pix.psd"]=>
string(9) "image/psd"
["test4pix.swf"]=>
string(29) "application/x-shockwave-flash"
["test4pix.tif"]=>
string(10) "image/tiff"
}
================================================================================
001+ Warning: getimagesize(): PNG file corrupted by ASCII conversion in
/home/weblabo/work/php-5.2.3/ext/standard/tests/image/image_type_to_mime_type.php on line 14
005- string(9) "image/jp2"
006+ string(24) "application/octet-stream"
017- string(9) "image/png"
018+ string(24) "application/octet-stream"
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/standard/tests/strings/addcslashes.phpt
================================================================================
*** Testing addcslashes() for basic operations ***
-- Iteration 1 --
string(38) "goodyear12345NULL[0x0]truefalse\a\v\f\b
"
-- Iteration 2 --
string(39) "goodyear1\2345NULL[0x0]truefalse\a\v\f\b
"
-- Iteration 3 --
Notice: Array to string conversion in
/home/weblabo/work/php-5.2.3/ext/standard/tests/strings/addcslashes.php on line 30
string(44) "good\ye\a\r12345NULL[0x0]t\ruef\alse\\a\v\f\b
"
-- Iteration 4 --
string(41) "goodye\ar12345NULL[0x0]truef\alse\\a\v\f\b
"
-- Iteration 5 --
string(41) "goodyear12345NULL\000truefalse\a\v\f\b
"
-- Iteration 6 --
string(39) "goodyear12345NULL[0x0]truefalse\a\v\f\b\n
"
-- Iteration 7 --
string(39) "goodyear12345NULL[0x0]truefalse\a\v\f\b
\r "
-- Iteration 8 --
string(39) "goodyear12345NULL[0x0]truefalse\a\v\f\b
\t"
-- Iteration 9 --
string(45) "goodye\ar12345NULL[0x0]truef\alse\\\a\\v\\f\\b
"
-- Iteration 10 --
string(43) "goodyear12345NULL[0x0]truefalse\\a\\\v\\f\\b
"
-- Iteration 11 --
string(43) "goodyear12345NULL[0x0]truefalse\\a\\v\\f\\\b
"
-- Iteration 12 --
string(44) "goodyear12345NULL[0x0]true\false\\a\\v\\\f\\b
"
*** Testing addcslashes() with ASCII code between 0 and 31 ***
string(44) "goodyear12345NULL\000truefalse\a\v\f\b\n\r\t"
*** Testing addcslashes() with objects ***
string(7) "O\bject"
*** Testing addcslashes() with miscelleneous input arguments ***
string(0) ""
string(0) ""
string(11) "kaboemkara!"
string(14) "foo\b\a\r\b\az"
string(11) "\f\o\o\[ \]"
string(10) "\zoo['\.']"
string(40) "\abcd\e\f\g\h\i\j\k\l\m\n\o\pqrstuvwxy\z"
string(6) "\1\2\3"
string(3) "123"
string(0) ""
string(2) "\0"
string(1) "[0x0]"
string(0) ""
string(10) "-1.2\34578"
string(2) "\ "
string(22) "string\000with\000NULL"
*** Testing error conditions ***
Warning: Wrong parameter count for addcslashes() in
/home/weblabo/work/php-5.2.3/ext/standard/tests/strings/addcslashes.php on line 70
NULL
Warning: Wrong parameter count for addcslashes() in
/home/weblabo/work/php-5.2.3/ext/standard/tests/strings/addcslashes.php on line 73
NULL
Warning: Wrong parameter count for addcslashes() in
/home/weblabo/work/php-5.2.3/ext/standard/tests/strings/addcslashes.php on line 74
NULL
Done
================================================================================
004+
"
004-
005- "
007+
"
008-
009- "
012+
"
014-
015- "
015+
"
018+
"
018-
019- "
020+ string(39) "goodyear12345NULL[0x0]truefalse\a\v\f\b\n
"
022-
023- "
025- string(39) "goodyear12345NULL[0x0]truefalse\a\v\f\b\n
026- "
026+
\t"
029+
"
032+
"
032-
033- \t"
035+
"
036-
037- "
038+
"
040-
041- "
044-
045- "
049- "
050-
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/standard/tests/strings/htmlentities02.phpt (warn: possibly
braindead libc)
================================================================================
string(24) "¼½¾"
================================================================================
001+ string(24) "¼½¾"
001- string(20) "ŒœŸ"
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/standard/tests/strings/htmlentities04.phpt
================================================================================
string(42) "¡¢¡£¡¤"
================================================================================
001+ string(42) "¡¢¡£¡¤"
001- string(6) "¡¢¡£¡¤"
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/standard/tests/strings/htmlentities15.phpt
================================================================================
string(9) "ÒÏÓËÏÛÎÙÊ"
string(63)
"ÒÏÓËÏÛÎÙÊ"
================================================================================
002+ string(63)
"ÒÏÓËÏÛÎÙÊ"
002- string(63)
"роскошный"
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/standard/tests/strings/nl2br.phpt
================================================================================
string(4) "test"
string(0) ""
string(0) ""
string(8) "<br />
"
string(7) "<br />
"
string(7) "<br />
"
string(8) "<br />
"
string(44) "<br />
<br />
<br />
<br />
<br />
<br />
"
string(47) "<br />
<br />
<br />
<br />
<br />
<br />
"
string(66) "<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
"
================================================================================
008+ string(7) "<br />
"
008- string(7) "<br />
009- "
010+
"
011-
012- "
012+
<br />
013+ <br />
<br />
<br />
<br />
"
014+ string(47) "<br />
015+
<br />
014-
017+
<br />
018+
<br />
020+ "
021+ string(66) "<br />
022+
<br />
020- "
021- string(47) "<br />
026+
<br />
<br />
<br />
027+ <br />
"
022-
023- <br />
024- <br />
025-
026- <br />
027-
028- <br />
029- <br />
030- "
031- string(66) "<br />
032-
033- <br />
034- <br />
035- <br />
036- <br />
037-
038- <br />
039- <br />
040- <br />
041- <br />
042- "
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/standard/tests/strings/strlen.phpt
================================================================================
#### Basic operations and variations ####
String length of 'Hello, World' is => int(12)
String length of 'Hello, World' is => int(12)
String length of '!!Hello, World' is => int(14)
String length of '??Hello, World' is => int(14)
String length of '$@#%^&*!~,.:;?' is => int(14)
String length of '123' is => int(3)
String length of '123' is => int(3)
String length of '-1.2345' is => int(7)
String length of '-1.2344' is => int(7)
String length of '' is => int(0)
String length of '' is => int(0)
String length of ' ' is => int(1)
String length of '[0x0]' is => int(1)
String length of '[0x0]0' is => int(2)
String length of '«C' is => int(2)
String length of '[0x0]0' is => int(2)
String length of '0' is => int(1)
String length of '0' is => int(1)
String length of ' ' is => int(1)
String length of '\t' is => int(2)
String length of '1' is => int(1)
String length of '' is => int(0)
String length of 'Hello, World[0x0]' is => int(13)
String length of 'Hello[0x0]World' is => int(11)
String length of 'Hello, World\0' is => int(14)
String length of 'Hello, World
' is => int(13)
String length of 'Hello, World
' is => int(13)
String length of 'Hello, World ' is => int(13)
String length of 'Hello, World\' is => int(13)
String length of ' ' is => int(14)
String length of 'êAÿ[0x0]' is => int(5)
String length of 'abcdefghijklmnopqrstuvwxyz0123456789~!@#$%^&*()_+=|?><-;:$
[]{}{{{}}}[[[[]][]]]***&&&^^%$###@@!!@#$%&^&**/////|\\\
abcdefghijklmnopqrstuvwxyz0123456789~!@#$%^&*()_+=|?><-;:$
[]{}{{{}}}[[[[]][]]]***&&&^^%$###@@!!@#$%&^&**/////|\\\
abcdefghijklmnopqrstuvwxyz0123456789~!@#$%^&*()_+=|?><-;:$
[]{}{{{}}}[[[[]][]]]***&&&^^%$###@@!!@#$%&^&**/////|\\\
abcdefghijklmnopqrstuvwxyz0123456789' is => int(495)
#### Testing Miscelleneous inputs ####
--- Testing objects ---
int(12)
--- Testing arrays ---
Notice: Array to string conversion in
/home/weblabo/work/php-5.2.3/ext/standard/tests/strings/strlen.php on line 73
int(5)
int(6)
int(20)
--- Testing Resources ---
int(6)
int(1)
--- Testing a longer and heredoc string ---
int(639)
--- Testing a heredoc null string ---
int(0)
--- Testing simple and complex syntax strings ---
int(5)
int(7)
Notice: Undefined variable: strS in
/home/weblabo/work/php-5.2.3/ext/standard/tests/strings/strlen.php on line 121
int(0)
int(6)
int(6)
--- strlen for long float values ---
int(13)
int(12)
--- Nested strlen() ---
int(1)
#### error conditions ####
Warning: Wrong parameter count for strlen() in
/home/weblabo/work/php-5.2.3/ext/standard/tests/strings/strlen.php on line 139
Warning: Wrong parameter count for strlen() in
/home/weblabo/work/php-5.2.3/ext/standard/tests/strings/strlen.php on line 141
Warning: Wrong parameter count for strlen() in
/home/weblabo/work/php-5.2.3/ext/standard/tests/strings/strlen.php on line 142
Done
================================================================================
029+ String length of 'Hello, World
' is => int(13)
029- String length of 'Hello, World
030- ' is => int(13)
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/ext/zlib/tests/004.phpt
================================================================================
Warning: gzfile() expects at least 1 parameter, 0 given in
/home/weblabo/work/php-5.2.3/ext/zlib/tests/004.php on line 3
NULL
Warning: gzfile(nonexistent_file_gzfile): failed to open stream: No such file or directory in
/home/weblabo/work/php-5.2.3/ext/zlib/tests/004.php on line 4
bool(false)
Warning: gzfile() expects at most 2 parameters, 3 given in
/home/weblabo/work/php-5.2.3/ext/zlib/tests/004.php on line 5
NULL
array(6) {
[0]=>
string(36) "When you're taught through feelings
"
[1]=>
string(26) "Destiny flying high above
"
[2]=>
string(38) "all I know is that you can realize it
"
[3]=>
string(18) "Destiny wha cares
"
[4]=>
string(19) "as it turns around
"
[5]=>
string(39) "and I know that it descends down on me
"
}
array(6) {
[0]=>
string(36) "When you're taught through feelings
"
[1]=>
string(26) "Destiny flying high above
"
[2]=>
string(38) "all I know is that you can realize it
"
[3]=>
string(18) "Destiny wha cares
"
[4]=>
string(19) "as it turns around
"
[5]=>
string(39) "and I know that it descends down on me
"
}
array(6) {
[0]=>
string(37) "When you\'re taught through feelings
"
[1]=>
string(26) "Destiny flying high above
"
[2]=>
string(38) "all I know is that you can realize it
"
[3]=>
string(18) "Destiny wha cares
"
[4]=>
string(19) "as it turns around
"
[5]=>
string(39) "and I know that it descends down on me
"
}
Done
================================================================================
020+ string(18) "Destiny wha cares
020- string(18) "Destiny who cares
040+ string(18) "Destiny wha cares
040- string(18) "Destiny who cares
060+ string(18) "Destiny wha cares
060- string(18) "Destiny who cares
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/sapi/cgi/tests/007.phpt
================================================================================
string(25) "No input file specified.
"
PHP Warning: PHP Startup: Unable to load dynamic library './php_curl.dll' - Cannot open
"./php_curl.dll" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './php_mbstring.dll' - Cannot
open "./php_mbstring.dll" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './php_mhash.dll' - Cannot open
"./php_mhash.dll" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './php_mysql.dll' - Cannot open
"./php_mysql.dll" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './php_openssl.dll' - Cannot
open "./php_openssl.dll" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './php_soap.dll' - Cannot open
"./php_soap.dll" in Unknown on line 0
string(31) "No syntax errors detected in -
"
Done
================================================================================
003+ PHP Warning: PHP Startup: Unable to load dynamic library './php_curl.dll' - Cannot
open "./php_curl.dll" in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library './php_mbstring.dll' -
Cannot open "./php_mbstring.dll" in Unknown on line 0
005+ PHP Warning: PHP Startup: Unable to load dynamic library './php_mhash.dll' - Cannot
open "./php_mhash.dll" in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library './php_mysql.dll' - Cannot
open "./php_mysql.dll" in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library './php_openssl.dll' -
Cannot open "./php_openssl.dll" in Unknown on line 0
008+ PHP Warning: PHP Startup: Unable to load dynamic library './php_soap.dll' - Cannot
open "./php_soap.dll" in Unknown on line 0
================================================================================
================================================================================
/home/weblabo/work/php-5.2.3/sapi/cgi/tests/009.phpt
================================================================================
PHP Warning: PHP Startup: Unable to load dynamic library './php_curl.dll' - Cannot open
"./php_curl.dll" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './php_mbstring.dll' - Cannot
open "./php_mbstring.dll" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './php_mhash.dll' - Cannot open
"./php_mhash.dll" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './php_mysql.dll' - Cannot open
"./php_mysql.dll" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './php_openssl.dll' - Cannot
open "./php_openssl.dll" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library './php_soap.dll' - Cannot open
"./php_soap.dll" in Unknown on line 0
X-Powered-By: PHP/5.2.3
Content-type: text/html
string(24) "/var/tmp/cgitestwmPSfp/x"
Done
================================================================================
001+ PHP Warning: PHP Startup: Unable to load dynamic library './php_curl.dll' - Cannot
open "./php_curl.dll" in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library './php_mbstring.dll' -
Cannot open "./php_mbstring.dll" in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library './php_mhash.dll' - Cannot
open "./php_mhash.dll" in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library './php_mysql.dll' - Cannot
open "./php_mysql.dll" in Unknown on line 0
005+ PHP Warning: PHP Startup: Unable to load dynamic library './php_openssl.dll' -
Cannot open "./php_openssl.dll" in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library './php_soap.dll' - Cannot
open "./php_soap.dll" in Unknown on line 0
================================================================================
================================================================================
BUILD ENVIRONMENT
================================================================================
OS:
FreeBSD - FreeBSD www1097.sakura.ne.jp 6.1-RELEASE-p15 FreeBSD 6.1-RELEASE-p15 #0: Mon Apr 9
09:42:57 JST 2007 admin@www1097.sakura.ne.jp:/usr/src/sys/i386/compile/SAKURA9 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.4 [FreeBSD] 20050518
Bison:
Libraries:
/home/weblabo/work/php-5.2.3/sapi/cli/php:
libcrypt.so.3 => /lib/libcrypt.so.3 (0x28540000)
libmysqlclient.so.12 => /usr/local/lib/mysql/libmysqlclient.so.12 (0x28558000)
libz.so.3 => /lib/libz.so.3 (0x28595000)
libm.so.4 => /lib/libm.so.4 (0x285a5000)
libgd.so.4 => /usr/local/lib/libgd.so.4 (0x285bb000)
libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x2860d000)
libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28671000)
libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28694000)
libcurl.so.3 => /usr/local/lib/libcurl.so.3 (0x286b2000)
libssl.so.4 => /usr/lib/libssl.so.4 (0x286e2000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x28710000)
libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x28802000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2890d000)
libc.so.6 => /lib/libc.so.6 (0x289fa000)
User's E-mail: n
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 5.2.3
System => FreeBSD www1097.sakura.ne.jp 6.1-RELEASE-p15 FreeBSD 6.1-RELEASE-p15 #0: Mon Apr 9
09:42:57 JST 2007 admin@www1097.sakura.ne.jp:/usr/src/sys/i386/compile/SAKURA9 i386
Build Date => Jun 9 2007 00:46:48
Configure Command => './configure' '--prefix=/home/weblabo'
'--with-config-file-path=/home/weblabo/weblabo/www' '--program-suffix=5'
'--with-pear=/home/weblabo/share/pear5' '--enable-force-cgi-redirect'
'--enable-mbstring=all' '--enable-mbregex' '--enable-mbstr-enc-trans'
'--enable-versioning' '--enable-trans-sid' '--with-mysql'
'--with-openssl=/usr' '--with-soap=yes' '--with-zlib=/usr'
'--with-gd=/usr/local' '--with-jpeg-dir=/usr'
'--with-freetype-dir=/usr' '--with-ttf' '--with-png-dir=/usr'
'--with-curl'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /home/weblabo/weblabo/www
Loaded Configuration File => (none)
PHP API => 20041225
PHP Extension => 20060613
Zend Extension => 220060519
Debug Build => no
Thread Safety => disabled
Zend Memory Manager => enabled
IPv6 Support => enabled
Registered PHP Streams => php, file, data, http, ftp, compress.zlib, https, ftps
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags,
convert.*, consumed, convert.iconv.*, zlib.*
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
_______________________________________________________________________
Configuration
PHP Core
Directive => Local Value => Master Value
allow_call_time_pass_reference => On => On
allow_url_fopen => On => On
allow_url_include => Off => Off
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => On => On
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 => /home/weblabo/lib/php/extensions/no-debug-non-zts-20060613 =>
/home/weblabo/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 => .:/home/weblabo/share/pear5 => .:/home/weblabo/share/pear5
log_errors => Off => Off
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => On => On
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
mail.force_extra_parameters => no value => no value
max_execution_time => 0 => 0
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
memory_limit => 128M => 128M
open_basedir => no value => no value
output_buffering => 0 => 0
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 16K => 16K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
register_globals => Off => Off
register_long_arrays => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
safe_mode => Off => Off
safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => 100 => 100
short_open_tag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
variables_order => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.ze1_compatibility_mode => Off => Off
ctype
ctype functions => enabled
curl
cURL support => enabled
cURL Information => libcurl/7.15.3 OpenSSL/0.9.7e zlib/1.2.2
date
date/time support => enabled
"Olson" Timezone Database Version => 2007.5
Timezone Database => internal
Default timezone => Asia/Tokyo
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.26
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
gd
GD Support => enabled
GD Version => 2.0 or higher
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.2.1
GIF Read Support => enabled
GIF Create Support => enabled
JPG Support => enabled
PNG Support => enabled
WBMP Support => enabled
hash
hash support => enabled
Hashing Engines => md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320
whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32
crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4
haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
iconv
iconv support => enabled
iconv implementation => libiconv
iconv library version => 1.9
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.26
libXML streams => enabled
mbstring
Multibyte Support => enabled
Multibyte string engine => libmbfl
Multibyte (japanese) regex support => enabled
Multibyte regex (oniguruma) version => 4.4.4
Multibyte regex (oniguruma) backtrack check => On
mbstring extension makes use of "streamable kanji code filter and converter", which is
distributed under the GNU Lesser General Public License version 2.1.
Directive => Local Value => Master Value
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.func_overload => 0 => 0
mbstring.http_input => pass => pass
mbstring.http_output => pass => pass
mbstring.internal_encoding => ISO-8859-1 => no value
mbstring.language => neutral => neutral
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value
mysql
MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => 4.0.27
MYSQL_MODULE_TYPE => external
MYSQL_SOCKET => /tmp/mysql.sock
MYSQL_INCLUDE => -I/usr/local/include/mysql
MYSQL_LIBS => -L/usr/local/lib/mysql -lmysqlclient
Directive => Local Value => Master Value
mysql.allow_persistent => On => On
mysql.connect_timeout => 60 => 60
mysql.default_host => no value => no value
mysql.default_password => no value => no value
mysql.default_port => no value => no value
mysql.default_socket => no value => no value
mysql.default_user => no value => no value
mysql.max_links => Unlimited => Unlimited
mysql.max_persistent => Unlimited => Unlimited
mysql.trace_mode => Off => Off
openssl
OpenSSL support => enabled
OpenSSL Version => OpenSSL 0.9.7e-p1 25 Oct 2004
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 7.0 18-Dec-2006
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.15 $
Reflection
Reflection => enabled
Version => $Id: php_reflection.c,v 1.164.2.33.2.39 2007/05/29 08:44:05 helly 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.26 $
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.26
xmlreader
XMLReader => enabled
xmlwriter
XMLWriter => enabled
zlib
ZLib Support => enabled
Stream Wrapper support => compress.zlib://
Stream Filter support => zlib.inflate, zlib.deflate
Compiled Version => 1.2.2
Linked Version => 1.2.2
Directive => Local Value => Master Value
zlib.output_compression => Off => Off
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value
Additional Modules
Module Name
Environment
Variable => Value
SSH_CLIENT => deleted
USER => weblabo
MACHTYPE => i386
MAIL => /var/mail/weblabo
VENDOR => intel
SHLVL => 1
HOME => /home/weblabo
TEST_PHP_SRCDIR => /home/weblabo/work/php-5.2.3
SSH_TTY => deleted
PKG_DBDIR => /home/weblabo/db/pkg
PAGER => more
GROUP => users
LOGNAME => weblabo
TEST_PHP_EXECUTABLE => /home/weblabo/work/php-5.2.3/sapi/cli/php
TERM => ansi
BLOCKSIZE => K
PATH =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/weblabo/bin
SSH_AUTH_SOCK => deleted
SHELL => /bin/csh
HOST => www1097.sakura.ne.jp
__MKLVL__ => 1
OSTYPE => FreeBSD
PWD => /home/weblabo/work/php-5.2.3
SSH_CONNECTION => deleted
FTP_PASSIVE_MODE => YES
CC => gcc
HOSTTYPE => FreeBSD
EDITOR => vi
PHP Variables
Variable => Value
_SERVER["SSH_CLIENT"] => deleted
_SERVER["USER"] => weblabo
_SERVER["MACHTYPE"] => i386
_SERVER["MAIL"] => /var/mail/weblabo
_SERVER["VENDOR"] => intel
_SERVER["SHLVL"] => 1
_SERVER["HOME"] => /home/weblabo
_SERVER["TEST_PHP_SRCDIR"] => /home/weblabo/work/php-5.2.3
_SERVER["SSH_TTY"] => deleted
_SERVER["PKG_DBDIR"] => /home/weblabo/db/pkg
_SERVER["PAGER"] => more
_SERVER["GROUP"] => users
_SERVER["LOGNAME"] => weblabo
_SERVER["TEST_PHP_EXECUTABLE"] => /home/weblabo/work/php-5.2.3/sapi/cli/php
_SERVER["TERM"] => ansi
_SERVER["BLOCKSIZE"] => K
_SERVER["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/weblabo/bin
_SERVER["SSH_AUTH_SOCK"] => deleted
_SERVER["SHELL"] => /bin/csh
_SERVER["HOST"] => www1097.sakura.ne.jp
_SERVER["__MKLVL__"] => 1
_SERVER["OSTYPE"] => FreeBSD
_SERVER["PWD"] => /home/weblabo/work/php-5.2.3
_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"] => 1181318221
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["SSH_CLIENT"] => deleted
_ENV["USER"] => weblabo
_ENV["MACHTYPE"] => i386
_ENV["MAIL"] => /var/mail/weblabo
_ENV["VENDOR"] => intel
_ENV["SHLVL"] => 1
_ENV["HOME"] => /home/weblabo
_ENV["TEST_PHP_SRCDIR"] => /home/weblabo/work/php-5.2.3
_ENV["SSH_TTY"] => deleted
_ENV["PKG_DBDIR"] => /home/weblabo/db/pkg
_ENV["PAGER"] => more
_ENV["GROUP"] => users
_ENV["LOGNAME"] => weblabo
_ENV["TEST_PHP_EXECUTABLE"] => /home/weblabo/work/php-5.2.3/sapi/cli/php
_ENV["TERM"] => ansi
_ENV["BLOCKSIZE"] => K
_ENV["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/weblabo/bin
_ENV["SSH_AUTH_SOCK"] => deleted
_ENV["SHELL"] => /bin/csh
_ENV["HOST"] => www1097.sakura.ne.jp
_ENV["__MKLVL__"] => 1
_ENV["OSTYPE"] => FreeBSD
_ENV["PWD"] => /home/weblabo/work/php-5.2.3
_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.