Test results for 5.2.3 [failed]

From: Date: Sun, 17 Jun 2007 00:48:42 +0000
Subject: Test results for 5.2.3 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-35474@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 : 68 Exts tested : 15 --------------------------------------------------------------------- Number of tests : 3251 1559 Tests skipped : 1692 ( 52.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 38 ( 1.2%) ( 2.4%) Tests passed : 1521 ( 46.8%) ( 97.6%) --------------------------------------------------------------------- Time taken : 681 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 20:39:35 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 0x082895e4 status: Beginning: Freed Start: OK End: Overflown (magic=0x0000005A instead of 0x3D138344) At least 4 bytes overflown --------------------------------------- ================================================================================ 002+ [Sat Jun 16 20:39:35 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 0x082895e4 status: 005+ Beginning: Freed 006+ Start: OK 007+ End: Overflown (magic=0x0000005A instead of 0x3D138344) 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) "!@#$%^&#38;*()&#38;#39;&#38;#34;" string(11) "`1234567890" string(5) "123" string(1) "." Done ================================================================================ 004+ string(32) "!@#$%^&#38;*()&#38;#39;&#38;#34;" 004- string(24) "!@#$%^&#38;*()&#39;&#34;" ================================================================================ ================================================================================ /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&#39;Henry 하퍼 stripped PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc() O&#39;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&#60;&#62;() O&#39;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) "&#34;foo bar&#34;" } bool(true) string(4) "root" string(4) "true" string(9) ""foo bar"" bool(false) string(17) "&#34;foo bar&#34;" ================================================================================ 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) "&#38;#1;" string(8) "&#38;#2;" string(8) "&#38;#3;" string(8) "&#38;#4;" string(8) "&#38;#5;" string(8) "&#38;#6;" string(8) "&#38;#7;" string(8) "&#38;#8;" string(8) "&#38;#9;" string(9) "&#38;#10;" string(9) "&#38;#11;" string(9) "&#38;#12;" string(9) "&#38;#13;" string(9) "&#38;#14;" string(9) "&#38;#15;" string(9) "&#38;#16;" string(9) "&#38;#17;" string(9) "&#38;#18;" string(9) "&#38;#19;" string(9) "&#38;#20;" string(9) "&#38;#21;" string(9) "&#38;#22;" string(9) "&#38;#23;" string(9) "&#38;#24;" string(9) "&#38;#25;" string(9) "&#38;#26;" string(9) "&#38;#27;" string(9) "&#38;#28;" string(9) "&#38;#29;" string(9) "&#38;#30;" string(9) "&#38;#31;" string(1) " " string(1) "!" string(9) "&#38;#34;" string(1) "#" string(1) "$" string(1) "%" string(5) "&#38;" string(9) "&#38;#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) "&#38;#128;" string(10) "&#38;#129;" string(10) "&#38;#130;" string(10) "&#38;#131;" string(10) "&#38;#132;" string(10) "&#38;#133;" string(10) "&#38;#134;" string(10) "&#38;#135;" string(10) "&#38;#136;" string(10) "&#38;#137;" string(10) "&#38;#138;" string(10) "&#38;#139;" string(10) "&#38;#140;" string(10) "&#38;#141;" string(10) "&#38;#142;" string(10) "&#38;#143;" string(10) "&#38;#144;" string(10) "&#38;#145;" string(10) "&#38;#146;" string(10) "&#38;#147;" string(10) "&#38;#148;" string(10) "&#38;#149;" string(10) "&#38;#150;" string(10) "&#38;#151;" string(10) "&#38;#152;" string(10) "&#38;#153;" string(10) "&#38;#154;" string(10) "&#38;#155;" string(10) "&#38;#156;" string(10) "&#38;#157;" string(10) "&#38;#158;" string(10) "&#38;#159;" string(10) "&#38;#160;" string(10) "&#38;#161;" string(10) "&#38;#162;" string(10) "&#38;#163;" string(10) "&#38;#164;" string(10) "&#38;#165;" string(10) "&#38;#166;" string(10) "&#38;#167;" string(10) "&#38;#168;" string(10) "&#38;#169;" string(10) "&#38;#170;" string(10) "&#38;#171;" string(10) "&#38;#172;" string(10) "&#38;#173;" string(10) "&#38;#174;" string(10) "&#38;#175;" string(10) "&#38;#176;" string(10) "&#38;#177;" string(10) "&#38;#178;" string(10) "&#38;#179;" string(10) "&#38;#180;" string(10) "&#38;#181;" string(10) "&#38;#182;" string(10) "&#38;#183;" string(10) "&#38;#184;" string(10) "&#38;#185;" string(10) "&#38;#186;" string(10) "&#38;#187;" string(10) "&#38;#188;" string(10) "&#38;#189;" string(10) "&#38;#190;" string(10) "&#38;#191;" string(10) "&#38;#192;" string(10) "&#38;#193;" string(10) "&#38;#194;" string(10) "&#38;#195;" string(10) "&#38;#196;" string(10) "&#38;#197;" string(10) "&#38;#198;" string(10) "&#38;#199;" string(10) "&#38;#200;" string(10) "&#38;#201;" string(10) "&#38;#202;" string(10) "&#38;#203;" string(10) "&#38;#204;" string(10) "&#38;#205;" string(10) "&#38;#206;" string(10) "&#38;#207;" string(10) "&#38;#208;" string(10) "&#38;#209;" string(10) "&#38;#210;" string(10) "&#38;#211;" string(10) "&#38;#212;" string(10) "&#38;#213;" string(10) "&#38;#214;" string(10) "&#38;#215;" string(10) "&#38;#216;" string(10) "&#38;#217;" string(10) "&#38;#218;" string(10) "&#38;#219;" string(10) "&#38;#220;" string(10) "&#38;#221;" string(10) "&#38;#222;" string(10) "&#38;#223;" string(10) "&#38;#224;" string(10) "&#38;#225;" string(10) "&#38;#226;" string(10) "&#38;#227;" string(10) "&#38;#228;" string(10) "&#38;#229;" string(10) "&#38;#230;" string(10) "&#38;#231;" string(10) "&#38;#232;" string(10) "&#38;#233;" string(10) "&#38;#234;" string(10) "&#38;#235;" string(10) "&#38;#236;" string(10) "&#38;#237;" string(10) "&#38;#238;" string(10) "&#38;#239;" string(10) "&#38;#240;" string(10) "&#38;#241;" string(10) "&#38;#242;" string(10) "&#38;#243;" string(10) "&#38;#244;" string(10) "&#38;#245;" string(10) "&#38;#246;" string(10) "&#38;#247;" string(10) "&#38;#248;" string(10) "&#38;#249;" string(10) "&#38;#250;" string(10) "&#38;#251;" string(10) "&#38;#252;" string(10) "&#38;#253;" string(10) "&#38;#254;" string(10) "&#38;#255;" ================================================================================ 001+ string(0) "" 002+ string(8) "&#38;#1;" 003+ string(8) "&#38;#2;" 004+ string(8) "&#38;#3;" 005+ string(8) "&#38;#4;" 006+ string(8) "&#38;#5;" 007+ string(8) "&#38;#6;" 008+ string(8) "&#38;#7;" 009+ string(8) "&#38;#8;" 010+ string(8) "&#38;#9;" 011+ string(9) "&#38;#10;" 012+ string(9) "&#38;#11;" 013+ string(9) "&#38;#12;" 014+ string(9) "&#38;#13;" 015+ string(9) "&#38;#14;" 016+ string(9) "&#38;#15;" 017+ string(9) "&#38;#16;" 018+ string(9) "&#38;#17;" 019+ string(9) "&#38;#18;" 020+ string(9) "&#38;#19;" 021+ string(9) "&#38;#20;" 022+ string(9) "&#38;#21;" 023+ string(9) "&#38;#22;" 024+ string(9) "&#38;#23;" 025+ string(9) "&#38;#24;" 026+ string(9) "&#38;#25;" 027+ string(9) "&#38;#26;" 028+ string(9) "&#38;#27;" 029+ string(9) "&#38;#28;" 030+ string(9) "&#38;#29;" 031+ string(9) "&#38;#30;" 032+ string(9) "&#38;#31;" 001- string(4) "&#0;" 002- string(4) "&#1;" 003- string(4) "&#2;" 004- string(4) "&#3;" 005- string(4) "&#4;" 006- string(4) "&#5;" 007- string(4) "&#6;" 008- string(4) "&#7;" 009- string(4) "&#8;" 010- string(4) "&#9;" 011- string(5) "&#10;" 012- string(5) "&#11;" 013- string(5) "&#12;" 014- string(5) "&#13;" 015- string(5) "&#14;" 016- string(5) "&#15;" 017- string(5) "&#16;" 018- string(5) "&#17;" 019- string(5) "&#18;" 020- string(5) "&#19;" 021- string(5) "&#20;" 022- string(5) "&#21;" 023- string(5) "&#22;" 024- string(5) "&#23;" 025- string(5) "&#24;" 026- string(5) "&#25;" 027- string(5) "&#26;" 028- string(5) "&#27;" 029- string(5) "&#28;" 030- string(5) "&#29;" 031- string(5) "&#30;" 032- string(5) "&#31;" 035+ string(9) "&#38;#34;" 035- string(5) "&#34;" 040+ string(9) "&#38;#39;" 040- string(5) "&#39;" 128+ string(1) "" 129+ string(10) "&#38;#128;" 130+ string(10) "&#38;#129;" 131+ string(10) "&#38;#130;" 132+ string(10) "&#38;#131;" 133+ string(10) "&#38;#132;" 134+ string(10) "&#38;#133;" 135+ string(10) "&#38;#134;" 136+ string(10) "&#38;#135;" 137+ string(10) "&#38;#136;" 138+ string(10) "&#38;#137;" 139+ string(10) "&#38;#138;" 140+ string(10) "&#38;#139;" 141+ string(10) "&#38;#140;" 142+ string(10) "&#38;#141;" 143+ string(10) "&#38;#142;" 144+ string(10) "&#38;#143;" 145+ string(10) "&#38;#144;" 146+ string(10) "&#38;#145;" 147+ string(10) "&#38;#146;" 148+ string(10) "&#38;#147;" 149+ string(10) "&#38;#148;" 150+ string(10) "&#38;#149;" 151+ string(10) "&#38;#150;" 152+ string(10) "&#38;#151;" 153+ string(10) "&#38;#152;" 154+ string(10) "&#38;#153;" 155+ string(10) "&#38;#154;" 156+ string(10) "&#38;#155;" 157+ string(10) "&#38;#156;" 158+ string(10) "&#38;#157;" 159+ string(10) "&#38;#158;" 160+ string(10) "&#38;#159;" 161+ string(10) "&#38;#160;" 162+ string(10) "&#38;#161;" 163+ string(10) "&#38;#162;" 164+ string(10) "&#38;#163;" 165+ string(10) "&#38;#164;" 166+ string(10) "&#38;#165;" 167+ string(10) "&#38;#166;" 168+ string(10) "&#38;#167;" 169+ string(10) "&#38;#168;" 170+ string(10) "&#38;#169;" 171+ string(10) "&#38;#170;" 172+ string(10) "&#38;#171;" 173+ string(10) "&#38;#172;" 174+ string(10) "&#38;#173;" 175+ string(10) "&#38;#174;" 176+ string(10) "&#38;#175;" 177+ string(10) "&#38;#176;" 178+ string(10) "&#38;#177;" 179+ string(10) "&#38;#178;" 180+ string(10) "&#38;#179;" 181+ string(10) "&#38;#180;" 182+ string(10) "&#38;#181;" 183+ string(10) "&#38;#182;" 184+ string(10) "&#38;#183;" 185+ string(10) "&#38;#184;" 186+ string(10) "&#38;#185;" 187+ string(10) "&#38;#186;" 188+ string(10) "&#38;#187;" 189+ string(10) "&#38;#188;" 190+ string(10) "&#38;#189;" 191+ string(10) "&#38;#190;" 192+ string(10) "&#38;#191;" 193+ string(10) "&#38;#192;" 194+ string(10) "&#38;#193;" 195+ string(10) "&#38;#194;" 196+ string(10) "&#38;#195;" 197+ string(10) "&#38;#196;" 198+ string(10) "&#38;#197;" 199+ string(10) "&#38;#198;" 200+ string(10) "&#38;#199;" 201+ string(10) "&#38;#200;" 202+ string(10) "&#38;#201;" 203+ string(10) "&#38;#202;" 204+ string(10) "&#38;#203;" 205+ string(10) "&#38;#204;" 206+ string(10) "&#38;#205;" 207+ string(10) "&#38;#206;" 208+ string(10) "&#38;#207;" 209+ string(10) "&#38;#208;" 210+ string(10) "&#38;#209;" 211+ string(10) "&#38;#210;" 212+ string(10) "&#38;#211;" 213+ string(10) "&#38;#212;" 214+ string(10) "&#38;#213;" 215+ string(10) "&#38;#214;" 216+ string(10) "&#38;#215;" 217+ string(10) "&#38;#216;" 218+ string(10) "&#38;#217;" 219+ string(10) "&#38;#218;" 220+ string(10) "&#38;#219;" 221+ string(10) "&#38;#220;" 222+ string(10) "&#38;#221;" 223+ string(10) "&#38;#222;" 224+ string(10) "&#38;#223;" 225+ string(10) "&#38;#224;" 226+ string(10) "&#38;#225;" 227+ string(10) "&#38;#226;" 228+ string(10) "&#38;#227;" 229+ string(10) "&#38;#228;" 230+ string(10) "&#38;#229;" 231+ string(10) "&#38;#230;" 232+ string(10) "&#38;#231;" 233+ string(10) "&#38;#232;" 234+ string(10) "&#38;#233;" 235+ string(10) "&#38;#234;" 236+ string(10) "&#38;#235;" 237+ string(10) "&#38;#236;" 238+ string(10) "&#38;#237;" 239+ string(10) "&#38;#238;" 240+ string(10) "&#38;#239;" 241+ string(10) "&#38;#240;" 242+ string(10) "&#38;#241;" 243+ string(10) "&#38;#242;" 244+ string(10) "&#38;#243;" 245+ string(10) "&#38;#244;" 246+ string(10) "&#38;#245;" 247+ string(10) "&#38;#246;" 248+ string(10) "&#38;#247;" 249+ string(10) "&#38;#248;" 250+ string(10) "&#38;#249;" 251+ string(10) "&#38;#250;" 252+ string(10) "&#38;#251;" 253+ string(10) "&#38;#252;" 254+ string(10) "&#38;#253;" 255+ string(10) "&#38;#254;" 256+ string(10) "&#38;#255;" 128- string(6) "&#127;" 129- string(6) "&#128;" 130- string(6) "&#129;" 131- string(6) "&#130;" 132- string(6) "&#131;" 133- string(6) "&#132;" 134- string(6) "&#133;" 135- string(6) "&#134;" 136- string(6) "&#135;" 137- string(6) "&#136;" 138- string(6) "&#137;" 139- string(6) "&#138;" 140- string(6) "&#139;" 141- string(6) "&#140;" 142- string(6) "&#141;" 143- string(6) "&#142;" 144- string(6) "&#143;" 145- string(6) "&#144;" 146- string(6) "&#145;" 147- string(6) "&#146;" 148- string(6) "&#147;" 149- string(6) "&#148;" 150- string(6) "&#149;" 151- string(6) "&#150;" 152- string(6) "&#151;" 153- string(6) "&#152;" 154- string(6) "&#153;" 155- string(6) "&#154;" 156- string(6) "&#155;" 157- string(6) "&#156;" 158- string(6) "&#157;" 159- string(6) "&#158;" 160- string(6) "&#159;" 161- string(6) "&#160;" 162- string(6) "&#161;" 163- string(6) "&#162;" 164- string(6) "&#163;" 165- string(6) "&#164;" 166- string(6) "&#165;" 167- string(6) "&#166;" 168- string(6) "&#167;" 169- string(6) "&#168;" 170- string(6) "&#169;" 171- string(6) "&#170;" 172- string(6) "&#171;" 173- string(6) "&#172;" 174- string(6) "&#173;" 175- string(6) "&#174;" 176- string(6) "&#175;" 177- string(6) "&#176;" 178- string(6) "&#177;" 179- string(6) "&#178;" 180- string(6) "&#179;" 181- string(6) "&#180;" 182- string(6) "&#181;" 183- string(6) "&#182;" 184- string(6) "&#183;" 185- string(6) "&#184;" 186- string(6) "&#185;" 187- string(6) "&#186;" 188- string(6) "&#187;" 189- string(6) "&#188;" 190- string(6) "&#189;" 191- string(6) "&#190;" 192- string(6) "&#191;" 193- string(6) "&#192;" 194- string(6) "&#193;" 195- string(6) "&#194;" 196- string(6) "&#195;" 197- string(6) "&#196;" 198- string(6) "&#197;" 199- string(6) "&#198;" 200- string(6) "&#199;" 201- string(6) "&#200;" 202- string(6) "&#201;" 203- string(6) "&#202;" 204- string(6) "&#203;" 205- string(6) "&#204;" 206- string(6) "&#205;" 207- string(6) "&#206;" 208- string(6) "&#207;" 209- string(6) "&#208;" 210- string(6) "&#209;" 211- string(6) "&#210;" 212- string(6) "&#211;" 213- string(6) "&#212;" 214- string(6) "&#213;" 215- string(6) "&#214;" 216- string(6) "&#215;" 217- string(6) "&#216;" 218- string(6) "&#217;" 219- string(6) "&#218;" 220- string(6) "&#219;" 221- string(6) "&#220;" 222- string(6) "&#221;" 223- string(6) "&#222;" 224- string(6) "&#223;" 225- string(6) "&#224;" 226- string(6) "&#225;" 227- string(6) "&#226;" 228- string(6) "&#227;" 229- string(6) "&#228;" 230- string(6) "&#229;" 231- string(6) "&#230;" 232- string(6) "&#231;" 233- string(6) "&#232;" 234- string(6) "&#233;" 235- string(6) "&#234;" 236- string(6) "&#235;" 237- string(6) "&#236;" 238- string(6) "&#237;" 239- string(6) "&#238;" 240- string(6) "&#239;" 241- string(6) "&#240;" 242- string(6) "&#241;" 243- string(6) "&#242;" 244- string(6) "&#243;" 245- string(6) "&#244;" 246- string(6) "&#245;" 247- string(6) "&#246;" 248- string(6) "&#247;" 249- string(6) "&#248;" 250- string(6) "&#249;" 251- string(6) "&#250;" 252- string(6) "&#251;" 253- string(6) "&#252;" 254- string(6) "&#253;" 255- string(6) "&#254;" 256- string(6) "&#255;" ================================================================================ ================================================================================ /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": "&#34; \u0022 %22 0x22 034 &#x22;", "\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?" : "A key can be any string" }, 0.5 ,98.6 , 99.44 , 1066 ,"rosebud"] DECODE: AS OBJECT array(14) { [0]=> string(23) "JSON Test Pattern pass1" [1]=> object(stdClass)#1 (1) { ["object with 1 member"]=> array(1) { [0]=> string(20) "array with 1 element" } } [2]=> object(stdClass)#2 (0) { } [3]=> array(0) { } [4]=> int(-42) [5]=> bool(true) [6]=> bool(false) [7]=> NULL [8]=> object(stdClass)#3 (36) { ["integer"]=> int(1234567890) ["real"]=> float(-9876.54321) ["e"]=> float(1.23456789E-13) ["E"]=> float(1.23456789E+34) ["_empty_"]=> float(INF) ["E no ."]=> float(4000000000000) ["zero"]=> int(0) ["one"]=> int(1) ["space"]=> string(1) " " ["quote"]=> string(1) """ ["backslash"]=> string(1) "\" ["controls"]=> string(5) " " ["slash"]=> string(5) "/ & /" ["alpha"]=> string(25) "abcdefghijklmnopqrstuvwyz" ["ALPHA"]=> string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ" ["digit"]=> string(10) "0123456789" ["special"]=> string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?" ["hex"]=> string(17) "ģ䕧覫췯ꯍ" ["unicode"]=> string(18) "プレスキット" ["プレスキット"]=> string(18) "プレスキット" ["empty_string"]=> string(0) "" ["true"]=> bool(true) ["false"]=> bool(false) ["null"]=> NULL ["array"]=> array(0) { } ["object"]=> object(stdClass)#4 (0) { } ["123"]=> object(stdClass)#5 (1) { ["456"]=> object(stdClass)#6 (1) { ["abc"]=> object(stdClass)#7 (3) { ["789"]=> string(3) "def" ["012"]=> array(4) { [0]=> int(1) [1]=> int(2) [2]=> string(1) "5" [3]=> int(500) } ["ghi"]=> array(5) { [0]=> int(1) [1]=> int(2) [2]=> string(4) "five" [3]=> int(50) [4]=> string(5) "sixty" } } } } ["address"]=> string(19) "50 St. James Street" ["url"]=> string(20) "http://www.JSON.org/" ["comment"]=> string(13) "// /* <!-- --" ["# -- --> */"]=> string(1) " " [" s p a c e d "]=> array(7) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) } ["compact"]=> array(7) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) } ["jsontext"]=> string(49) "{"object with 1 member":["array with 1 element"]}" ["quotes"]=> string(27) "&#34; " %22 0x22 034 &#x22;" ["/\"쫾몾ꮘﳞ볚 `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> string(23) "A key can be any string" } [9]=> float(0.5) [10]=> float(98.6) [11]=> float(99.44) [12]=> int(1066) [13]=> string(7) "rosebud" } DECODE: AS ARRAY array(14) { [0]=> string(23) "JSON Test Pattern pass1" [1]=> array(1) { ["object with 1 member"]=> array(1) { [0]=> string(20) "array with 1 element" } } [2]=> array(0) { } [3]=> array(0) { } [4]=> int(-42) [5]=> bool(true) [6]=> bool(false) [7]=> NULL [8]=> array(36) { ["integer"]=> int(1234567890) ["real"]=> float(-9876.54321) ["e"]=> float(1.23456789E-13) ["E"]=> float(1.23456789E+34) ["_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) "&#34; " %22 0x22 034 &#x22;" ["/\"쫾몾ꮘﳞ볚 `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> string(23) "A key can be any string" } [9]=> float(0.5) [10]=> float(98.6) [11]=> float(99.44) [12]=> int(1066) [13]=> string(7) "rosebud" } ENCODE: FROM OBJECT ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},{},[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_empty_":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":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] ENCODE: FROM ARRAY ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_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":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] DECODE AGAIN: AS OBJECT 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) "&#34; " %22 0x22 034 &#x22;" ["/\"쫾몾ꮘﳞ볚 `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> string(23) "A key can be any string" } [9]=> float(0.5) [10]=> float(98.6) [11]=> float(99.44) [12]=> int(1066) [13]=> string(7) "rosebud" } DECODE 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) "&#34; " %22 0x22 034 &#x22;" ["/\"쫾몾ꮘﳞ볚 `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> string(23) "A key can be any string" } [9]=> float(0.5) [10]=> float(98.6) [11]=> float(99.44) [12]=> int(1066) [13]=> string(7) "rosebud" } ================================================================================ 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":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] 425- ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"":0,"E no .":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":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] 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": "&#34; \u0022 %22 0x22 034 &#x22;", "\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?" : "A key can be any string" }, 0.5 ,98.6 , 99.44 , 1066 ,"rosebud"] DECODE: AS OBJECT array(14) { [0]=> string(23) "JSON Test Pattern pass1" [1]=> object(stdClass)#1 (1) { ["object with 1 member"]=> array(1) { [0]=> string(20) "array with 1 element" } } [2]=> object(stdClass)#2 (0) { } [3]=> array(0) { } [4]=> int(-42) [5]=> bool(true) [6]=> bool(false) [7]=> NULL [8]=> object(stdClass)#3 (31) { ["integer"]=> int(1234567890) ["real"]=> float(-9876.54321) ["e"]=> float(1.23456789E-13) ["E"]=> float(1.23456789E+34) ["_empty_"]=> float(INF) ["zero"]=> int(0) ["one"]=> int(1) ["space"]=> string(1) " " ["quote"]=> string(1) """ ["backslash"]=> string(1) "\" ["controls"]=> string(5) " " ["slash"]=> string(5) "/ & /" ["alpha"]=> string(25) "abcdefghijklmnopqrstuvwyz" ["ALPHA"]=> string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ" ["digit"]=> string(10) "0123456789" ["special"]=> string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?" ["hex"]=> string(17) "ģ䕧覫췯ꯍ" ["true"]=> bool(true) ["false"]=> bool(false) ["null"]=> NULL ["array"]=> array(0) { } ["object"]=> object(stdClass)#4 (0) { } ["address"]=> string(19) "50 St. James Street" ["url"]=> string(20) "http://www.JSON.org/" ["comment"]=> string(13) "// /* <!-- --" ["# -- --> */"]=> string(1) " " [" s p a c e d "]=> array(7) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) } ["compact"]=> array(7) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) } ["jsontext"]=> string(49) "{"object with 1 member":["array with 1 element"]}" ["quotes"]=> string(27) "&#34; " %22 0x22 034 &#x22;" ["/\"쫾몾ꮘﳞ볚 `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> string(23) "A key can be any string" } [9]=> float(0.5) [10]=> float(98.6) [11]=> float(99.44) [12]=> int(1066) [13]=> string(7) "rosebud" } DECODE: AS ARRAY array(14) { [0]=> string(23) "JSON Test Pattern pass1" [1]=> array(1) { ["object with 1 member"]=> array(1) { [0]=> string(20) "array with 1 element" } } [2]=> array(0) { } [3]=> array(0) { } [4]=> int(-42) [5]=> bool(true) [6]=> bool(false) [7]=> NULL [8]=> array(31) { ["integer"]=> int(1234567890) ["real"]=> float(-9876.54321) ["e"]=> float(1.23456789E-13) ["E"]=> float(1.23456789E+34) ["_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) "&#34; " %22 0x22 034 &#x22;" ["/\"쫾몾ꮘﳞ볚 `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> string(23) "A key can be any string" } [9]=> float(0.5) [10]=> float(98.6) [11]=> float(99.44) [12]=> int(1066) [13]=> string(7) "rosebud" } ENCODE: FROM OBJECT ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},{},[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_empty_":0,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","true":true,"false":false,"null":null,"array":[],"object":{},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] 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":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] DECODE AGAIN: AS OBJECT 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) "&#34; " %22 0x22 034 &#x22;" ["/\"쫾몾ꮘﳞ볚 `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> string(23) "A key can be any string" } [9]=> float(0.5) [10]=> float(98.6) [11]=> float(99.44) [12]=> int(1066) [13]=> string(7) "rosebud" } DECODE 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) "&#34; " %22 0x22 034 &#x22;" ["/\"쫾몾ꮘﳞ볚 `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=> string(23) "A key can be any string" } [9]=> float(0.5) [10]=> float(98.6) [11]=> float(99.44) [12]=> int(1066) [13]=> string(7) "rosebud" } ================================================================================ 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":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] 334- ["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"":0,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","true":true,"false":false,"null":null,"array":[],"object":[],"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"] 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(38159) ["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(38159) ["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 (0x28286000) libm.so.4 => /lib/libm.so.4 (0x2829e000) libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x282b7000) libz.so.3 => /lib/libz.so.3 (0x283cf000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x283df000) libc.so.6 => /lib/libc.so.6 (0x284cc000) 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 20:30:57 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' '--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, zip Registered Stream Socket Transports => tcp, udp, unix, udg 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.7e 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 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"] => 1182041318 _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.

« previous php.qa (#35474) next »