Test results for 5.2.3 [failed]
| From: | noreply@php.net | Date: | Sat, 16 Jun 2007 21:09:57 +0000 |
| Subject: | Test results for 5.2.3 [failed] | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-35452@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #35634 (Erroneous "Class declarations may not be nested" error raised)
[Zend/tests/bug35634.phpt]
filter_var() [ext/filter/tests/010.phpt]
filter_var() and FILTER_VALIDATE_URL [ext/filter/tests/015.phpt]
filter_var() and FILTER_SANITIZE_STRING [ext/filter/tests/025.phpt]
filter_var() and IPv6 [ext/filter/tests/030.phpt]
Test all filters returned by filter_list() [ext/filter/tests/033.phpt]
filter_var_array() and different arguments [ext/filter/tests/039.phpt]
COOKIE multiple cookie test [ext/filter/tests/041.phpt]
Combination of strip & sanitize filters [ext/filter/tests/042.phpt]
Character encoding test [ext/filter/tests/043.phpt]
Integer validation with spaces [ext/filter/tests/044.phpt]
Options must not be changed by filter_var() [ext/filter/tests/045.phpt]
Integer overflow [ext/filter/tests/046.phpt]
Octal integer overflow [ext/filter/tests/047.phpt]
Hex integer overflow [ext/filter/tests/048.phpt]
filter_var() and doubles with thousend separators [ext/filter/tests/049.phpt]
filter_var() and double overflow/underflow [ext/filter/tests/050.phpt]
filter_var() and default values [ext/filter/tests/051.phpt]
PMOPB-45-2007:PHP ext/filter Email Validation Vulnerability [ext/filter/tests/PMOPB45.phpt]
Bug #39763 (filter applies magic_quotes twice in parse_str()) [ext/filter/tests/bug39763.phpt]
Bug #39846 (ipv4 trailing data validation) [ext/filter/tests/bug39846.phpt]
filter_data() Float exponential weird result [ext/filter/tests/bug7733.phpt]
ripemd256 algorithm [ext/hash/tests/ripemd256.phpt]
ripemd320 algorithm [ext/hash/tests/ripemd320.phpt]
json_decode() tests [ext/json/tests/001.phpt]
json_encode() tests [ext/json/tests/002.phpt]
json_encode() & endless loop - 1 [ext/json/tests/003.phpt]
json_encode() & endless loop - 2 [ext/json/tests/004.phpt]
json_encode() & endless loop - 3 [ext/json/tests/005.phpt]
Bug #40503 (json_encode() value corruption on 32bit systems with overflown values)
[ext/json/tests/bug40503.phpt]
Bug #41034 (json_encode() ignores null byte started keys in arrays) [ext/json/tests/bug41034.phpt]
Bug #41067 (json_encode() problem with UTF-16 input) [ext/json/tests/bug41067.phpt]
Bug #41504 (json_decode() converts empty array keys to "_empty_")
[ext/json/tests/bug41504.phpt]
JSON (http://www.crockford.com/JSON/JSON_checker/test/fail*.json) [ext/json/tests/fail001.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]
proc_open [ext/standard/tests/general_functions/proc_open02.phpt]
Bug #40228 (extractTo does not create recursive empty path) [ext/zip/tests/bug40228.phpt]
=====================================================================
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 66
Exts tested : 17
---------------------------------------------------------------------
Number of tests : 3251 1572
Tests skipped : 1679 ( 51.6%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 38 ( 1.2%) ( 2.4%)
Tests passed : 1534 ( 47.2%) ( 97.6%)
---------------------------------------------------------------------
Time taken : 658 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #35634 (Erroneous "Class declarations may not be nested" error raised)
[Zend/tests/bug35634.phpt]
filter_var() [ext/filter/tests/010.phpt]
filter_var() and FILTER_VALIDATE_URL [ext/filter/tests/015.phpt]
filter_var() and FILTER_SANITIZE_STRING [ext/filter/tests/025.phpt]
filter_var() and IPv6 [ext/filter/tests/030.phpt]
Test all filters returned by filter_list() [ext/filter/tests/033.phpt]
filter_var_array() and different arguments [ext/filter/tests/039.phpt]
COOKIE multiple cookie test [ext/filter/tests/041.phpt]
Combination of strip & sanitize filters [ext/filter/tests/042.phpt]
Character encoding test [ext/filter/tests/043.phpt]
Integer validation with spaces [ext/filter/tests/044.phpt]
Options must not be changed by filter_var() [ext/filter/tests/045.phpt]
Integer overflow [ext/filter/tests/046.phpt]
Octal integer overflow [ext/filter/tests/047.phpt]
Hex integer overflow [ext/filter/tests/048.phpt]
filter_var() and doubles with thousend separators [ext/filter/tests/049.phpt]
filter_var() and double overflow/underflow [ext/filter/tests/050.phpt]
filter_var() and default values [ext/filter/tests/051.phpt]
PMOPB-45-2007:PHP ext/filter Email Validation Vulnerability [ext/filter/tests/PMOPB45.phpt]
Bug #39763 (filter applies magic_quotes twice in parse_str()) [ext/filter/tests/bug39763.phpt]
Bug #39846 (ipv4 trailing data validation) [ext/filter/tests/bug39846.phpt]
filter_data() Float exponential weird result [ext/filter/tests/bug7733.phpt]
ripemd256 algorithm [ext/hash/tests/ripemd256.phpt]
ripemd320 algorithm [ext/hash/tests/ripemd320.phpt]
json_decode() tests [ext/json/tests/001.phpt]
json_encode() tests [ext/json/tests/002.phpt]
json_encode() & endless loop - 1 [ext/json/tests/003.phpt]
json_encode() & endless loop - 2 [ext/json/tests/004.phpt]
json_encode() & endless loop - 3 [ext/json/tests/005.phpt]
Bug #40503 (json_encode() value corruption on 32bit systems with overflown values)
[ext/json/tests/bug40503.phpt]
Bug #41034 (json_encode() ignores null byte started keys in arrays) [ext/json/tests/bug41034.phpt]
Bug #41067 (json_encode() problem with UTF-16 input) [ext/json/tests/bug41067.phpt]
Bug #41504 (json_decode() converts empty array keys to "_empty_")
[ext/json/tests/bug41504.phpt]
JSON (http://www.crockford.com/JSON/JSON_checker/test/fail*.json) [ext/json/tests/fail001.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]
proc_open [ext/standard/tests/general_functions/proc_open02.phpt]
Bug #40228 (extractTo does not create recursive empty path) [ext/zip/tests/bug40228.phpt]
=====================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/Zend/tests/bug35634.phpt
================================================================================
Error: Redefining already defined constructor for class TestClass
(/usr/ports/lang/php5/work/php-5.2.3/Zend/tests/bug35634.php:12)
[Sat Jun 16 16:57:52 2007] Script:
'/usr/ports/lang/php5/work/php-5.2.3/Zend/tests/bug35634.php'
---------------------------------------
/usr/ports/lang/php5/work/php-5.2.3/Zend/zend_language_scanner.c(3182) : Block 0x082a35e4 status:
Beginning: Freed
Start: OK
End: Overflown (magic=0x0000005A instead of 0x4EAC93DE)
At least 4 bytes overflown
---------------------------------------
================================================================================
002+ [Sat Jun 16 16:57:52 2007] Script:
'/usr/ports/lang/php5/work/php-5.2.3/Zend/tests/bug35634.php'
003+ ---------------------------------------
004+ /usr/ports/lang/php5/work/php-5.2.3/Zend/zend_language_scanner.c(3182) : Block 0x082a35e4
status:
005+ Beginning: Freed
006+ Start: OK
007+ End: Overflown (magic=0x0000005A instead of 0x4EAC93DE)
008+ At least 4 bytes overflown
009+ ---------------------------------------
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/010.phpt
================================================================================
array(7) {
[0]=>
int(1)
[1]=>
int(1)
[2]=>
bool(false)
[3]=>
int(-23234)
[4]=>
bool(false)
[5]=>
bool(false)
[6]=>
array(0) {
}
}
array(7) {
[0]=>
float(1.2)
[1]=>
float(1.7)
[2]=>
bool(false)
[3]=>
float(-23234.123)
[4]=>
bool(false)
[5]=>
bool(false)
[6]=>
array(0) {
}
}
Warning: filter_var() expects parameter 2 to be long, array given in
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/010.php on line 5
NULL
string(1) "1"
string(1) "1"
string(1) "1"
string(1) "1"
string(1) "1"
Done
================================================================================
041+ string(1) "1"
042+ string(1) "1"
041- bool(false)
042- bool(false)
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/015.phpt
================================================================================
string(29) "http://example.com/index.html"
string(32) "http://www.example.com/index.php"
string(31) "http://www.example/img/test.png"
string(27) "http://www.example/img/dir/"
string(26) "http://www.example/img/dir"
string(28) "http//www.example/wrong/url/"
string(17) "http:/www.example"
string(18) "file:///tmp/test.c"
string(26) "ftp://ftp.example.com/tmp/"
string(11) "/tmp/test.c"
string(1) "/"
bool(false)
string(6) "http:/"
string(5) "http:"
string(4) "http"
string(0) ""
string(2) "-1"
bool(false)
string(18) "mailto:foo@bar.com"
string(17) "news:news.php.net"
string(14) "file://foo/bar"
string(13) "http://
/bar"
bool(false)
string(10) "http://qwe"
bool(false)
bool(false)
string(22) "http://www.example.com"
bool(false)
string(42) "http://www.example.com/path/at/the/server/"
bool(false)
string(40) "http://www.example.com/index.php?a=b&c=d"
Done
================================================================================
006+ string(28) "http//www.example/wrong/url/"
007+ string(17) "http:/www.example"
006- bool(false)
007- bool(false)
010+ string(11) "/tmp/test.c"
011+ string(1) "/"
013+ string(6) "http:/"
014+ string(5) "http:"
015+ string(4) "http"
016+ string(0) ""
017+ string(2) "-1"
017- bool(false)
018- bool(false)
019+ string(18) "mailto:foo@bar.com"
020+ string(17) "news:news.php.net"
021+ string(14) "file://foo/bar"
022+ string(13) "http://
023+ /bar"
025+ string(10) "http://qwe"
028+ string(22) "http://www.example.com"
030+ string(42) "http://www.example.com/path/at/the/server/"
032+ string(40) "http://www.example.com/index.php?a=b&c=d"
033+ Done
019- string(18) "mailto:foo@bar.com"
020- string(17) "news:news.php.net"
021- string(14) "file://foo/bar"
022- bool(false)
023- bool(false)
024- string(10) "http://qwe"
025- bool(false)
026- bool(false)
027- string(22) "http://www.example.com"
028- bool(false)
029- string(42) "http://www.example.com/path/at/the/server/"
030- bool(false)
031- string(40) "http://www.example.com/index.php?a=b&c=d"
032- Done
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/025.phpt
================================================================================
string(0) ""
string(0) ""
string(12) "!@#$%^&*()'""
string(32) "!@#$%^&*()'""
string(11) "`1234567890"
string(5) "
123"
string(1) "."
Done
================================================================================
004+ string(32) "!@#$%^&*()'""
004- string(24) "!@#$%^&*()'""
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/030.phpt
================================================================================
1:2:3:4:5:6::129.144.52.38 failed
::1:2:3:4:5:6:129.144.52.38 failed
1:2:3::4:5:6:129.144.52.38 failed
1:2:3:4::5:6:7:8 failed
Ok
================================================================================
001+ 1:2:3:4:5:6::129.144.52.38 failed
002+ ::1:2:3:4:5:6:129.144.52.38 failed
003+ 1:2:3::4:5:6:129.144.52.38 failed
004+ 1:2:3:4::5:6:7:8 failed
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/033.phpt
================================================================================
int 1 123
boolean 1
float 1 123
validate_regexp
O'Henry
validate_url PHP 1 foo@bar.com http://a.b.c 1.2.3.4
123 123abc<>() O'Henry íí¼
validate_email foo@bar.com
validate_ip 1.2.3.4
string PHP 1 foo@bar.com http://a.b.c 1.2.3.4
123 123abc() O'Henry íí¼
stripped PHP 1 foo@bar.com http://a.b.c 1.2.3.4
123 123abc() O'Henry íí¼
encoded PHP 1 foo%40bar.com http%3A%2F%2Fa.b.c 1.2.3.4 123 123abc%3C%3E%28%29
O%27Henry %ED%95%98%ED%8D%BC
special_chars PHP 1 foo@bar.com http://a.b.c 1.2.3.4
123 123abc<>() O'Henry íí¼
unsafe_raw PHP 1 foo@bar.com http://a.b.c 1.2.3.4
123 123abc<>() O'Henry íí¼
email PHP 1 foo@bar.com http//a.b.c 1.2.3.4 123 123abc
O'Henry
url PHP 1 foo@bar.com http://a.b.c 1.2.3.4
123 123abc<>() O'Henry
number_int 1 1234 123 123
number_float 1 1234 123 123
magic_quotes PHP 1 foo@bar.com http://a.b.c 1.2.3.4
123 123abc<>() O\'Henry íí¼
callback PHP 1 FOO@BAR.COM HTTP://A.B.C 1.2.3.4 123 123ABC<>()
O'HENRY íí¼
================================================================================
005+ validate_url PHP 1 foo@bar.com http://a.b.c
1.2.3.4 123 123abc<>() O'Henry íí¼
005- validate_url http://a.b.c
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/039.phpt
================================================================================
-- (1)
Warning: filter_var_array() expects parameter 1 to be array, null given in
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/039.php on line 4
NULL
*RECURSION*
================================================================================
005+ *RECURSION*
005- array(0) {
006- }
007- array(2) {
008- [0]=>
009- string(1) "1"
010- ["blah"]=>
011- string(4) "hoho"
012- }
013- bool(false)
014- bool(false)
015- bool(false)
016- -- (2)
017- bool(false)
018- bool(false)
019- bool(false)
020- -- (3)
021- bool(false)
022- bool(false)
023- bool(false)
024- -- (4)
025- bool(false)
026- array(0) {
027- }
028- array(1) {
029- ["var_name"]=>
030- NULL
031- }
032- array(1) {
033- ["var_name"]=>
034- NULL
035- }
036- array(1) {
037- ["var_name"]=>
038- string(0) ""
039- }
040- -- (5)
041-
042- Warning: filter_var_array(): Empty keys are not allowed in the definition array in %s on line
%d
043- bool(false)
044-
045- Warning: filter_var_array(): Empty keys are not allowed in the definition array in %s on line
%d
046- bool(false)
047- bool(false)
048- array(1) {
049- [""]=>
050- string(0) ""
051- }
052- int(-1)
053- bool(false)
054- array(1) {
055- [""]=>
056- string(0) ""
057- }
058- int(100000)
059- bool(false)
060- array(1) {
061- [""]=>
062- string(0) ""
063- }
064- string(0) ""
065- Done
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/041.phpt
================================================================================
array(3) {
["abc"]=>
string(3) "dir"
["def"]=>
string(4) "true"
["xyz"]=>
string(17) ""foo bar""
}
bool(true)
string(4) "root"
string(4) "true"
string(9) ""foo bar""
bool(false)
string(17) ""foo bar""
================================================================================
010+ string(4) "root"
010- string(3) "dir"
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/042.phpt
================================================================================
XYZ< script>alert(/ext/filter+bypass/);< /script>ABC
XYZ<script>alert(/ext/filter+bypass/);</script>ABC
================================================================================
001+ XYZ< script>alert(/ext/filter+bypass/);< /script>ABC
002+ XYZ<script>alert(/ext/filter+bypass/);</script>ABC
001- XYZalert(/ext/filter+bypass/);ABC
002- XYZalert(/ext/filter+bypass/);ABC
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/043.phpt
================================================================================
string(0) ""
string(8) "&#1;"
string(8) "&#2;"
string(8) "&#3;"
string(8) "&#4;"
string(8) "&#5;"
string(8) "&#6;"
string(8) "&#7;"
string(8) "&#8;"
string(8) "&#9;"
string(9) "&#10;"
string(9) "&#11;"
string(9) "&#12;"
string(9) "&#13;"
string(9) "&#14;"
string(9) "&#15;"
string(9) "&#16;"
string(9) "&#17;"
string(9) "&#18;"
string(9) "&#19;"
string(9) "&#20;"
string(9) "&#21;"
string(9) "&#22;"
string(9) "&#23;"
string(9) "&#24;"
string(9) "&#25;"
string(9) "&#26;"
string(9) "&#27;"
string(9) "&#28;"
string(9) "&#29;"
string(9) "&#30;"
string(9) "&#31;"
string(1) " "
string(1) "!"
string(9) "&#34;"
string(1) "#"
string(1) "$"
string(1) "%"
string(5) "&"
string(9) "&#39;"
string(1) "("
string(1) ")"
string(1) "*"
string(1) "+"
string(1) ","
string(1) "-"
string(1) "."
string(1) "/"
string(1) "0"
string(1) "1"
string(1) "2"
string(1) "3"
string(1) "4"
string(1) "5"
string(1) "6"
string(1) "7"
string(1) "8"
string(1) "9"
string(1) ":"
string(1) ";"
string(0) ""
string(1) "="
string(1) ">"
string(1) "?"
string(1) "@"
string(1) "A"
string(1) "B"
string(1) "C"
string(1) "D"
string(1) "E"
string(1) "F"
string(1) "G"
string(1) "H"
string(1) "I"
string(1) "J"
string(1) "K"
string(1) "L"
string(1) "M"
string(1) "N"
string(1) "O"
string(1) "P"
string(1) "Q"
string(1) "R"
string(1) "S"
string(1) "T"
string(1) "U"
string(1) "V"
string(1) "W"
string(1) "X"
string(1) "Y"
string(1) "Z"
string(1) "["
string(1) "\"
string(1) "]"
string(1) "^"
string(1) "_"
string(1) "`"
string(1) "a"
string(1) "b"
string(1) "c"
string(1) "d"
string(1) "e"
string(1) "f"
string(1) "g"
string(1) "h"
string(1) "i"
string(1) "j"
string(1) "k"
string(1) "l"
string(1) "m"
string(1) "n"
string(1) "o"
string(1) "p"
string(1) "q"
string(1) "r"
string(1) "s"
string(1) "t"
string(1) "u"
string(1) "v"
string(1) "w"
string(1) "x"
string(1) "y"
string(1) "z"
string(1) "{"
string(1) "|"
string(1) "}"
string(1) "~"
string(1) ""
string(10) "&#128;"
string(10) "&#129;"
string(10) "&#130;"
string(10) "&#131;"
string(10) "&#132;"
string(10) "&#133;"
string(10) "&#134;"
string(10) "&#135;"
string(10) "&#136;"
string(10) "&#137;"
string(10) "&#138;"
string(10) "&#139;"
string(10) "&#140;"
string(10) "&#141;"
string(10) "&#142;"
string(10) "&#143;"
string(10) "&#144;"
string(10) "&#145;"
string(10) "&#146;"
string(10) "&#147;"
string(10) "&#148;"
string(10) "&#149;"
string(10) "&#150;"
string(10) "&#151;"
string(10) "&#152;"
string(10) "&#153;"
string(10) "&#154;"
string(10) "&#155;"
string(10) "&#156;"
string(10) "&#157;"
string(10) "&#158;"
string(10) "&#159;"
string(10) "&#160;"
string(10) "&#161;"
string(10) "&#162;"
string(10) "&#163;"
string(10) "&#164;"
string(10) "&#165;"
string(10) "&#166;"
string(10) "&#167;"
string(10) "&#168;"
string(10) "&#169;"
string(10) "&#170;"
string(10) "&#171;"
string(10) "&#172;"
string(10) "&#173;"
string(10) "&#174;"
string(10) "&#175;"
string(10) "&#176;"
string(10) "&#177;"
string(10) "&#178;"
string(10) "&#179;"
string(10) "&#180;"
string(10) "&#181;"
string(10) "&#182;"
string(10) "&#183;"
string(10) "&#184;"
string(10) "&#185;"
string(10) "&#186;"
string(10) "&#187;"
string(10) "&#188;"
string(10) "&#189;"
string(10) "&#190;"
string(10) "&#191;"
string(10) "&#192;"
string(10) "&#193;"
string(10) "&#194;"
string(10) "&#195;"
string(10) "&#196;"
string(10) "&#197;"
string(10) "&#198;"
string(10) "&#199;"
string(10) "&#200;"
string(10) "&#201;"
string(10) "&#202;"
string(10) "&#203;"
string(10) "&#204;"
string(10) "&#205;"
string(10) "&#206;"
string(10) "&#207;"
string(10) "&#208;"
string(10) "&#209;"
string(10) "&#210;"
string(10) "&#211;"
string(10) "&#212;"
string(10) "&#213;"
string(10) "&#214;"
string(10) "&#215;"
string(10) "&#216;"
string(10) "&#217;"
string(10) "&#218;"
string(10) "&#219;"
string(10) "&#220;"
string(10) "&#221;"
string(10) "&#222;"
string(10) "&#223;"
string(10) "&#224;"
string(10) "&#225;"
string(10) "&#226;"
string(10) "&#227;"
string(10) "&#228;"
string(10) "&#229;"
string(10) "&#230;"
string(10) "&#231;"
string(10) "&#232;"
string(10) "&#233;"
string(10) "&#234;"
string(10) "&#235;"
string(10) "&#236;"
string(10) "&#237;"
string(10) "&#238;"
string(10) "&#239;"
string(10) "&#240;"
string(10) "&#241;"
string(10) "&#242;"
string(10) "&#243;"
string(10) "&#244;"
string(10) "&#245;"
string(10) "&#246;"
string(10) "&#247;"
string(10) "&#248;"
string(10) "&#249;"
string(10) "&#250;"
string(10) "&#251;"
string(10) "&#252;"
string(10) "&#253;"
string(10) "&#254;"
string(10) "&#255;"
================================================================================
001+ string(0) ""
002+ string(8) "&#1;"
003+ string(8) "&#2;"
004+ string(8) "&#3;"
005+ string(8) "&#4;"
006+ string(8) "&#5;"
007+ string(8) "&#6;"
008+ string(8) "&#7;"
009+ string(8) "&#8;"
010+ string(8) "&#9;"
011+ string(9) "&#10;"
012+ string(9) "&#11;"
013+ string(9) "&#12;"
014+ string(9) "&#13;"
015+ string(9) "&#14;"
016+ string(9) "&#15;"
017+ string(9) "&#16;"
018+ string(9) "&#17;"
019+ string(9) "&#18;"
020+ string(9) "&#19;"
021+ string(9) "&#20;"
022+ string(9) "&#21;"
023+ string(9) "&#22;"
024+ string(9) "&#23;"
025+ string(9) "&#24;"
026+ string(9) "&#25;"
027+ string(9) "&#26;"
028+ string(9) "&#27;"
029+ string(9) "&#28;"
030+ string(9) "&#29;"
031+ string(9) "&#30;"
032+ string(9) "&#31;"
001- string(4) "�"
002- string(4) ""
003- string(4) ""
004- string(4) ""
005- string(4) ""
006- string(4) ""
007- string(4) ""
008- string(4) ""
009- string(4) ""
010- string(4) "	"
011- string(5) " "
012- string(5) ""
013- string(5) ""
014- string(5) " "
015- string(5) ""
016- string(5) ""
017- string(5) ""
018- string(5) ""
019- string(5) ""
020- string(5) ""
021- string(5) ""
022- string(5) ""
023- string(5) ""
024- string(5) ""
025- string(5) ""
026- string(5) ""
027- string(5) ""
028- string(5) ""
029- string(5) ""
030- string(5) ""
031- string(5) ""
032- string(5) ""
035+ string(9) "&#34;"
035- string(5) """
040+ string(9) "&#39;"
040- string(5) "'"
128+ string(1) ""
129+ string(10) "&#128;"
130+ string(10) "&#129;"
131+ string(10) "&#130;"
132+ string(10) "&#131;"
133+ string(10) "&#132;"
134+ string(10) "&#133;"
135+ string(10) "&#134;"
136+ string(10) "&#135;"
137+ string(10) "&#136;"
138+ string(10) "&#137;"
139+ string(10) "&#138;"
140+ string(10) "&#139;"
141+ string(10) "&#140;"
142+ string(10) "&#141;"
143+ string(10) "&#142;"
144+ string(10) "&#143;"
145+ string(10) "&#144;"
146+ string(10) "&#145;"
147+ string(10) "&#146;"
148+ string(10) "&#147;"
149+ string(10) "&#148;"
150+ string(10) "&#149;"
151+ string(10) "&#150;"
152+ string(10) "&#151;"
153+ string(10) "&#152;"
154+ string(10) "&#153;"
155+ string(10) "&#154;"
156+ string(10) "&#155;"
157+ string(10) "&#156;"
158+ string(10) "&#157;"
159+ string(10) "&#158;"
160+ string(10) "&#159;"
161+ string(10) "&#160;"
162+ string(10) "&#161;"
163+ string(10) "&#162;"
164+ string(10) "&#163;"
165+ string(10) "&#164;"
166+ string(10) "&#165;"
167+ string(10) "&#166;"
168+ string(10) "&#167;"
169+ string(10) "&#168;"
170+ string(10) "&#169;"
171+ string(10) "&#170;"
172+ string(10) "&#171;"
173+ string(10) "&#172;"
174+ string(10) "&#173;"
175+ string(10) "&#174;"
176+ string(10) "&#175;"
177+ string(10) "&#176;"
178+ string(10) "&#177;"
179+ string(10) "&#178;"
180+ string(10) "&#179;"
181+ string(10) "&#180;"
182+ string(10) "&#181;"
183+ string(10) "&#182;"
184+ string(10) "&#183;"
185+ string(10) "&#184;"
186+ string(10) "&#185;"
187+ string(10) "&#186;"
188+ string(10) "&#187;"
189+ string(10) "&#188;"
190+ string(10) "&#189;"
191+ string(10) "&#190;"
192+ string(10) "&#191;"
193+ string(10) "&#192;"
194+ string(10) "&#193;"
195+ string(10) "&#194;"
196+ string(10) "&#195;"
197+ string(10) "&#196;"
198+ string(10) "&#197;"
199+ string(10) "&#198;"
200+ string(10) "&#199;"
201+ string(10) "&#200;"
202+ string(10) "&#201;"
203+ string(10) "&#202;"
204+ string(10) "&#203;"
205+ string(10) "&#204;"
206+ string(10) "&#205;"
207+ string(10) "&#206;"
208+ string(10) "&#207;"
209+ string(10) "&#208;"
210+ string(10) "&#209;"
211+ string(10) "&#210;"
212+ string(10) "&#211;"
213+ string(10) "&#212;"
214+ string(10) "&#213;"
215+ string(10) "&#214;"
216+ string(10) "&#215;"
217+ string(10) "&#216;"
218+ string(10) "&#217;"
219+ string(10) "&#218;"
220+ string(10) "&#219;"
221+ string(10) "&#220;"
222+ string(10) "&#221;"
223+ string(10) "&#222;"
224+ string(10) "&#223;"
225+ string(10) "&#224;"
226+ string(10) "&#225;"
227+ string(10) "&#226;"
228+ string(10) "&#227;"
229+ string(10) "&#228;"
230+ string(10) "&#229;"
231+ string(10) "&#230;"
232+ string(10) "&#231;"
233+ string(10) "&#232;"
234+ string(10) "&#233;"
235+ string(10) "&#234;"
236+ string(10) "&#235;"
237+ string(10) "&#236;"
238+ string(10) "&#237;"
239+ string(10) "&#238;"
240+ string(10) "&#239;"
241+ string(10) "&#240;"
242+ string(10) "&#241;"
243+ string(10) "&#242;"
244+ string(10) "&#243;"
245+ string(10) "&#244;"
246+ string(10) "&#245;"
247+ string(10) "&#246;"
248+ string(10) "&#247;"
249+ string(10) "&#248;"
250+ string(10) "&#249;"
251+ string(10) "&#250;"
252+ string(10) "&#251;"
253+ string(10) "&#252;"
254+ string(10) "&#253;"
255+ string(10) "&#254;"
256+ string(10) "&#255;"
128- string(6) ""
129- string(6) "€"
130- string(6) ""
131- string(6) "‚"
132- string(6) "ƒ"
133- string(6) "„"
134- string(6) "…"
135- string(6) "†"
136- string(6) "‡"
137- string(6) "ˆ"
138- string(6) "‰"
139- string(6) "Š"
140- string(6) "‹"
141- string(6) "Œ"
142- string(6) ""
143- string(6) "Ž"
144- string(6) ""
145- string(6) ""
146- string(6) "‘"
147- string(6) "’"
148- string(6) "“"
149- string(6) "”"
150- string(6) "•"
151- string(6) "–"
152- string(6) "—"
153- string(6) "˜"
154- string(6) "™"
155- string(6) "š"
156- string(6) "›"
157- string(6) "œ"
158- string(6) ""
159- string(6) "ž"
160- string(6) "Ÿ"
161- string(6) " "
162- string(6) "¡"
163- string(6) "¢"
164- string(6) "£"
165- string(6) "¤"
166- string(6) "¥"
167- string(6) "¦"
168- string(6) "§"
169- string(6) "¨"
170- string(6) "©"
171- string(6) "ª"
172- string(6) "«"
173- string(6) "¬"
174- string(6) "­"
175- string(6) "®"
176- string(6) "¯"
177- string(6) "°"
178- string(6) "±"
179- string(6) "²"
180- string(6) "³"
181- string(6) "´"
182- string(6) "µ"
183- string(6) "¶"
184- string(6) "·"
185- string(6) "¸"
186- string(6) "¹"
187- string(6) "º"
188- string(6) "»"
189- string(6) "¼"
190- string(6) "½"
191- string(6) "¾"
192- string(6) "¿"
193- string(6) "À"
194- string(6) "Á"
195- string(6) "Â"
196- string(6) "Ã"
197- string(6) "Ä"
198- string(6) "Å"
199- string(6) "Æ"
200- string(6) "Ç"
201- string(6) "È"
202- string(6) "É"
203- string(6) "Ê"
204- string(6) "Ë"
205- string(6) "Ì"
206- string(6) "Í"
207- string(6) "Î"
208- string(6) "Ï"
209- string(6) "Ð"
210- string(6) "Ñ"
211- string(6) "Ò"
212- string(6) "Ó"
213- string(6) "Ô"
214- string(6) "Õ"
215- string(6) "Ö"
216- string(6) "×"
217- string(6) "Ø"
218- string(6) "Ù"
219- string(6) "Ú"
220- string(6) "Û"
221- string(6) "Ü"
222- string(6) "Ý"
223- string(6) "Þ"
224- string(6) "ß"
225- string(6) "à"
226- string(6) "á"
227- string(6) "â"
228- string(6) "ã"
229- string(6) "ä"
230- string(6) "å"
231- string(6) "æ"
232- string(6) "ç"
233- string(6) "è"
234- string(6) "é"
235- string(6) "ê"
236- string(6) "ë"
237- string(6) "ì"
238- string(6) "í"
239- string(6) "î"
240- string(6) "ï"
241- string(6) "ð"
242- string(6) "ñ"
243- string(6) "ò"
244- string(6) "ó"
245- string(6) "ô"
246- string(6) "õ"
247- string(6) "ö"
248- string(6) "÷"
249- string(6) "ø"
250- string(6) "ù"
251- string(6) "ú"
252- string(6) "û"
253- string(6) "ü"
254- string(6) "ý"
255- string(6) "þ"
256- string(6) "ÿ"
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/044.phpt
================================================================================
bool(false)
float(0)
float(123)
float(123.01)
================================================================================
002+ float(0)
002- bool(false)
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/045.phpt
================================================================================
bug
bug
bug
ok
bug
bug
bug
================================================================================
001+ bug
002+ bug
003+ bug
002- ok
003- ok
004- ok
005+ bug
006+ bug
007+ bug
005- ok
006- ok
007- ok
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/046.phpt
================================================================================
bool(true)
int(-2147483648)
bool(true)
int(-2147483648)
================================================================================
002+ int(-2147483648)
002- bool(false)
004+ int(-2147483648)
004- bool(false)
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/047.phpt
================================================================================
bool(true)
bool(true)
bool(true)
int(0)
================================================================================
004+ int(0)
004- bool(false)
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/048.phpt
================================================================================
bool(true)
bool(true)
bool(true)
int(0)
================================================================================
004+ int(0)
004- bool(false)
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/049.phpt
================================================================================
1,234,567,890.1234567165 -> false != 1234567890.1235
-1,234,567,890.1234567165 -> false != -1234567890.1235
Ok
================================================================================
001+ 1,234,567,890.1234567165 -> false != 1234567890.1235
002+ -1,234,567,890.1234567165 -> false != -1234567890.1235
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/050.phpt
================================================================================
1e+309 -> INF != false
1e-324 -> 0 != false
Ok
================================================================================
001+ 1e+309 -> INF != false
002+ 1e-324 -> 0 != false
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/051.phpt
================================================================================
bool(false)
================================================================================
001+ bool(false)
001- int(321)
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/PMOPB45.phpt
================================================================================
string(17) "test@example.com
"
================================================================================
001+ string(17) "test@example.com
001- bool(false)
002+ "
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/bug39763.phpt
================================================================================
\\\"probably a bug\\\"
\\\"probably a bug\\\"
================================================================================
001+ \\\"probably a bug\\\"
002+ \\\"probably a bug\\\"
001- \"probably a bug\"
002- \"probably a bug\"
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/bug39846.phpt
================================================================================
string(29) "192.168.1.100random-text-here"
string(17) "192.168.1.155[0x0]foo"
================================================================================
001+ string(29) "192.168.1.100random-text-here"
002+ string(17) "192.168.1.155[0x0]foo"
001- bool(false)
002- bool(false)
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/filter/tests/bug7733.phpt
================================================================================
array(5) {
[0]=>
float(0)
[1]=>
float(10)
[2]=>
float(2)
[3]=>
float(0)
[4]=>
float(0)
}
================================================================================
003+ float(0)
003- bool(false)
005+ float(10)
005- bool(false)
007+ float(2)
007- bool(false)
009+ float(0)
009- bool(false)
011+ float(0)
011- bool(false)
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.phpt
================================================================================
Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 2
Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 3
Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 4
Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 5
Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 6
Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 7
Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 8
Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 9
Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 10
================================================================================
001+ Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 2
002+
003+
004+ Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 3
005+
006+
007+ Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 4
008+
009+
001- 02ba4c4e5f8ecd1877fc52d64d30e37a2d9774fb1e5d026380ae0168e3c5522d
002- f9333e45d857f5d90a91bab70a1eba0cfb1be4b0783c9acfcd883a9134692925
003- afbd6e228b9d8cbbcef5ca2d03e6dba10ac0bc7dcbe4680e1e42d2e975459b65
004- 87e971759a1ce47a514d5c914c392c9018c7c46bc14465554afcdf54a5070c0e
005- 649d3034751ea216776bf9a18acc81bc7896118a5197968782dd1fd97d8d5133
006- 3843045583aac6c8c8d9128573e7a9809afb2a0f34ccc36ea9e72f16f6368e3f
007- 5740a408ac16b720b84424ae931cbb1fe363d1d0bf4017f1a89f7ea6de77a0b8
008- 06fdcc7a409548aaf91368c06a6275b553e3f099bf0ea4edfd6778df89a890dd
009- ac953744e10e31514c150d4d8d7b677342e33399788296e43ae4850ce4f97978
010+ Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 5
011+
012+
013+ Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 6
014+
015+
016+ Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 7
017+
018+
019+ Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 8
020+
021+
022+ Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 9
023+
024+
025+ Warning: hash(): Unknown hashing algorithm: ripemd256 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd256.php on line 10
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.phpt
================================================================================
Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 2
Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 3
Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 4
Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 5
Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 6
Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 7
Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 8
Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 9
Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 10
================================================================================
001+ Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 2
002+
003+
004+ Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 3
005+
006+
007+ Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 4
008+
009+
001- 22d65d5661536cdc75c1fdf5c6de7b41b9f27325ebc61e8557177d705a0ec880151c3a32a00899b8
002- ce78850638f92658a5a585097579926dda667a5716562cfcf6fbe77f63542f99b04705d6970dff5d
003- de4c01b3054f8930a79d09ae738e92301e5a17085beffdc1b8d116713e74f82fa942d64cdbc4682d
004- 3a8e28502ed45d422f68844f9dd316e7b98533fa3f2a91d29f84d425c88d6b4eff727df66a7c0197
005- cabdb1810b92470a2093aa6bce05952c28348cf43ff60841975166bb40ed234004b8824463e6b009
006- d034a7950cf722021ba4b84df769a5de2060e259df4c9bb4a4268c0e935bbc7470a969c9d072a1ac
007- ed544940c86d67f250d232c30b7b3e5770e0c60c8cb9a4cafe3b11388af9920e1b99230b843c86a4
008- 557888af5f6d8ed62ab66945c6d2a0a47ecd5341e915eb8fea1d0524955f825dc717e4a008ab2d42
009- bdee37f4371e20646b8b0d862dda16292ae36f40965e8c8509e63d1dbddecc503e2b63eb9245bb66
010+ Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 5
011+
012+
013+ Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 6
014+
015+
016+ Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 7
017+
018+
019+ Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 8
020+
021+
022+ Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 9
023+
024+
025+ Warning: hash(): Unknown hashing algorithm: ripemd320 in
/usr/ports/lang/php5/work/php-5.2.3/ext/hash/tests/ripemd320.php on line 10
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/json/tests/001.phpt
================================================================================
Warning: json_decode() expects at least 1 parameter, 0 given in
/usr/ports/lang/php5/work/php-5.2.3/ext/json/tests/001.php on line 3
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
object(stdClass)#1 (1) {
["test"]=>
object(stdClass)#2 (1) {
["foo"]=>
string(3) "bar"
}
}
object(stdClass)#1 (1) {
["test"]=>
object(stdClass)#2 (1) {
["foo"]=>
string(0) ""
}
}
Segmentation fault (core dumped)
================================================================================
006+ NULL
007+ NULL
008+ NULL
009+ NULL
010+ NULL
011+ NULL
006- string(1) "."
007- string(1) "."
008- string(3) "<?>"
009- string(1) ";"
010- string(12) "ÑÑÑÑиÑ"
011- string(4) "blah"
027+ Segmentation fault (core dumped)
027- object(stdClass)#1 (1) {
028- ["_empty_"]=>
029- object(stdClass)#2 (1) {
030- ["foo"]=>
031- string(0) ""
032- }
033- }
034- object(stdClass)#1 (1) {
035- ["_empty_"]=>
036- object(stdClass)#2 (1) {
037- ["_empty_"]=>
038- string(0) ""
039- }
040- }
041- NULL
042- NULL
043- Done
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/json/tests/002.phpt
================================================================================
string(2) """"
string(4) "null"
string(4) "true"
string(2) "{}"
string(5) "[[1]]"
string(1) "1"
string(38) ""\u0440\u0443\u0441\u0441\u0438\u0448""
Done
================================================================================
004+ string(2) "{}"
004- string(7) "{"":""}"
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/json/tests/003.phpt
================================================================================
array(1) {
[0]=>
&array(1) {
[0]=>
&array(1) {
[0]=>
*RECURSION*
}
}
}
Bus error (core dumped)
================================================================================
011+ Bus error (core dumped)
011-
012- Warning: json_encode(): recursion detected in %s on line %d
013- string(8) "[[null]]"
014- Done
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/json/tests/004.phpt
================================================================================
object(stdClass)#1 (1) {
["prop"]=>
object(stdClass)#1 (1) {
["prop"]=>
*RECURSION*
}
}
Bus error (core dumped)
================================================================================
008+ Bus error (core dumped)
008-
009- Warning: json_encode(): recursion detected in %s on line %d
010- string(22) "{"prop":{"prop":null}}"
011- Done
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/json/tests/005.phpt
================================================================================
array(1) {
[0]=>
array(1) {
[0]=>
*RECURSION*
}
}
Bus error (core dumped)
================================================================================
008+ Bus error (core dumped)
008-
009- Warning: json_encode(): recursion detected in %s on line %d
010- string(8) "[[null]]"
011- Done
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/json/tests/bug40503.phpt
================================================================================
2147483647 == 2147483647
2147483648 != 2147483650
================================================================================
002+ 2147483648 != 2147483650
002- 2147483648 == 2147483648
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/json/tests/bug41034.phpt
================================================================================
{"0":0,"1":"[0x0]null-prefixed value"}
Done
================================================================================
001+ {"0":0,"1":"[0x0]null-prefixed value"}
001- {"0":0,"\u0000ab":1,"1":"\u0000null-prefixed value"}
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/json/tests/bug41067.phpt
================================================================================
f09d8480
["\ud834\udd00"]
eda0b4edb480
END
================================================================================
004+ eda0b4edb480
004- f09d8480
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/json/tests/bug41504.phpt
================================================================================
Segmentation fault (core dumped)
================================================================================
001+ Segmentation fault (core dumped)
001- array(1) {
002- [""]=>
003- string(5) "value"
004- }
005- array(2) {
006- [""]=>
007- string(5) "value"
008- ["key"]=>
009- string(5) "value"
010- }
011- array(2) {
012- ["key"]=>
013- string(5) "value"
014- [""]=>
015- string(5) "value"
016- }
017- Done
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/json/tests/fail001.phpt
================================================================================
Testing: "A JSON payload should be an object or array, not a string."
AS OBJECT
NULL
AS ARRAY
NULL
Testing: ["Unclosed array"
AS OBJECT
NULL
AS ARRAY
NULL
Testing: {unquoted_key: "keys must be quoted}
AS OBJECT
NULL
AS ARRAY
NULL
Testing: ["extra comma",]
AS OBJECT
NULL
AS ARRAY
NULL
Testing: ["double extra comma",,]
AS OBJECT
NULL
AS ARRAY
NULL
Testing: [ , "<-- missing value"]
AS OBJECT
NULL
AS ARRAY
NULL
Testing: ["Comma after the close"],
AS OBJECT
NULL
AS ARRAY
NULL
Testing: ["Extra close"]]
AS OBJECT
NULL
AS ARRAY
NULL
Testing: {"Extra comma": true,}
AS OBJECT
NULL
AS ARRAY
NULL
Testing: {"Extra value after close": true} "misplaced quoted value"
AS OBJECT
NULL
AS ARRAY
NULL
Testing: {"Illegal expression": 1 + 2}
AS OBJECT
NULL
AS ARRAY
NULL
Testing: {"Illegal invocation": alert()}
AS OBJECT
NULL
AS ARRAY
NULL
Testing: {"Numbers cannot have leading zeroes": 013}
AS OBJECT
NULL
AS ARRAY
NULL
Testing: {"Numbers cannot be hex": 0x14}
AS OBJECT
NULL
AS ARRAY
NULL
Testing: ["Illegal backslash escape: \x15"]
AS OBJECT
NULL
AS ARRAY
NULL
Testing: ["Illegal backslash escape: \'"]
AS OBJECT
NULL
AS ARRAY
NULL
Testing: ["Illegal backslash escape: \017"]
AS OBJECT
NULL
AS ARRAY
NULL
Testing:
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[["Too
deep"]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
AS OBJECT
NULL
AS ARRAY
NULL
Testing: {"Missing colon" null}
AS OBJECT
NULL
AS ARRAY
NULL
Testing: {"Double colon":: null}
AS OBJECT
NULL
AS ARRAY
NULL
Testing: {"Comma instead of colon", null}
AS OBJECT
NULL
AS ARRAY
NULL
Testing: ["Colon instead of comma": false]
AS OBJECT
NULL
AS ARRAY
NULL
Testing: ["Bad value", truth]
AS OBJECT
NULL
AS ARRAY
NULL
Testing: ['single quote']
AS OBJECT
NULL
AS ARRAY
NULL
================================================================================
003+ NULL
003- string(58) "A JSON payload should be an object or array, not a string."
005+ NULL
005- string(58) "A JSON payload should be an object or array, not a string."
================================================================================
================================================================================
/usr/ports/lang/php5/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)
["_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"]=>
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,"_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"]
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)
["_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"]=>
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"
}
================================================================================
279+ ["_empty_"]=>
279- [""]=>
425+ ["JSON Test Pattern pass1",{"object with 1 member":["array with 1
element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_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 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"]
425- ["JSON Test Pattern pass1",{"object with 1 member":["array with 1
element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"":0,"E
no .":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 membe!
r\":[\"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"]
641+ ["_empty_"]=>
641- [""]=>
================================================================================
================================================================================
/usr/ports/lang/php5/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)
["_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"]=>
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,"_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"]
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)
["_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"]=>
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"
}
================================================================================
231+ ["_empty_"]=>
231- [""]=>
334+ ["JSON Test Pattern pass1",{"object with 1 member":["array with 1
element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_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"]
334- ["JSON Test Pattern pass1",{"object with 1 member":["array with 1
element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"":0,"zero":0,"one":1,"space":"
","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/
&
\/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","true":true,"false":false,"null":null,"array":[],"object":[],"address":"50
St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/
\/* <!-- --","# -- --> *\/":" "," s p a c e d
":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object
with 1 member\":[\"array with 1 element\"]}","quotes":""
\" %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"]
507+ ["_empty_"]=>
507- [""]=>
================================================================================
================================================================================
/usr/ports/lang/php5/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(64919)
["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(64919)
["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)
================================================================================
================================================================================
/usr/ports/lang/php5/work/php-5.2.3/ext/zip/tests/bug40228.phpt
================================================================================
Failed.
Done
================================================================================
001+ Failed.
001- Ok
================================================================================
================================================================================
BUILD ENVIRONMENT
================================================================================
OS:
FreeBSD - FreeBSD ml350g1.mcphadencomputers.com 6.1-RELEASE-p17 FreeBSD 6.1-RELEASE-p17 #0: Mon May
28 03:14:22 EDT 2007 root@ml350g1.mcphadencomputers.com:/usr/obj/usr/src/sys/ML350G1 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:
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Libraries:
/usr/ports/lang/php5/work/php-5.2.3/sapi/cli/php:
libcrypt.so.3 => /lib/libcrypt.so.3 (0x2829f000)
libmysqlclient.so.15 => /usr/local/lib/mysql/libmysqlclient.so.15 (0x282b7000)
libm.so.4 => /lib/libm.so.4 (0x28325000)
libssl.so.5 => /usr/local/lib/libssl.so.5 (0x2833e000)
libcrypto.so.5 => /usr/local/lib/libcrypto.so.5 (0x28379000)
libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x28491000)
libz.so.3 => /lib/libz.so.3 (0x285a9000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x285b9000)
libc.so.6 => /lib/libc.so.6 (0x286a6000)
User's E-mail: mcp dot craig at gmail dot com
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 5.2.3
System => FreeBSD ml350g1.mcphadencomputers.com 6.1-RELEASE-p17 FreeBSD 6.1-RELEASE-p17 #0: Mon
May 28 03:14:22 EDT 2007 root@ml350g1.mcphadencomputers.com:/usr/obj/usr/src/sys/ML350G1 i386
Build Date => Jun 16 2007 16:47:12
Configure Command => './configure' '--enable-versioning'
'--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php'
'--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local'
'--with-mysql=/usr/local' '--with-openssl=/usr/local'
'--enable-reflection' '--program-prefix='
'--enable-force-cgi-redirect' '--enable-discard-path'
'--enable-fastcgi' '--with-apxs2=/usr/local/sbin/apxs'
'--with-regex=php' '--with-zend-vm=CALL' '--enable-debug'
'--enable-zend-multibyte' '--prefix=/usr/local'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/etc
Loaded Configuration File => (none)
Scan this dir for additional .ini files => /usr/local/etc/php
additional .ini files parsed => /usr/local/etc/php/extensions.ini
PHP API => 20041225
PHP Extension => 20060613
Zend Extension => 220060519
Debug Build => yes
Thread Safety => disabled
Zend Memory Manager => enabled
IPv6 Support => enabled
Registered PHP Streams => php, file, data, http, ftp, https, ftps, zip
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags,
convert.*, consumed
This server is protected with the Suhosin Patch 0.9.6.2
Copyright (c) 2006 Hardened-PHP Project
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
_______________________________________________________________________
Configuration
PHP Core
Directive => Local Value => Master Value
allow_call_time_pass_reference => On => On
allow_url_fopen => On => On
allow_url_include => Off => Off
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
detect_unicode => On => On
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => 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 => /usr/local/lib/php/20060613-debug => /usr/local/lib/php/20060613-debug
file_uploads => On => On
highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font
style="color: #FFFFFF">#FFFFFF</font>
highlight.comment => <font style="color: #FF8000">#FF8000</font> =>
<font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> =>
<font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> =>
<font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> =>
<font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> =>
<font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/usr/local/share/pear => .:/usr/local/share/pear
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
suhosin.log.phpscript => 0 => 0
suhosin.log.phpscript.is_safe => Off => Off
suhosin.log.phpscript.name => no value => no value
suhosin.log.sapi => no value => no value
suhosin.log.script => no value => no value
suhosin.log.script.name => no value => no value
suhosin.log.syslog => no value => no value
suhosin.log.syslog.facility => no value => no value
suhosin.log.syslog.priority => no value => no value
suhosin.log.use-x-forwarded-for => 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
curl
cURL support => enabled
cURL Information => libcurl/7.16.1 OpenSSL/0.9.8e zlib/1.2.2 libssh2/0.14
date
date/time support => enabled
"Olson" Timezone Database Version => 2007.5
Timezone Database => internal
Default timezone => America/New_York
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
fileinfo
fileinfo support => enabled
filter
Input Validation and Filtering => enabled
Revision => $Revision: 1.74 $
Directive => Local Value => Master Value
filter.default => unsafe_raw => unsafe_raw
filter.default_flags => no value => no value
fribidi
FriBidi support => enabled
FriBidi version => 0.10.8
hash
hash support => enabled
Hashing Engines => md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 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
json
json support => enabled
json version => 1.2.1
libxml
libXML support => active
libXML Version => 2.6.27
libXML streams => enabled
mysql
MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => 5.0.41
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.8e 23 Feb 2007
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 7.0 18-Dec-2006
pdf
PDF Support => enabled
PDFlib GmbH Binary-Version => 7.0.0p3
PECL Version => 2.1.3
Revision => $Revision: 1.5 $
Reflection
Reflection => enabled
Version => $Id: php_reflection.c,v 1.164.2.33.2.39 2007/05/29 08:44:05 helly Exp $
standard
Regex Library => Bundled library enabled
Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i
Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
default_socket_timeout => 60 => 60
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= =>
a=href,area=href,frame=src,form=,fieldset=
user_agent => no value => no value
xml
XML Support => active
XML Namespace Support => active
libxml2 Version => 2.6.27
yaz
YAZ Support => enabled
PHP/YAZ Version => 1.0.8
YAZ Version => 2.1.53
Compiled with YAZ version => 2.1.53
zip
Zip => enabled
Extension Version => $Id: php_zip.c,v 1.99 2007/01/18 02:05:18 pajoye Exp $
Zip version => 1.9.0
Libzip version => 0.7.1
Additional Modules
Module Name
Environment
Variable => Value
SSH_CLIENT => deleted
USER => cmcphaden
MACHTYPE => i386
MAIL => /var/mail/cmcphaden
SSH_AGENT_PID => 758
VENDOR => intel
SHLVL => 4
HOME => /root
TEST_PHP_SRCDIR => /usr/ports/lang/php5/work/php-5.2.3
SSH_TTY => deleted
PAGER => more
DBUS_SESSION_BUS_ADDRESS =>
unix:path=/var/tmp/dbus-xuEa31cCVY,guid=cd8f40da4af70043b3676d00466eca0f
GROUP => cmcphaden
COLORTERM => Terminal
LOGNAME => cmcphaden
WINDOWID => 19152558
TEST_PHP_EXECUTABLE => /usr/ports/lang/php5/work/php-5.2.3/sapi/cli/php
TERM => xterm
BLOCKSIZE => K
SESSION_MANAGER => local/ml350g1.mcphadencomputers.com:/tmp/.ICE-unix/766
PATH =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
DISPLAY => :0.0
XAUTHORITY => /home/cmcphaden/.Xauthority
SSH_AUTH_SOCK => deleted
SHELL => /bin/csh
KRB5CCNAME => FILE:/tmp/krb5cc_1001
HOST => ml350g1.mcphadencomputers.com
__MKLVL__ => 1
OSTYPE => FreeBSD
PWD => /usr/ports/lang/php5/work/php-5.2.3
SSH_CONNECTION => deleted
XDG_DATA_DIRS => usr/local/share:/usr/share://usr/local/share
FTP_PASSIVE_MODE => YES
CC => cc
HOSTTYPE => FreeBSD
EDITOR => vi
PHP Variables
Variable => Value
_SERVER["SSH_CLIENT"] => deleted
_SERVER["USER"] => cmcphaden
_SERVER["MACHTYPE"] => i386
_SERVER["MAIL"] => /var/mail/cmcphaden
_SERVER["SSH_AGENT_PID"] => 758
_SERVER["VENDOR"] => intel
_SERVER["SHLVL"] => 4
_SERVER["HOME"] => /root
_SERVER["TEST_PHP_SRCDIR"] => /usr/ports/lang/php5/work/php-5.2.3
_SERVER["SSH_TTY"] => deleted
_SERVER["PAGER"] => more
_SERVER["DBUS_SESSION_BUS_ADDRESS"] =>
unix:path=/var/tmp/dbus-xuEa31cCVY,guid=cd8f40da4af70043b3676d00466eca0f
_SERVER["GROUP"] => cmcphaden
_SERVER["COLORTERM"] => Terminal
_SERVER["LOGNAME"] => cmcphaden
_SERVER["WINDOWID"] => 19152558
_SERVER["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php5/work/php-5.2.3/sapi/cli/php
_SERVER["TERM"] => xterm
_SERVER["BLOCKSIZE"] => K
_SERVER["SESSION_MANAGER"] => local/ml350g1.mcphadencomputers.com:/tmp/.ICE-unix/766
_SERVER["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
_SERVER["DISPLAY"] => :0.0
_SERVER["XAUTHORITY"] => /home/cmcphaden/.Xauthority
_SERVER["SSH_AUTH_SOCK"] => deleted
_SERVER["SHELL"] => /bin/csh
_SERVER["KRB5CCNAME"] => FILE:/tmp/krb5cc_1001
_SERVER["HOST"] => ml350g1.mcphadencomputers.com
_SERVER["__MKLVL__"] => 1
_SERVER["OSTYPE"] => FreeBSD
_SERVER["PWD"] => /usr/ports/lang/php5/work/php-5.2.3
_SERVER["SSH_CONNECTION"] => deleted
_SERVER["XDG_DATA_DIRS"] => usr/local/share:/usr/share://usr/local/share
_SERVER["FTP_PASSIVE_MODE"] => YES
_SERVER["CC"] => cc
_SERVER["HOSTTYPE"] => FreeBSD
_SERVER["EDITOR"] => vi
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["REQUEST_TIME"] => 1182028194
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["SSH_CLIENT"] => deleted
_ENV["USER"] => cmcphaden
_ENV["MACHTYPE"] => i386
_ENV["MAIL"] => /var/mail/cmcphaden
_ENV["SSH_AGENT_PID"] => 758
_ENV["VENDOR"] => intel
_ENV["SHLVL"] => 4
_ENV["HOME"] => /root
_ENV["TEST_PHP_SRCDIR"] => /usr/ports/lang/php5/work/php-5.2.3
_ENV["SSH_TTY"] => deleted
_ENV["PAGER"] => more
_ENV["DBUS_SESSION_BUS_ADDRESS"] =>
unix:path=/var/tmp/dbus-xuEa31cCVY,guid=cd8f40da4af70043b3676d00466eca0f
_ENV["GROUP"] => cmcphaden
_ENV["COLORTERM"] => Terminal
_ENV["LOGNAME"] => cmcphaden
_ENV["WINDOWID"] => 19152558
_ENV["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php5/work/php-5.2.3/sapi/cli/php
_ENV["TERM"] => xterm
_ENV["BLOCKSIZE"] => K
_ENV["SESSION_MANAGER"] => local/ml350g1.mcphadencomputers.com:/tmp/.ICE-unix/766
_ENV["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
_ENV["DISPLAY"] => :0.0
_ENV["XAUTHORITY"] => /home/cmcphaden/.Xauthority
_ENV["SSH_AUTH_SOCK"] => deleted
_ENV["SHELL"] => /bin/csh
_ENV["KRB5CCNAME"] => FILE:/tmp/krb5cc_1001
_ENV["HOST"] => ml350g1.mcphadencomputers.com
_ENV["__MKLVL__"] => 1
_ENV["OSTYPE"] => FreeBSD
_ENV["PWD"] => /usr/ports/lang/php5/work/php-5.2.3
_ENV["SSH_CONNECTION"] => deleted
_ENV["XDG_DATA_DIRS"] => usr/local/share:/usr/share://usr/local/share
_ENV["FTP_PASSIVE_MODE"] => YES
_ENV["CC"] => cc
_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.