Tests results for php-4.3.2RC2 on FreeBSD-5.0.

From: Date: Thu, 15 May 2003 20:20:18 +0000
Subject: Tests results for php-4.3.2RC2 on FreeBSD-5.0.
Groups: php.qa 
Request: Send a blank email to php-qa+get-12471@lists.php.net to get a copy of this message
Hello, Attached are my tests results. Truly yours, -- Th. Thomas.

===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- OpenSSL private key functions [ext/openssl/tests/001.phpt] pspell basic tests [ext/pspell/tests/01pspell_basic.phpt] Test arsort, asort, krsort, ksort, rsort, and sort [ext/standard/tests/array/002.phpt] Test usort, uksort and uasort [ext/standard/tests/array/003.phpt] log() tests [ext/standard/tests/math/log.phpt] Various pow() tests [ext/standard/tests/math/pow.phpt] htmlentities() test 16 (mbstring / cp1251) [ext/standard/tests/strings/htmlentities16.phpt] strtotime() function [ext/standard/tests/time/002.phpt] Check for mktime with out-of-range parameters [ext/standard/tests/time/003.phpt] mktime() [ext/standard/tests/time/mktime.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 66 Exts tested : 21 --------------------------------------------------------------------- Number of tests : 469 Tests skipped : 163 (34.8%) Tests failed : 10 ( 2.1%) Tests passed : 296 (63.1%) --------------------------------------------------------------------- Time taken : 233 seconds ===================================================================== ================================================================================ /usr/ports/lang/php4/work/php-4.3.2RC2/ext/openssl/tests/001.phpt ================================================================================ ---- EXPECTED OUTPUT Creating private key Export key to file Load key from file - array syntax Load key using direct syntax Load key manually and use string syntax OK! ---- ACTUAL OUTPUT Creating private key failed to create private key ---- FAILED ================================================================================ 002- Export key to file 002+ failed to create private key 003- Load key from file - array syntax 004- Load key using direct syntax 005- Load key manually and use string syntax 006- OK! ================================================================================ ================================================================================ /usr/ports/lang/php4/work/php-4.3.2RC2/ext/pspell/tests/01pspell_basic.phpt ================================================================================ ---- EXPECTED OUTPUT I : true will : true not : true buy : true this : true record : true it : true is : true scratched : true Sorry : true I : true will : true not : true buy : true this : true record : true it : true is : true scratched : true Uh : true no : true no : true no : true This : true is : true a : true tobacconists : true Ah : true I : true will : true not : true buy : true this : true tobacconists : true it : true is : true scratched : true No : true no : true no : true no : true Tobacco : true um : true cigarettes : true holds : true up : true a : true pack : true Ya : true Seegarets : ..false Possible spelling: Secrets Possible spelling: Regrets Possible spelling: Secretes Possible spelling: Egrets Possible spelling: Serrates Possible spelling: Segre's Possible spelling: Seagate's Possible spelling: Regreets Possible spelling: Segregates Possible spelling: Sergeants Possible spelling: Sugariest Possible spelling: Garrets Possible spelling: Socrates Possible spelling: Egret's Possible spelling: Separates Possible spelling: Cigarettes Possible spelling: Sugared Possible spelling: Scarlets Ya : true Uh : true My : true hovercraft : true is : true full : true of : true eels : true Sorry : true My : true hovercraft : true pantomimes : true puffing : true a : true cigarette : true is : true full : true of : true eels : true pretends : true to : true strike : true a : true match : true Ahh : ..false Possible spelling: Shh Possible spelling: Ah Possible spelling: Aha Possible spelling: Ash Possible spelling: Ha matches : true ---- ACTUAL OUTPUT I : true will : true not : true buy : true this : true record : true it : true is : true scratched : true Sorry : true I : true will : true not : true buy : true this : true record : true it : true is : true scratched : true Uh : true no : true no : true no : true This : true is : true a : true tobacconists : true Ah : true I : true will : true not : true buy : true this : true tobacconists : true it : true is : true scratched : true No : true no : true no : true no : true Tobacco : true um : true cigarettes : true holds : true up : true a : true pack : true Ya : true Seegarets : ..false Possible spelling: Secrets Possible spelling: Regrets Possible spelling: Secretes Possible spelling: Egrets Possible spelling: Segre's Possible spelling: Seagate's Possible spelling: Regreets Possible spelling: Segregates Possible spelling: Sergeants Possible spelling: Sugariest Possible spelling: Garrets Possible spelling: Socrates Possible spelling: Egret's Possible spelling: Separates Possible spelling: Cigarettes Possible spelling: Sugared Possible spelling: Scarlets Ya : true Uh : true My : true hovercraft : true is : true full : true of : true eels : true Sorry : true My : true hovercraft : true pantomimes : true puffing : true a : true cigarette : true is : true full : true of : true eels : true pretends : true to : true strike : true a : true match : true Ahh : ..false Possible spelling: Shh Possible spelling: Ah Possible spelling: Aha Possible spelling: Ash Possible spelling: Ha matches : true ---- FAILED ================================================================================ 055- Possible spelling: Serrates 055+ Possible spelling: Segre's 056- Possible spelling: Segre's 056+ Possible spelling: Seagate's 057- Possible spelling: Seagate's 057+ Possible spelling: Regreets 058- Possible spelling: Regreets 058+ Possible spelling: Segregates 059- Possible spelling: Segregates 059+ Possible spelling: Sergeants 060- Possible spelling: Sergeants 060+ Possible spelling: Sugariest 061- Possible spelling: Sugariest 061+ Possible spelling: Garrets 062- Possible spelling: Garrets 062+ Possible spelling: Socrates 063- Possible spelling: Socrates 063+ Possible spelling: Egret's 064- Possible spelling: Egret's 064+ Possible spelling: Separates 065- Possible spelling: Separates 065+ Possible spelling: Cigarettes 066- Possible spelling: Cigarettes 066+ Possible spelling: Sugared 067- Possible spelling: Sugared 067+ Possible spelling: Scarlets 068- Possible spelling: Scarlets 068+ Ya : true 069- Ya : true 069+ Uh : true 070- Uh : true 070+ My : true 071- My : true 071+ hovercraft : true 072- hovercraft : true 072+ is : true 073- is : true 073+ full : true 074- full : true 074+ of : true 075- of : true 075+ eels : true 076- eels : true 076+ Sorry : true 077- Sorry : true 077+ My : true 078- My : true 078+ hovercraft : true 079- hovercraft : true 079+ pantomimes : true 080- pantomimes : true 080+ puffing : true 081- puffing : true 081+ a : true 082- a : true 082+ cigarette : true 083- cigarette : true 083+ is : true 084- is : true 084+ full : true 085- full : true 085+ of : true 086- of : true 086+ eels : true 087- eels : true 087+ pretends : true 088- pretends : true 088+ to : true 089- to : true 089+ strike : true 090- strike : true 090+ a : true 091- a : true 091+ match : true 092- match : true 092+ Ahh : ..false 093- Ahh : ..false 093+ Possible spelling: Shh 094- Possible spelling: Shh 094+ Possible spelling: Ah 095- Possible spelling: Ah 095+ Possible spelling: Aha 096- Possible spelling: Aha 096+ Possible spelling: Ash 097- Possible spelling: Ash 097+ Possible spelling: Ha 098- Possible spelling: Ha 098+ matches : true 099- matches : true ================================================================================ ================================================================================ /usr/ports/lang/php4/work/php-4.3.2RC2/ext/standard/tests/array/002.phpt ================================================================================ ---- EXPECTED OUTPUT Unsorted data: array(8) { [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) [1000]=> string(4) "test" ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) } -- Testing arsort() -- No second argument: array(8) { ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [1000]=> string(4) "test" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" [16777216]=> float(-0.33333333333333) } Using SORT_REGULAR: array(8) { ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [1000]=> string(4) "test" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" [16777216]=> float(-0.33333333333333) } Using SORT_NUMERIC: array(8) { ["test"]=> int(27) ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [1000]=> string(4) "test" [16777216]=> float(-0.33333333333333) } Using SORT_STRING array(8) { [1000]=> string(4) "test" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [16777216]=> float(-0.33333333333333) } -- Testing asort() -- No second argument: array(8) { [16777216]=> float(-0.33333333333333) [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" ["test"]=> int(27) ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_REGULAR: array(8) { [16777216]=> float(-0.33333333333333) [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" ["test"]=> int(27) ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_NUMERIC: array(8) { [16777216]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) } Using SORT_STRING array(8) { [16777216]=> float(-0.33333333333333) ["test"]=> int(27) ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" } -- Testing krsort() -- No second argument: array(8) { [16777216]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) [0]=> string(3) "PHP" ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_REGULAR: array(8) { [16777216]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [0]=> string(3) "PHP" ["test"]=> int(27) ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_NUMERIC: array(8) { [16777216]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) [0]=> string(3) "PHP" ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_STRING array(8) { ["test"]=> int(27) [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [16777216]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [0]=> string(3) "PHP" ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } -- Testing ksort() -- No second argument: array(8) { ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" ["test"]=> int(27) [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [1000]=> string(4) "test" [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) } Using SORT_REGULAR: array(8) { ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [0]=> string(3) "PHP" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [1000]=> string(4) "test" [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) } Using SORT_NUMERIC: array(8) { ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" ["test"]=> int(27) [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [1000]=> string(4) "test" [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) } Using SORT_STRING array(8) { ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [1000]=> string(4) "test" [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) } -- Testing rsort() -- No second argument: array(8) { [0]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [1]=> int(27) [2]=> string(4) "test" [3]=> string(6) "monkey" [4]=> string(4) "Test" [5]=> string(27) "PHP: Hypertext Preprocessor" [6]=> string(3) "PHP" [7]=> float(-0.33333333333333) } Using SORT_REGULAR: array(8) { [0]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [1]=> int(27) [2]=> string(4) "test" [3]=> string(6) "monkey" [4]=> string(4) "Test" [5]=> string(27) "PHP: Hypertext Preprocessor" [6]=> string(3) "PHP" [7]=> float(-0.33333333333333) } Using SORT_NUMERIC: array(8) { [0]=> int(27) [1]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [2]=> string(3) "PHP" [3]=> string(27) "PHP: Hypertext Preprocessor" [4]=> string(6) "monkey" [5]=> string(4) "Test" [6]=> string(4) "test" [7]=> float(-0.33333333333333) } Using SORT_STRING array(8) { [0]=> string(4) "test" [1]=> string(6) "monkey" [2]=> string(4) "Test" [3]=> string(27) "PHP: Hypertext Preprocessor" [4]=> string(3) "PHP" [5]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [6]=> int(27) [7]=> float(-0.33333333333333) } -- Testing sort() -- No second argument: array(8) { [0]=> float(-0.33333333333333) [1]=> string(3) "PHP" [2]=> string(27) "PHP: Hypertext Preprocessor" [3]=> string(4) "Test" [4]=> string(6) "monkey" [5]=> string(4) "test" [6]=> int(27) [7]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_REGULAR: array(8) { [0]=> float(-0.33333333333333) [1]=> string(3) "PHP" [2]=> string(27) "PHP: Hypertext Preprocessor" [3]=> string(4) "Test" [4]=> string(6) "monkey" [5]=> string(4) "test" [6]=> int(27) [7]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_NUMERIC: array(8) { [0]=> float(-0.33333333333333) [1]=> string(6) "monkey" [2]=> string(4) "test" [3]=> string(4) "Test" [4]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(3) "PHP" [6]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [7]=> int(27) } Using SORT_STRING array(8) { [0]=> float(-0.33333333333333) [1]=> int(27) [2]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [3]=> string(3) "PHP" [4]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [6]=> string(6) "monkey" [7]=> string(4) "test" } ---- ACTUAL OUTPUT Unsorted data: array(8) { [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) [1000]=> string(4) "test" ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [1001]=> string(6) "monkey" [1]=> float(-0.33333333333333) } -- Testing arsort() -- No second argument: array(8) { ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [1000]=> string(4) "test" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" [1]=> float(-0.33333333333333) } Using SORT_REGULAR: array(8) { ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [1000]=> string(4) "test" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" [1]=> float(-0.33333333333333) } Using SORT_NUMERIC: array(8) { ["test"]=> int(27) ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [1000]=> string(4) "test" [1]=> float(-0.33333333333333) } Using SORT_STRING array(8) { [1000]=> string(4) "test" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [1]=> float(-0.33333333333333) } -- Testing asort() -- No second argument: array(8) { [1]=> float(-0.33333333333333) [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" ["test"]=> int(27) ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_REGULAR: array(8) { [1]=> float(-0.33333333333333) [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" ["test"]=> int(27) ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_NUMERIC: array(8) { [1]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) } Using SORT_STRING array(8) { [1]=> float(-0.33333333333333) ["test"]=> int(27) ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" } -- Testing krsort() -- No second argument: array(8) { [1001]=> string(6) "monkey" [1000]=> string(4) "test" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1]=> float(-0.33333333333333) ["test"]=> int(27) [0]=> string(3) "PHP" ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_REGULAR: array(8) { [1001]=> string(6) "monkey" [1000]=> string(4) "test" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1]=> float(-0.33333333333333) [0]=> string(3) "PHP" ["test"]=> int(27) ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_NUMERIC: array(8) { [1001]=> string(6) "monkey" [1000]=> string(4) "test" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1]=> float(-0.33333333333333) ["test"]=> int(27) [0]=> string(3) "PHP" ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_STRING array(8) { ["test"]=> int(27) [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [1001]=> string(6) "monkey" [1000]=> string(4) "test" [1]=> float(-0.33333333333333) [0]=> string(3) "PHP" ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } -- Testing ksort() -- No second argument: array(8) { ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" ["test"]=> int(27) [1]=> float(-0.33333333333333) [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [1000]=> string(4) "test" [1001]=> string(6) "monkey" } Using SORT_REGULAR: array(8) { ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [0]=> string(3) "PHP" [1]=> float(-0.33333333333333) [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [1000]=> string(4) "test" [1001]=> string(6) "monkey" } Using SORT_NUMERIC: array(8) { ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" ["test"]=> int(27) [1]=> float(-0.33333333333333) [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [1000]=> string(4) "test" [1001]=> string(6) "monkey" } Using SORT_STRING array(8) { ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [1]=> float(-0.33333333333333) [1000]=> string(4) "test" [1001]=> string(6) "monkey" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) } -- Testing rsort() -- No second argument: array(8) { [0]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [1]=> int(27) [2]=> string(4) "test" [3]=> string(6) "monkey" [4]=> string(4) "Test" [5]=> string(27) "PHP: Hypertext Preprocessor" [6]=> string(3) "PHP" [7]=> float(-0.33333333333333) } Using SORT_REGULAR: array(8) { [0]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [1]=> int(27) [2]=> string(4) "test" [3]=> string(6) "monkey" [4]=> string(4) "Test" [5]=> string(27) "PHP: Hypertext Preprocessor" [6]=> string(3) "PHP" [7]=> float(-0.33333333333333) } Using SORT_NUMERIC: array(8) { [0]=> int(27) [1]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [2]=> string(3) "PHP" [3]=> string(27) "PHP: Hypertext Preprocessor" [4]=> string(6) "monkey" [5]=> string(4) "Test" [6]=> string(4) "test" [7]=> float(-0.33333333333333) } Using SORT_STRING array(8) { [0]=> string(4) "test" [1]=> string(6) "monkey" [2]=> string(4) "Test" [3]=> string(27) "PHP: Hypertext Preprocessor" [4]=> string(3) "PHP" [5]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [6]=> int(27) [7]=> float(-0.33333333333333) } -- Testing sort() -- No second argument: array(8) { [0]=> float(-0.33333333333333) [1]=> string(3) "PHP" [2]=> string(27) "PHP: Hypertext Preprocessor" [3]=> string(4) "Test" [4]=> string(6) "monkey" [5]=> string(4) "test" [6]=> int(27) [7]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_REGULAR: array(8) { [0]=> float(-0.33333333333333) [1]=> string(3) "PHP" [2]=> string(27) "PHP: Hypertext Preprocessor" [3]=> string(4) "Test" [4]=> string(6) "monkey" [5]=> string(4) "test" [6]=> int(27) [7]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_NUMERIC: array(8) { [0]=> float(-0.33333333333333) [1]=> string(6) "monkey" [2]=> string(4) "test" [3]=> string(4) "Test" [4]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(3) "PHP" [6]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [7]=> int(27) } Using SORT_STRING array(8) { [0]=> float(-0.33333333333333) [1]=> int(27) [2]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [3]=> string(3) "PHP" [4]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [6]=> string(6) "monkey" [7]=> string(4) "test" } ---- FAILED ================================================================================ 022- [16777216]=> 022+ [1]=> 048- [16777216]=> 048+ [1]=> 072- [16777216]=> 072+ [1]=> 096- [16777216]=> 096+ [1]=> 120- [16777216]=> 120+ [1]=> 127- [16777216]=> 127+ [1]=> 151- [16777216]=> 151+ [1]=> 175- [16777216]=> 175+ [1]=> 199- [16777216]=> 199+ [1]=> 225- [16777216]=> 225+ [1001]=> 226- float(-0.33333333333333) 226+ string(6) "monkey" 227- [1001]=> 227+ [1000]=> 228- string(6) "monkey" 228+ string(4) "test" 229- [1000]=> 229+ [17]=> 230- string(4) "test" 230+ string(27) "PHP: Hypertext Preprocessor" 231- [17]=> 231+ [5]=> 232- string(27) "PHP: Hypertext Preprocessor" 232+ string(4) "Test" 233- [5]=> 233+ [1]=> 234- string(4) "Test" 234+ float(-0.33333333333333) 249- [16777216]=> 249+ [1001]=> 250- float(-0.33333333333333) 250+ string(6) "monkey" 251- [1001]=> 251+ [1000]=> 252- string(6) "monkey" 252+ string(4) "test" 253- [1000]=> 253+ [17]=> 254- string(4) "test" 254+ string(27) "PHP: Hypertext Preprocessor" 255- [17]=> 255+ [5]=> 256- string(27) "PHP: Hypertext Preprocessor" 256+ string(4) "Test" 257- [5]=> 257+ [1]=> 258- string(4) "Test" 258+ float(-0.33333333333333) 273- [16777216]=> 273+ [1001]=> 274- float(-0.33333333333333) 274+ string(6) "monkey" 275- [1001]=> 275+ [1000]=> 276- string(6) "monkey" 276+ string(4) "test" 277- [1000]=> 277+ [17]=> 278- string(4) "test" 278+ string(27) "PHP: Hypertext Preprocessor" 279- [17]=> 279+ [5]=> 280- string(27) "PHP: Hypertext Preprocessor" 280+ string(4) "Test" 281- [5]=> 281+ [1]=> 282- string(4) "Test" 282+ float(-0.33333333333333) 303- [16777216]=> 303+ [1001]=> 304- float(-0.33333333333333) 304+ string(6) "monkey" 305- [1001]=> 305+ [1000]=> 306- string(6) "monkey" 306+ string(4) "test" 307- [1000]=> 307+ [1]=> 308- string(4) "test" 308+ float(-0.33333333333333) 334- [5]=> 334+ [1]=> 335- string(4) "Test" 335+ float(-0.33333333333333) 336- [17]=> 336+ [5]=> 337- string(27) "PHP: Hypertext Preprocessor" 337+ string(4) "Test" 338- [1000]=> 338+ [17]=> 339- string(4) "test" 339+ string(27) "PHP: Hypertext Preprocessor" 340- [1001]=> 340+ [1000]=> 341- string(6) "monkey" 341+ string(4) "test" 342- [16777216]=> 342+ [1001]=> 343- float(-0.33333333333333) 343+ string(6) "monkey" 358- [5]=> 358+ [1]=> 359- string(4) "Test" 359+ float(-0.33333333333333) 360- [17]=> 360+ [5]=> 361- string(27) "PHP: Hypertext Preprocessor" 361+ string(4) "Test" 362- [1000]=> 362+ [17]=> 363- string(4) "test" 363+ string(27) "PHP: Hypertext Preprocessor" 364- [1001]=> 364+ [1000]=> 365- string(6) "monkey" 365+ string(4) "test" 366- [16777216]=> 366+ [1001]=> 367- float(-0.33333333333333) 367+ string(6) "monkey" 382- [5]=> 382+ [1]=> 383- string(4) "Test" 383+ float(-0.33333333333333) 384- [17]=> 384+ [5]=> 385- string(27) "PHP: Hypertext Preprocessor" 385+ string(4) "Test" 386- [1000]=> 386+ [17]=> 387- string(4) "test" 387+ string(27) "PHP: Hypertext Preprocessor" 388- [1001]=> 388+ [1000]=> 389- string(6) "monkey" 389+ string(4) "test" 390- [16777216]=> 390+ [1001]=> 391- float(-0.33333333333333) 391+ string(6) "monkey" 404- [1000]=> 404+ [1]=> 405- string(4) "test" 405+ float(-0.33333333333333) 406- [1001]=> 406+ [1000]=> 407- string(6) "monkey" 407+ string(4) "test" 408- [16777216]=> 408+ [1001]=> 409- float(-0.33333333333333) 409+ string(6) "monkey" ================================================================================ ================================================================================ /usr/ports/lang/php4/work/php-4.3.2RC2/ext/standard/tests/array/003.phpt ================================================================================ ---- EXPECTED OUTPUT -- Testing uasort() -- array(8) { [16777216]=> float(-0.33333333333333) ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" } -- Testing uksort() -- array(8) { ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [1000]=> string(4) "test" [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) } -- Testing usort() -- array(8) { [0]=> float(-0.33333333333333) [1]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [2]=> int(27) [3]=> string(3) "PHP" [4]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [6]=> string(6) "monkey" [7]=> string(4) "test" } ---- ACTUAL OUTPUT -- Testing uasort() -- array(8) { [1]=> float(-0.33333333333333) ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" } -- Testing uksort() -- array(8) { ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [1]=> float(-0.33333333333333) [1000]=> string(4) "test" [1001]=> string(6) "monkey" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) } -- Testing usort() -- array(8) { [0]=> float(-0.33333333333333) [1]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [2]=> int(27) [3]=> string(3) "PHP" [4]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [6]=> string(6) "monkey" [7]=> string(4) "test" } ---- FAILED ================================================================================ 003- [16777216]=> 003+ [1]=> 037- [1000]=> 037+ [1]=> 038- string(4) "test" 038+ float(-0.33333333333333) 039- [1001]=> 039+ [1000]=> 040- string(6) "monkey" 040+ string(4) "test" 041- [16777216]=> 041+ [1001]=> 042- float(-0.33333333333333) 042+ string(6) "monkey" ================================================================================ ================================================================================ /usr/ports/lang/php4/work/php-4.3.2RC2/ext/standard/tests/math/log.phpt ================================================================================ ---- EXPECTED OUTPUT On failure, please mail result to php-dev@lists.php.net 200 50 50 50 50 50 50 50 50 50 ---- ACTUAL OUTPUT On failure, please mail result to php-dev@lists.php.net 200 base 2: 3 : 0 base 2: 4 : 1 base 2: 5 : 2 base 2: 6 : 0 base 2: 7 : 2 base 2: 8 : 5 base 2: 9 : 0 base 2: 10 : 2 base 2: 11 : 2 base 2: 12 : 0 base 2: 13 : 2 base 2: 14 : 2 base 2: 15 : 0 base 2: 16 : 1 base 2: 17 : 0 base 2: 18 : 0 base 2: 19 : 0 base 2: 20 : 0 base 2: 21 : 0 base 2: 22 : 2 base 2: 23 : 0 base 2: 24 : 2 base 2: 25 : 2 base 2: 26 : 2 base 2: 27 : 2 base 2: 28 : 2 base 2: 29 : 0 base 2: 30 : 0 base 2: 31 : 0 base 2: 32 : 1 base 2: 33 : 0 base 2: 34 : 0 base 2: 35 : 0 base 2: 36 : 0 base 2: 37 : 0 base 2: 38 : 0 base 2: 39 : 2 base 2: 40 : 0 base 2: 41 : 2 base 2: 42 : 0 base 2: 43 : 0 base 2: 44 : 2 base 2: 45 : 2 base 2: 46 : 0 base 2: 47 : 2 base 2: 48 : 2 base 2: 49 : 2 3 base 3: 2 : 0 base 3: 3 : 1 base 3: 4 : 0 base 3: 5 : 3 base 3: 6 : 0 base 3: 7 : 0 base 3: 8 : 3 base 3: 9 : 1 base 3: 10 : 0 base 3: 11 : 0 base 3: 12 : 0 base 3: 13 : 3 base 3: 14 : 0 base 3: 15 : 3 base 3: 16 : 0 base 3: 17 : 3 base 3: 18 : 0 base 3: 19 : 3 base 3: 20 : 0 base 3: 21 : 0 base 3: 22 : 3 base 3: 23 : 3 base 3: 24 : 0 base 3: 25 : 3 base 3: 26 : 3 base 3: 27 : 1 base 3: 28 : 0 base 3: 29 : 3 base 3: 30 : 0 base 3: 31 : 3 base 3: 32 : 3 base 3: 33 : 0 base 3: 34 : 3 base 3: 35 : 0 base 3: 36 : 0 base 3: 37 : 3 base 3: 38 : 3 base 3: 39 : 3 base 3: 40 : 0 base 3: 41 : 0 base 3: 42 : 0 base 3: 43 : 3 base 3: 44 : 3 base 3: 45 : 3 base 3: 46 : 0 base 3: 47 : 3 base 3: 48 : 0 base 3: 49 : 0 2 base 4: 3 : 0 base 4: 4 : 1 base 4: 6 : 0 base 4: 7 : 4 base 4: 8 : 5 base 4: 9 : 0 base 4: 10 : 4 base 4: 11 : 4 base 4: 12 : 0 base 4: 13 : 4 base 4: 14 : 4 base 4: 15 : 0 base 4: 16 : 1 base 4: 17 : 0 base 4: 18 : 0 base 4: 19 : 0 base 4: 20 : 0 base 4: 21 : 0 base 4: 22 : 4 base 4: 23 : 0 base 4: 24 : 4 base 4: 25 : 4 base 4: 26 : 4 base 4: 27 : 4 base 4: 28 : 4 base 4: 29 : 0 base 4: 30 : 0 base 4: 31 : 0 base 4: 32 : 1 base 4: 33 : 0 base 4: 34 : 0 base 4: 35 : 0 base 4: 36 : 0 base 4: 37 : 0 base 4: 38 : 0 base 4: 39 : 4 base 4: 40 : 0 base 4: 41 : 4 base 4: 42 : 0 base 4: 43 : 0 base 4: 44 : 4 base 4: 45 : 4 base 4: 46 : 0 base 4: 47 : 4 base 4: 48 : 4 base 4: 49 : 4 4 base 5: 2 : 5 base 5: 3 : 0 base 5: 6 : 0 base 5: 7 : 5 base 5: 8 : 5 base 5: 9 : 0 base 5: 10 : 5 base 5: 11 : 5 base 5: 12 : 0 base 5: 13 : 0 base 5: 14 : 5 base 5: 15 : 5 base 5: 16 : 5 base 5: 17 : 5 base 5: 18 : 5 base 5: 19 : 0 base 5: 20 : 5 base 5: 21 : 0 base 5: 22 : 5 base 5: 23 : 5 base 5: 24 : 0 base 5: 25 : 7 base 5: 26 : 5 base 5: 27 : 0 base 5: 28 : 0 base 5: 29 : 5 base 5: 30 : 0 base 5: 31 : 5 base 5: 32 : 0 base 5: 33 : 0 base 5: 34 : 0 base 5: 35 : 0 base 5: 36 : 0 base 5: 37 : 5 base 5: 38 : 5 base 5: 39 : 5 base 5: 40 : 0 base 5: 41 : 5 base 5: 42 : 5 base 5: 43 : 0 base 5: 44 : 0 base 5: 45 : 5 base 5: 46 : 5 base 5: 47 : 5 base 5: 48 : 5 base 5: 49 : 5 4 base 6: 2 : 6 base 6: 3 : 0 base 6: 4 : 6 base 6: 6 : 1 base 6: 8 : 0 base 6: 9 : 0 base 6: 10 : 6 base 6: 11 : 0 base 6: 12 : 0 base 6: 13 : 6 base 6: 14 : 0 base 6: 15 : 0 base 6: 16 : 6 base 6: 17 : 6 base 6: 18 : 6 base 6: 19 : 0 base 6: 20 : 0 base 6: 21 : 0 base 6: 22 : 6 base 6: 23 : 6 base 6: 24 : 6 base 6: 25 : 6 base 6: 26 : 0 base 6: 27 : 6 base 6: 28 : 6 base 6: 29 : 0 base 6: 30 : 0 base 6: 31 : 0 base 6: 32 : 0 base 6: 33 : 6 base 6: 34 : 0 base 6: 35 : 0 base 6: 36 : 1 base 6: 37 : 6 base 6: 38 : 0 base 6: 39 : 6 base 6: 40 : 0 base 6: 41 : 0 base 6: 42 : 6 base 6: 43 : 6 base 6: 44 : 6 base 6: 45 : 6 base 6: 46 : 6 base 6: 47 : 6 base 6: 48 : 0 base 6: 49 : 6 4 base 7: 2 : 7 base 7: 3 : 0 base 7: 4 : 7 base 7: 5 : 7 base 7: 7 : 1 base 7: 8 : 0 base 7: 9 : 0 base 7: 10 : 7 base 7: 11 : 7 base 7: 12 : 7 base 7: 13 : 7 base 7: 14 : 7 base 7: 15 : 0 base 7: 16 : 7 base 7: 17 : 0 base 7: 18 : 0 base 7: 19 : 0 base 7: 20 : 0 base 7: 21 : 0 base 7: 22 : 0 base 7: 23 : 7 base 7: 24 : 0 base 7: 25 : 7 base 7: 26 : 0 base 7: 27 : 7 base 7: 28 : 0 base 7: 29 : 0 base 7: 30 : 7 base 7: 31 : 7 base 7: 32 : 0 base 7: 33 : 7 base 7: 34 : 0 base 7: 35 : 7 base 7: 36 : 7 base 7: 37 : 0 base 7: 38 : 7 base 7: 39 : 7 base 7: 40 : 0 base 7: 41 : 0 base 7: 42 : 7 base 7: 43 : 0 base 7: 44 : 0 base 7: 45 : 0 base 7: 46 : 7 base 7: 47 : 7 base 7: 48 : 7 base 7: 49 : 1 3 base 8: 2 : 8 base 8: 3 : 8 base 8: 4 : 8 base 8: 5 : 8 base 8: 6 : 0 base 8: 10 : 8 base 8: 11 : 0 base 8: 12 : 8 base 8: 13 : 8 base 8: 14 : 0 base 8: 15 : 8 base 8: 16 : 8 base 8: 17 : 0 base 8: 18 : 8 base 8: 19 : 8 base 8: 20 : 8 base 8: 21 : 8 base 8: 22 : 8 base 8: 23 : 0 base 8: 24 : 0 base 8: 25 : 8 base 8: 26 : 0 base 8: 27 : 0 base 8: 28 : 8 base 8: 29 : 8 base 8: 30 : 0 base 8: 31 : 8 base 8: 32 : 0 base 8: 33 : 0 base 8: 34 : 8 base 8: 35 : 8 base 8: 36 : 0 base 8: 37 : 0 base 8: 38 : 0 base 8: 39 : 0 base 8: 40 : 0 base 8: 41 : 8 base 8: 42 : 0 base 8: 43 : 0 base 8: 44 : 0 base 8: 45 : 0 base 8: 46 : 0 base 8: 47 : 0 base 8: 48 : 0 base 8: 49 : 8 5 base 9: 2 : 0 base 9: 3 : 1 base 9: 4 : 0 base 9: 5 : 9 base 9: 6 : 0 base 9: 7 : 0 base 9: 9 : 1 base 9: 10 : 0 base 9: 11 : 0 base 9: 12 : 0 base 9: 13 : 9 base 9: 14 : 0 base 9: 15 : 9 base 9: 16 : 0 base 9: 17 : 9 base 9: 18 : 0 base 9: 19 : 9 base 9: 20 : 0 base 9: 21 : 0 base 9: 22 : 9 base 9: 23 : 9 base 9: 24 : 0 base 9: 25 : 9 base 9: 26 : 9 base 9: 27 : 1 base 9: 28 : 0 base 9: 29 : 9 base 9: 30 : 0 base 9: 31 : 9 base 9: 32 : 9 base 9: 33 : 0 base 9: 34 : 9 base 9: 35 : 0 base 9: 36 : 0 base 9: 37 : 9 base 9: 38 : 9 base 9: 39 : 9 base 9: 40 : 0 base 9: 41 : 0 base 9: 42 : 0 base 9: 43 : 9 base 9: 44 : 9 base 9: 45 : 9 base 9: 46 : 0 base 9: 47 : 9 base 9: 48 : 0 base 9: 49 : 0 3 base 10: 2 : 10 base 10: 3 : 0 base 10: 4 : 10 base 10: 5 : 10 base 10: 6 : 10 base 10: 7 : 10 base 10: 8 : 0 base 10: 9 : 0 base 10: 10 : 1 base 10: 12 : 0 base 10: 13 : 10 base 10: 14 : 10 base 10: 15 : 10 base 10: 16 : 10 base 10: 17 : 10 base 10: 18 : 0 base 10: 19 : 10 base 10: 20 : 0 base 10: 21 : 10 base 10: 22 : 10 base 10: 23 : 10 base 10: 24 : 10 base 10: 25 : 10 base 10: 26 : 10 base 10: 27 : 0 base 10: 28 : 10 base 10: 29 : 10 base 10: 30 : 0 base 10: 31 : 10 base 10: 32 : 10 base 10: 33 : 10 base 10: 34 : 10 base 10: 35 : 0 base 10: 36 : 10 base 10: 37 : 0 base 10: 38 : 10 base 10: 39 : 10 base 10: 40 : 0 base 10: 41 : 10 base 10: 42 : 10 base 10: 43 : 0 base 10: 44 : 10 base 10: 45 : 0 base 10: 46 : 0 base 10: 47 : 0 base 10: 48 : 10 base 10: 49 : 10 3 ---- FAILED ================================================================================ 003- 50 003+ base 2: 3 : 0 004- 50 004+ base 2: 4 : 1 005- 50 005+ base 2: 5 : 2 006- 50 006+ base 2: 6 : 0 007- 50 007+ base 2: 7 : 2 008- 50 008+ base 2: 8 : 5 009- 50 009+ base 2: 9 : 0 010- 50 010+ base 2: 10 : 2 011- 50 011+ base 2: 11 : 2 012+ base 2: 12 : 0 013+ base 2: 13 : 2 014+ base 2: 14 : 2 015+ base 2: 15 : 0 016+ base 2: 16 : 1 017+ base 2: 17 : 0 018+ base 2: 18 : 0 019+ base 2: 19 : 0 020+ base 2: 20 : 0 021+ base 2: 21 : 0 022+ base 2: 22 : 2 023+ base 2: 23 : 0 024+ base 2: 24 : 2 025+ base 2: 25 : 2 026+ base 2: 26 : 2 027+ base 2: 27 : 2 028+ base 2: 28 : 2 029+ base 2: 29 : 0 030+ base 2: 30 : 0 031+ base 2: 31 : 0 032+ base 2: 32 : 1 033+ base 2: 33 : 0 034+ base 2: 34 : 0 035+ base 2: 35 : 0 036+ base 2: 36 : 0 037+ base 2: 37 : 0 038+ base 2: 38 : 0 039+ base 2: 39 : 2 040+ base 2: 40 : 0 041+ base 2: 41 : 2 042+ base 2: 42 : 0 043+ base 2: 43 : 0 044+ base 2: 44 : 2 045+ base 2: 45 : 2 046+ base 2: 46 : 0 047+ base 2: 47 : 2 048+ base 2: 48 : 2 049+ base 2: 49 : 2 050+ 3 051+ base 3: 2 : 0 052+ base 3: 3 : 1 053+ base 3: 4 : 0 054+ base 3: 5 : 3 055+ base 3: 6 : 0 056+ base 3: 7 : 0 057+ base 3: 8 : 3 058+ base 3: 9 : 1 059+ base 3: 10 : 0 060+ base 3: 11 : 0 061+ base 3: 12 : 0 062+ base 3: 13 : 3 063+ base 3: 14 : 0 064+ base 3: 15 : 3 065+ base 3: 16 : 0 066+ base 3: 17 : 3 067+ base 3: 18 : 0 068+ base 3: 19 : 3 069+ base 3: 20 : 0 070+ base 3: 21 : 0 071+ base 3: 22 : 3 072+ base 3: 23 : 3 073+ base 3: 24 : 0 074+ base 3: 25 : 3 075+ base 3: 26 : 3 076+ base 3: 27 : 1 077+ base 3: 28 : 0 078+ base 3: 29 : 3 079+ base 3: 30 : 0 080+ base 3: 31 : 3 081+ base 3: 32 : 3 082+ base 3: 33 : 0 083+ base 3: 34 : 3 084+ base 3: 35 : 0 085+ base 3: 36 : 0 086+ base 3: 37 : 3 087+ base 3: 38 : 3 088+ base 3: 39 : 3 089+ base 3: 40 : 0 090+ base 3: 41 : 0 091+ base 3: 42 : 0 092+ base 3: 43 : 3 093+ base 3: 44 : 3 094+ base 3: 45 : 3 095+ base 3: 46 : 0 096+ base 3: 47 : 3 097+ base 3: 48 : 0 098+ base 3: 49 : 0 099+ 2 100+ base 4: 3 : 0 101+ base 4: 4 : 1 102+ base 4: 6 : 0 103+ base 4: 7 : 4 104+ base 4: 8 : 5 105+ base 4: 9 : 0 106+ base 4: 10 : 4 107+ base 4: 11 : 4 108+ base 4: 12 : 0 109+ base 4: 13 : 4 110+ base 4: 14 : 4 111+ base 4: 15 : 0 112+ base 4: 16 : 1 113+ base 4: 17 : 0 114+ base 4: 18 : 0 115+ base 4: 19 : 0 116+ base 4: 20 : 0 117+ base 4: 21 : 0 118+ base 4: 22 : 4 119+ base 4: 23 : 0 120+ base 4: 24 : 4 121+ base 4: 25 : 4 122+ base 4: 26 : 4 123+ base 4: 27 : 4 124+ base 4: 28 : 4 125+ base 4: 29 : 0 126+ base 4: 30 : 0 127+ base 4: 31 : 0 128+ base 4: 32 : 1 129+ base 4: 33 : 0 130+ base 4: 34 : 0 131+ base 4: 35 : 0 132+ base 4: 36 : 0 133+ base 4: 37 : 0 134+ base 4: 38 : 0 135+ base 4: 39 : 4 136+ base 4: 40 : 0 137+ base 4: 41 : 4 138+ base 4: 42 : 0 139+ base 4: 43 : 0 140+ base 4: 44 : 4 141+ base 4: 45 : 4 142+ base 4: 46 : 0 143+ base 4: 47 : 4 144+ base 4: 48 : 4 145+ base 4: 49 : 4 146+ 4 147+ base 5: 2 : 5 148+ base 5: 3 : 0 149+ base 5: 6 : 0 150+ base 5: 7 : 5 151+ base 5: 8 : 5 152+ base 5: 9 : 0 153+ base 5: 10 : 5 154+ base 5: 11 : 5 155+ base 5: 12 : 0 156+ base 5: 13 : 0 157+ base 5: 14 : 5 158+ base 5: 15 : 5 159+ base 5: 16 : 5 160+ base 5: 17 : 5 161+ base 5: 18 : 5 162+ base 5: 19 : 0 163+ base 5: 20 : 5 164+ base 5: 21 : 0 165+ base 5: 22 : 5 166+ base 5: 23 : 5 167+ base 5: 24 : 0 168+ base 5: 25 : 7 169+ base 5: 26 : 5 170+ base 5: 27 : 0 171+ base 5: 28 : 0 172+ base 5: 29 : 5 173+ base 5: 30 : 0 174+ base 5: 31 : 5 175+ base 5: 32 : 0 176+ base 5: 33 : 0 177+ base 5: 34 : 0 178+ base 5: 35 : 0 179+ base 5: 36 : 0 180+ base 5: 37 : 5 181+ base 5: 38 : 5 182+ base 5: 39 : 5 183+ base 5: 40 : 0 184+ base 5: 41 : 5 185+ base 5: 42 : 5 186+ base 5: 43 : 0 187+ base 5: 44 : 0 188+ base 5: 45 : 5 189+ base 5: 46 : 5 190+ base 5: 47 : 5 191+ base 5: 48 : 5 192+ base 5: 49 : 5 193+ 4 194+ base 6: 2 : 6 195+ base 6: 3 : 0 196+ base 6: 4 : 6 197+ base 6: 6 : 1 198+ base 6: 8 : 0 199+ base 6: 9 : 0 200+ base 6: 10 : 6 201+ base 6: 11 : 0 202+ base 6: 12 : 0 203+ base 6: 13 : 6 204+ base 6: 14 : 0 205+ base 6: 15 : 0 206+ base 6: 16 : 6 207+ base 6: 17 : 6 208+ base 6: 18 : 6 209+ base 6: 19 : 0 210+ base 6: 20 : 0 211+ base 6: 21 : 0 212+ base 6: 22 : 6 213+ base 6: 23 : 6 214+ base 6: 24 : 6 215+ base 6: 25 : 6 216+ base 6: 26 : 0 217+ base 6: 27 : 6 218+ base 6: 28 : 6 219+ base 6: 29 : 0 220+ base 6: 30 : 0 221+ base 6: 31 : 0 222+ base 6: 32 : 0 223+ base 6: 33 : 6 224+ base 6: 34 : 0 225+ base 6: 35 : 0 226+ base 6: 36 : 1 227+ base 6: 37 : 6 228+ base 6: 38 : 0 229+ base 6: 39 : 6 230+ base 6: 40 : 0 231+ base 6: 41 : 0 232+ base 6: 42 : 6 233+ base 6: 43 : 6 234+ base 6: 44 : 6 235+ base 6: 45 : 6 236+ base 6: 46 : 6 237+ base 6: 47 : 6 238+ base 6: 48 : 0 239+ base 6: 49 : 6 240+ 4 241+ base 7: 2 : 7 242+ base 7: 3 : 0 243+ base 7: 4 : 7 244+ base 7: 5 : 7 245+ base 7: 7 : 1 246+ base 7: 8 : 0 247+ base 7: 9 : 0 248+ base 7: 10 : 7 249+ base 7: 11 : 7 250+ base 7: 12 : 7 251+ base 7: 13 : 7 252+ base 7: 14 : 7 253+ base 7: 15 : 0 254+ base 7: 16 : 7 255+ base 7: 17 : 0 256+ base 7: 18 : 0 257+ base 7: 19 : 0 258+ base 7: 20 : 0 259+ base 7: 21 : 0 260+ base 7: 22 : 0 261+ base 7: 23 : 7 262+ base 7: 24 : 0 263+ base 7: 25 : 7 264+ base 7: 26 : 0 265+ base 7: 27 : 7 266+ base 7: 28 : 0 267+ base 7: 29 : 0 268+ base 7: 30 : 7 269+ base 7: 31 : 7 270+ base 7: 32 : 0 271+ base 7: 33 : 7 272+ base 7: 34 : 0 273+ base 7: 35 : 7 274+ base 7: 36 : 7 275+ base 7: 37 : 0 276+ base 7: 38 : 7 277+ base 7: 39 : 7 278+ base 7: 40 : 0 279+ base 7: 41 : 0 280+ base 7: 42 : 7 281+ base 7: 43 : 0 282+ base 7: 44 : 0 283+ base 7: 45 : 0 284+ base 7: 46 : 7 285+ base 7: 47 : 7 286+ base 7: 48 : 7 287+ base 7: 49 : 1 288+ 3 289+ base 8: 2 : 8 290+ base 8: 3 : 8 291+ base 8: 4 : 8 292+ base 8: 5 : 8 293+ base 8: 6 : 0 294+ base 8: 10 : 8 295+ base 8: 11 : 0 296+ base 8: 12 : 8 297+ base 8: 13 : 8 298+ base 8: 14 : 0 299+ base 8: 15 : 8 300+ base 8: 16 : 8 301+ base 8: 17 : 0 302+ base 8: 18 : 8 303+ base 8: 19 : 8 304+ base 8: 20 : 8 305+ base 8: 21 : 8 306+ base 8: 22 : 8 307+ base 8: 23 : 0 308+ base 8: 24 : 0 309+ base 8: 25 : 8 310+ base 8: 26 : 0 311+ base 8: 27 : 0 312+ base 8: 28 : 8 313+ base 8: 29 : 8 314+ base 8: 30 : 0 315+ base 8: 31 : 8 316+ base 8: 32 : 0 317+ base 8: 33 : 0 318+ base 8: 34 : 8 319+ base 8: 35 : 8 320+ base 8: 36 : 0 321+ base 8: 37 : 0 322+ base 8: 38 : 0 323+ base 8: 39 : 0 324+ base 8: 40 : 0 325+ base 8: 41 : 8 326+ base 8: 42 : 0 327+ base 8: 43 : 0 328+ base 8: 44 : 0 329+ base 8: 45 : 0 330+ base 8: 46 : 0 331+ base 8: 47 : 0 332+ base 8: 48 : 0 333+ base 8: 49 : 8 334+ 5 335+ base 9: 2 : 0 336+ base 9: 3 : 1 337+ base 9: 4 : 0 338+ base 9: 5 : 9 339+ base 9: 6 : 0 340+ base 9: 7 : 0 341+ base 9: 9 : 1 342+ base 9: 10 : 0 343+ base 9: 11 : 0 344+ base 9: 12 : 0 345+ base 9: 13 : 9 346+ base 9: 14 : 0 347+ base 9: 15 : 9 348+ base 9: 16 : 0 349+ base 9: 17 : 9 350+ base 9: 18 : 0 351+ base 9: 19 : 9 352+ base 9: 20 : 0 353+ base 9: 21 : 0 354+ base 9: 22 : 9 355+ base 9: 23 : 9 356+ base 9: 24 : 0 357+ base 9: 25 : 9 358+ base 9: 26 : 9 359+ base 9: 27 : 1 360+ base 9: 28 : 0 361+ base 9: 29 : 9 362+ base 9: 30 : 0 363+ base 9: 31 : 9 364+ base 9: 32 : 9 365+ base 9: 33 : 0 366+ base 9: 34 : 9 367+ base 9: 35 : 0 368+ base 9: 36 : 0 369+ base 9: 37 : 9 370+ base 9: 38 : 9 371+ base 9: 39 : 9 372+ base 9: 40 : 0 373+ base 9: 41 : 0 374+ base 9: 42 : 0 375+ base 9: 43 : 9 376+ base 9: 44 : 9 377+ base 9: 45 : 9 378+ base 9: 46 : 0 379+ base 9: 47 : 9 380+ base 9: 48 : 0 381+ base 9: 49 : 0 382+ 3 383+ base 10: 2 : 10 384+ base 10: 3 : 0 385+ base 10: 4 : 10 386+ base 10: 5 : 10 387+ base 10: 6 : 10 388+ base 10: 7 : 10 389+ base 10: 8 : 0 390+ base 10: 9 : 0 391+ base 10: 10 : 1 392+ base 10: 12 : 0 393+ base 10: 13 : 10 394+ base 10: 14 : 10 395+ base 10: 15 : 10 396+ base 10: 16 : 10 397+ base 10: 17 : 10 398+ base 10: 18 : 0 399+ base 10: 19 : 10 400+ base 10: 20 : 0 401+ base 10: 21 : 10 402+ base 10: 22 : 10 403+ base 10: 23 : 10 404+ base 10: 24 : 10 405+ base 10: 25 : 10 406+ base 10: 26 : 10 407+ base 10: 27 : 0 408+ base 10: 28 : 10 409+ base 10: 29 : 10 410+ base 10: 30 : 0 411+ base 10: 31 : 10 412+ base 10: 32 : 10 413+ base 10: 33 : 10 414+ base 10: 34 : 10 415+ base 10: 35 : 0 416+ base 10: 36 : 10 417+ base 10: 37 : 0 418+ base 10: 38 : 10 419+ base 10: 39 : 10 420+ base 10: 40 : 0 421+ base 10: 41 : 10 422+ base 10: 42 : 10 423+ base 10: 43 : 0 424+ base 10: 44 : 10 425+ base 10: 45 : 0 426+ base 10: 46 : 0 427+ base 10: 47 : 0 428+ base 10: 48 : 10 429+ base 10: 49 : 10 430+ 3 ================================================================================ ================================================================================ /usr/ports/lang/php4/work/php-4.3.2RC2/ext/standard/tests/math/pow.phpt ================================================================================ ---- EXPECTED OUTPUT 1,1,0,0 On failure, please mail result to php-dev@lists.php.net OK ---- ACTUAL OUTPUT 1,1,0,0 On failure, please mail result to php-dev@lists.php.net Assert failed: 0.25 === pow(-2,-2) Left: float(0.25) Right: float(1) Assert failed: -0.5 === pow(-2,-1) Left: float(-0.5) Right: float(1) Assert failed: -2 === pow(-2, 1) Left: int(-2) Right: int(1) Assert failed: 4 === pow(-2, 2) Left: int(4) Right: int(1) Assert failed: -1.0 === pow(-1,-1) Left: float(-1) Right: float(1) Assert failed: -1 === pow(-1, 1) Left: int(-1) Right: int(1) Assert failed: TRUE === is_infinite(pow(0,-2)) Left: bool(true) Right: bool(false) Assert failed: TRUE === is_infinite(pow(0,-1)) Left: bool(true) Right: bool(false) Assert failed: 0 === pow( 0, 1) Left: int(0) Right: int(1) Assert failed: 0 === pow( 0, 2) Left: int(0) Right: int(1) Assert failed: 0.25 === pow( 2,-2) Left: float(0.25) Right: float(1) Assert failed: 0.5 === pow( 2,-1) Left: float(0.5) Right: float(1) Assert failed: 2 === pow( 2, 1) Left: int(2) Right: int(1) Assert failed: 4 === pow( 2, 2) Left: int(4) Right: int(1) Assert failed: 0.25 === pow(-2,-2.0) Left: float(0.25) Right: float(1) Assert failed: -0.5 === pow(-2,-1.0) Left: float(-0.5) Right: float(1) Assert failed: -2.0 === pow(-2, 1.0) Left: float(-2) Right: float(1) Assert failed: 4.0 === pow(-2, 2.0) Left: float(4) Right: float(1) Assert failed: -1.0 === pow(-1,-1.0) Left: float(-1) Right: float(1) Assert failed: -1.0 === pow(-1, 1.0) Left: float(-1) Right: float(1) Assert failed: TRUE === is_infinite(pow(0,-2.0)) Left: bool(true) Right: bool(false) Assert failed: TRUE === is_infinite(pow(0,-1.0)) Left: bool(true) Right: bool(false) Assert failed: 0.0 === pow( 0, 1.0) Left: float(0) Right: float(1) Assert failed: 0.0 === pow( 0, 2.0) Left: float(0) Right: float(1) Assert failed: 0.25 === pow( 2,-2.0) Left: float(0.25) Right: float(1) Assert failed: 0.5 === pow( 2,-1.0) Left: float(0.5) Right: float(1) Assert failed: 2.0 === pow( 2, 1.0) Left: float(2) Right: float(1) Assert failed: 4.0 === pow( 2, 2.0) Left: float(4) Right: float(1) Assert failed: 2147483648 === pow(2,31) Left: float(2147483648) Right: int(1) Assert failed: -2147483648 ~== pow(-2,31) Left: float(-2147483648) Right: int(1) Assert failed: 1000000000 === pow(10,9) Left: int(1000000000) Right: int(1) Assert failed: 100000000 === pow(-10,8) Left: int(100000000) Right: int(1) Assert failed: -1 === pow(-1,1443279821) Left: int(-1) Right: int(1) Assert failed: sqrt(2) ~== pow(2,1/2) Left: float(1.4142135623731) Right: float(1) Assert failed: 0.25 === pow(-2.0,-2.0) Left: float(0.25) Right: float(1) Assert failed: -0.5 === pow(-2.0,-1.0) Left: float(-0.5) Right: float(1) Assert failed: -2.0 === pow(-2.0, 1.0) Left: float(-2) Right: float(1) Assert failed: 4.0 === pow(-2.0, 2.0) Left: float(4) Right: float(1) Assert failed: -1.0 === pow(-1.0,-1.0) Left: float(-1) Right: float(1) Assert failed: -1.0 === pow(-1.0, 1.0) Left: float(-1) Right: float(1) Assert failed: TRUE === is_infinite(pow(0.0,-2.0)) Left: bool(true) Right: bool(false) Assert failed: TRUE === is_infinite(pow(0.0,-1.0)) Left: bool(true) Right: bool(false) Assert failed: 0.0 === pow( 0.0, 1.0) Left: float(0) Right: float(1) Assert failed: 0.0 === pow( 0.0, 2.0) Left: float(0) Right: float(1) Assert failed: 0.25 === pow( 2.0,-2.0) Left: float(0.25) Right: float(1) Assert failed: 0.5 === pow( 2.0,-1.0) Left: float(0.5) Right: float(1) Assert failed: 2.0 === pow( 2.0, 1.0) Left: float(2) Right: float(1) Assert failed: 4.0 === pow( 2.0, 2.0) Left: float(4) Right: float(1) Assert failed: 0.25 === pow(-2.0,-2) Left: float(0.25) Right: float(1) Assert failed: -0.5 === pow(-2.0,-1) Left: float(-0.5) Right: float(1) Assert failed: -2.0 === pow(-2.0, 1) Left: float(-2) Right: float(1) Assert failed: 4.0 === pow(-2.0, 2) Left: float(4) Right: float(1) Assert failed: -1.0 === pow(-1.0,-1) Left: float(-1) Right: float(1) Assert failed: -1.0 === pow(-1.0, 1) Left: float(-1) Right: float(1) Assert failed: TRUE === is_infinite(pow( 0.0,-2)) Left: bool(true) Right: bool(false) Assert failed: TRUE === is_infinite(pow( 0.0,-1)) Left: bool(true) Right: bool(false) Assert failed: 0.0 === pow( 0.0, 1) Left: float(0) Right: float(1) Assert failed: 0.0 === pow( 0.0, 2) Left: float(0) Right: float(1) Assert failed: 0.25 === pow( 2.0,-2) Left: float(0.25) Right: float(1) Assert failed: 0.5 === pow( 2.0,-1) Left: float(0.5) Right: float(1) Assert failed: 2.0 === pow( 2.0, 1) Left: float(2) Right: float(1) Assert failed: 4.0 === pow( 2.0, 2) Left: float(4) Right: float(1) Assert failed: 2.0 === pow( 4, 0.5) Left: float(2) Right: float(1) Assert failed: 2.0 === pow( 4.0, 0.5) Left: float(2) Right: float(1) Assert failed: 3.0 === pow( 27, 1/3) Left: float(3) Right: float(27) Assert failed: 3.0 === pow(27.0, 1/3) Left: float(3) Right: float(27) Assert failed: 0.5 === pow( 4, -0.5) Left: float(0.5) Right: float(1) Assert failed: 0.5 === pow( 4.0, -0.5) Left: float(0.5) Right: float(1) Assert failed: LONG_MAX-1 === pow(LONG_MAX-1,1) Left: int(2147483646) Right: int(1) Assert failed: LONG_MIN+1 === pow(LONG_MIN+1,1) Left: int(-2147483647) Right: int(1) Assert failed: (LONG_MAX-1)*(LONG_MAX-1) ~== pow(LONG_MAX-1,2) Left: float(4.6116860098375E+18) Right: int(1) Assert failed: (LONG_MIN+1)*(LONG_MIN+1) ~== pow(LONG_MIN+1,2) Left: float(4.6116860141324E+18) Right: int(1) Assert failed: (float)(LONG_MAX-1) === pow(LONG_MAX-1,1.0) Left: float(2147483646) Right: float(1) Assert failed: (float)(LONG_MIN+1) === pow(LONG_MIN+1,1.0) Left: float(-2147483647) Right: float(1) Assert failed: (LONG_MAX-1)*(LONG_MAX-1) ~== pow(LONG_MAX-1,2.0) Left: float(4.6116860098375E+18) Right: float(1) Assert failed: (LONG_MIN+1)*(LONG_MIN+1) ~== pow(LONG_MIN+1,2.0) Left: float(4.6116860141324E+18) Right: float(1) Assert failed: LONG_MAX === pow(LONG_MAX,1) Left: int(2147483647) Right: int(1) Assert failed: LONG_MIN === pow(LONG_MIN,1) Left: int(-2147483648) Right: int(1) Assert failed: LONG_MAX*LONG_MAX ~== pow(LONG_MAX,2) Left: float(4.6116860141324E+18) Right: int(1) Assert failed: LONG_MIN*LONG_MIN ~== pow(LONG_MIN,2) Left: float(4.6116860184274E+18) Right: int(1) Assert failed: (float)LONG_MAX === pow(LONG_MAX,1.0) Left: float(2147483647) Right: float(1) Assert failed: (float)LONG_MIN === pow(LONG_MIN,1.0) Left: float(-2147483648) Right: float(1) Assert failed: LONG_MAX*LONG_MAX ~== pow(LONG_MAX,2.0) Left: float(4.6116860141324E+18) Right: float(1) Assert failed: LONG_MIN*LONG_MIN ~== pow(LONG_MIN,2.0) Left: float(4.6116860184274E+18) Right: float(1) ---- FAILED ================================================================================ 003- OK 003+ 004+ Assert failed: 005+ 0.25 === pow(-2,-2) 006+ Left: float(0.25) 007+ Right: float(1) 008+ 009+ Assert failed: 010+ -0.5 === pow(-2,-1) 011+ Left: float(-0.5) 012+ Right: float(1) 013+ 014+ Assert failed: 015+ -2 === pow(-2, 1) 016+ Left: int(-2) 017+ Right: int(1) 018+ 019+ Assert failed: 020+ 4 === pow(-2, 2) 021+ Left: int(4) 022+ Right: int(1) 023+ 024+ Assert failed: 025+ -1.0 === pow(-1,-1) 026+ Left: float(-1) 027+ Right: float(1) 028+ 029+ Assert failed: 030+ -1 === pow(-1, 1) 031+ Left: int(-1) 032+ Right: int(1) 033+ 034+ Assert failed: 035+ TRUE === is_infinite(pow(0,-2)) 036+ Left: bool(true) 037+ Right: bool(false) 038+ 039+ Assert failed: 040+ TRUE === is_infinite(pow(0,-1)) 041+ Left: bool(true) 042+ Right: bool(false) 043+ 044+ Assert failed: 045+ 0 === pow( 0, 1) 046+ Left: int(0) 047+ Right: int(1) 048+ 049+ Assert failed: 050+ 0 === pow( 0, 2) 051+ Left: int(0) 052+ Right: int(1) 053+ 054+ Assert failed: 055+ 0.25 === pow( 2,-2) 056+ Left: float(0.25) 057+ Right: float(1) 058+ 059+ Assert failed: 060+ 0.5 === pow( 2,-1) 061+ Left: float(0.5) 062+ Right: float(1) 063+ 064+ Assert failed: 065+ 2 === pow( 2, 1) 066+ Left: int(2) 067+ Right: int(1) 068+ 069+ Assert failed: 070+ 4 === pow( 2, 2) 071+ Left: int(4) 072+ Right: int(1) 073+ 074+ Assert failed: 075+ 0.25 === pow(-2,-2.0) 076+ Left: float(0.25) 077+ Right: float(1) 078+ 079+ Assert failed: 080+ -0.5 === pow(-2,-1.0) 081+ Left: float(-0.5) 082+ Right: float(1) 083+ 084+ Assert failed: 085+ -2.0 === pow(-2, 1.0) 086+ Left: float(-2) 087+ Right: float(1) 088+ 089+ Assert failed: 090+ 4.0 === pow(-2, 2.0) 091+ Left: float(4) 092+ Right: float(1) 093+ 094+ Assert failed: 095+ -1.0 === pow(-1,-1.0) 096+ Left: float(-1) 097+ Right: float(1) 098+ 099+ Assert failed: 100+ -1.0 === pow(-1, 1.0) 101+ Left: float(-1) 102+ Right: float(1) 103+ 104+ Assert failed: 105+ TRUE === is_infinite(pow(0,-2.0)) 106+ Left: bool(true) 107+ Right: bool(false) 108+ 109+ Assert failed: 110+ TRUE === is_infinite(pow(0,-1.0)) 111+ Left: bool(true) 112+ Right: bool(false) 113+ 114+ Assert failed: 115+ 0.0 === pow( 0, 1.0) 116+ Left: float(0) 117+ Right: float(1) 118+ 119+ Assert failed: 120+ 0.0 === pow( 0, 2.0) 121+ Left: float(0) 122+ Right: float(1) 123+ 124+ Assert failed: 125+ 0.25 === pow( 2,-2.0) 126+ Left: float(0.25) 127+ Right: float(1) 128+ 129+ Assert failed: 130+ 0.5 === pow( 2,-1.0) 131+ Left: float(0.5) 132+ Right: float(1) 133+ 134+ Assert failed: 135+ 2.0 === pow( 2, 1.0) 136+ Left: float(2) 137+ Right: float(1) 138+ 139+ Assert failed: 140+ 4.0 === pow( 2, 2.0) 141+ Left: float(4) 142+ Right: float(1) 143+ 144+ Assert failed: 145+ 2147483648 === pow(2,31) 146+ Left: float(2147483648) 147+ Right: int(1) 148+ 149+ Assert failed: 150+ -2147483648 ~== pow(-2,31) 151+ Left: float(-2147483648) 152+ Right: int(1) 153+ 154+ Assert failed: 155+ 1000000000 === pow(10,9) 156+ Left: int(1000000000) 157+ Right: int(1) 158+ 159+ Assert failed: 160+ 100000000 === pow(-10,8) 161+ Left: int(100000000) 162+ Right: int(1) 163+ 164+ Assert failed: 165+ -1 === pow(-1,1443279821) 166+ Left: int(-1) 167+ Right: int(1) 168+ 169+ Assert failed: 170+ sqrt(2) ~== pow(2,1/2) 171+ Left: float(1.4142135623731) 172+ Right: float(1) 173+ 174+ Assert failed: 175+ 0.25 === pow(-2.0,-2.0) 176+ Left: float(0.25) 177+ Right: float(1) 178+ 179+ Assert failed: 180+ -0.5 === pow(-2.0,-1.0) 181+ Left: float(-0.5) 182+ Right: float(1) 183+ 184+ Assert failed: 185+ -2.0 === pow(-2.0, 1.0) 186+ Left: float(-2) 187+ Right: float(1) 188+ 189+ Assert failed: 190+ 4.0 === pow(-2.0, 2.0) 191+ Left: float(4) 192+ Right: float(1) 193+ 194+ Assert failed: 195+ -1.0 === pow(-1.0,-1.0) 196+ Left: float(-1) 197+ Right: float(1) 198+ 199+ Assert failed: 200+ -1.0 === pow(-1.0, 1.0) 201+ Left: float(-1) 202+ Right: float(1) 203+ 204+ Assert failed: 205+ TRUE === is_infinite(pow(0.0,-2.0)) 206+ Left: bool(true) 207+ Right: bool(false) 208+ 209+ Assert failed: 210+ TRUE === is_infinite(pow(0.0,-1.0)) 211+ Left: bool(true) 212+ Right: bool(false) 213+ 214+ Assert failed: 215+ 0.0 === pow( 0.0, 1.0) 216+ Left: float(0) 217+ Right: float(1) 218+ 219+ Assert failed: 220+ 0.0 === pow( 0.0, 2.0) 221+ Left: float(0) 222+ Right: float(1) 223+ 224+ Assert failed: 225+ 0.25 === pow( 2.0,-2.0) 226+ Left: float(0.25) 227+ Right: float(1) 228+ 229+ Assert failed: 230+ 0.5 === pow( 2.0,-1.0) 231+ Left: float(0.5) 232+ Right: float(1) 233+ 234+ Assert failed: 235+ 2.0 === pow( 2.0, 1.0) 236+ Left: float(2) 237+ Right: float(1) 238+ 239+ Assert failed: 240+ 4.0 === pow( 2.0, 2.0) 241+ Left: float(4) 242+ Right: float(1) 243+ 244+ Assert failed: 245+ 0.25 === pow(-2.0,-2) 246+ Left: float(0.25) 247+ Right: float(1) 248+ 249+ Assert failed: 250+ -0.5 === pow(-2.0,-1) 251+ Left: float(-0.5) 252+ Right: float(1) 253+ 254+ Assert failed: 255+ -2.0 === pow(-2.0, 1) 256+ Left: float(-2) 257+ Right: float(1) 258+ 259+ Assert failed: 260+ 4.0 === pow(-2.0, 2) 261+ Left: float(4) 262+ Right: float(1) 263+ 264+ Assert failed: 265+ -1.0 === pow(-1.0,-1) 266+ Left: float(-1) 267+ Right: float(1) 268+ 269+ Assert failed: 270+ -1.0 === pow(-1.0, 1) 271+ Left: float(-1) 272+ Right: float(1) 273+ 274+ Assert failed: 275+ TRUE === is_infinite(pow( 0.0,-2)) 276+ Left: bool(true) 277+ Right: bool(false) 278+ 279+ Assert failed: 280+ TRUE === is_infinite(pow( 0.0,-1)) 281+ Left: bool(true) 282+ Right: bool(false) 283+ 284+ Assert failed: 285+ 0.0 === pow( 0.0, 1) 286+ Left: float(0) 287+ Right: float(1) 288+ 289+ Assert failed: 290+ 0.0 === pow( 0.0, 2) 291+ Left: float(0) 292+ Right: float(1) 293+ 294+ Assert failed: 295+ 0.25 === pow( 2.0,-2) 296+ Left: float(0.25) 297+ Right: float(1) 298+ 299+ Assert failed: 300+ 0.5 === pow( 2.0,-1) 301+ Left: float(0.5) 302+ Right: float(1) 303+ 304+ Assert failed: 305+ 2.0 === pow( 2.0, 1) 306+ Left: float(2) 307+ Right: float(1) 308+ 309+ Assert failed: 310+ 4.0 === pow( 2.0, 2) 311+ Left: float(4) 312+ Right: float(1) 313+ 314+ Assert failed: 315+ 2.0 === pow( 4, 0.5) 316+ Left: float(2) 317+ Right: float(1) 318+ 319+ Assert failed: 320+ 2.0 === pow( 4.0, 0.5) 321+ Left: float(2) 322+ Right: float(1) 323+ 324+ Assert failed: 325+ 3.0 === pow( 27, 1/3) 326+ Left: float(3) 327+ Right: float(27) 328+ 329+ Assert failed: 330+ 3.0 === pow(27.0, 1/3) 331+ Left: float(3) 332+ Right: float(27) 333+ 334+ Assert failed: 335+ 0.5 === pow( 4, -0.5) 336+ Left: float(0.5) 337+ Right: float(1) 338+ 339+ Assert failed: 340+ 0.5 === pow( 4.0, -0.5) 341+ Left: float(0.5) 342+ Right: float(1) 343+ 344+ Assert failed: 345+ LONG_MAX-1 === pow(LONG_MAX-1,1) 346+ Left: int(2147483646) 347+ Right: int(1) 348+ 349+ Assert failed: 350+ LONG_MIN+1 === pow(LONG_MIN+1,1) 351+ Left: int(-2147483647) 352+ Right: int(1) 353+ 354+ Assert failed: 355+ (LONG_MAX-1)*(LONG_MAX-1) ~== pow(LONG_MAX-1,2) 356+ Left: float(4.6116860098375E+18) 357+ Right: int(1) 358+ 359+ Assert failed: 360+ (LONG_MIN+1)*(LONG_MIN+1) ~== pow(LONG_MIN+1,2) 361+ Left: float(4.6116860141324E+18) 362+ Right: int(1) 363+ 364+ Assert failed: 365+ (float)(LONG_MAX-1) === pow(LONG_MAX-1,1.0) 366+ Left: float(2147483646) 367+ Right: float(1) 368+ 369+ Assert failed: 370+ (float)(LONG_MIN+1) === pow(LONG_MIN+1,1.0) 371+ Left: float(-2147483647) 372+ Right: float(1) 373+ 374+ Assert failed: 375+ (LONG_MAX-1)*(LONG_MAX-1) ~== pow(LONG_MAX-1,2.0) 376+ Left: float(4.6116860098375E+18) 377+ Right: float(1) 378+ 379+ Assert failed: 380+ (LONG_MIN+1)*(LONG_MIN+1) ~== pow(LONG_MIN+1,2.0) 381+ Left: float(4.6116860141324E+18) 382+ Right: float(1) 383+ 384+ Assert failed: 385+ LONG_MAX === pow(LONG_MAX,1) 386+ Left: int(2147483647) 387+ Right: int(1) 388+ 389+ Assert failed: 390+ LONG_MIN === pow(LONG_MIN,1) 391+ Left: int(-2147483648) 392+ Right: int(1) 393+ 394+ Assert failed: 395+ LONG_MAX*LONG_MAX ~== pow(LONG_MAX,2) 396+ Left: float(4.6116860141324E+18) 397+ Right: int(1) 398+ 399+ Assert failed: 400+ LONG_MIN*LONG_MIN ~== pow(LONG_MIN,2) 401+ Left: float(4.6116860184274E+18) 402+ Right: int(1) 403+ 404+ Assert failed: 405+ (float)LONG_MAX === pow(LONG_MAX,1.0) 406+ Left: float(2147483647) 407+ Right: float(1) 408+ 409+ Assert failed: 410+ (float)LONG_MIN === pow(LONG_MIN,1.0) 411+ Left: float(-2147483648) 412+ Right: float(1) 413+ 414+ Assert failed: 415+ LONG_MAX*LONG_MAX ~== pow(LONG_MAX,2.0) 416+ Left: float(4.6116860141324E+18) 417+ Right: float(1) 418+ 419+ Assert failed: 420+ LONG_MIN*LONG_MIN ~== pow(LONG_MIN,2.0) 421+ Left: float(4.6116860184274E+18) 422+ Right: float(1) ================================================================================ ================================================================================ /usr/ports/lang/php4/work/php-4.3.2RC2/ext/standard/tests/strings/htmlentities16.phpt ================================================================================ ---- EXPECTED OUTPUT string(11) "ˆ©ðîñêîøíûé" string(75) "&euro;&copy;&#1088;&#1086;&#1089;&#1082;&#1086;&#1096;&#1085;&#1099;&#1081;" ---- ACTUAL OUTPUT Warning: mb_internal_encoding(): Unknown encoding "cp1251" in /usr/ports/lang/php4/work/php-4.3.2RC2/ext/standard/tests/strings/htmlentities16.php on line 2 string(11) "ˆ©ðîñêîøíûé" string(72) "ˆ&copy;&eth;&icirc;&ntilde;&ecirc;&icirc;&oslash;&iacute;&ucirc;&eacute;" ---- FAILED ================================================================================ 001- string(11) "ˆ©ðîñêîøíûé" 001+ Warning: mb_internal_encoding(): Unknown encoding "cp1251" in /usr/ports/lang/php4/work/php-4.3.2RC2/ext/standard/tests/strings/htmlentities16.php on line 2 002- string(75) "&euro;&copy;&#1088;&#1086;&#1089;&#1082;&#1086;&#1096;&#1085;&#1099;&#1081;" 002+ string(11) "ˆ©ðîñêîøíûé" 003+ string(72) "ˆ&copy;&eth;&icirc;&ntilde;&ecirc;&icirc;&oslash;&iacute;&ucirc;&eacute;" ================================================================================ ================================================================================ /usr/ports/lang/php4/work/php-4.3.2RC2/ext/standard/tests/time/002.phpt ================================================================================ ---- EXPECTED OUTPUT 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 23:59:59 2001-10-22 21:19:58 2001-10-22 23:19:58 2001-10-22 23:32:58 2001-10-22 19:19:58 2001-10-22 19:06:58 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 18:59:59 2001-10-22 21:19:58 2001-10-22 19:19:58 2001-10-22 19:32:58 2001-10-22 15:19:58 2001-10-22 15:06:58 ---- ACTUAL OUTPUT 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 23:59:59 2001-10-22 21:19:58 2001-10-22 23:19:58 2001-10-22 23:32:58 2001-10-22 19:19:58 2001-10-22 19:06:58 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 23:59:59 2001-10-22 21:19:58 2001-10-22 23:19:58 2001-10-22 23:32:58 2001-10-22 19:19:58 2001-10-22 19:06:58 ---- FAILED ================================================================================ 023- 1969-12-31 18:59:59 023+ 1969-12-31 23:59:59 025- 2001-10-22 19:19:58 025+ 2001-10-22 23:19:58 026- 2001-10-22 19:32:58 026+ 2001-10-22 23:32:58 027- 2001-10-22 15:19:58 027+ 2001-10-22 19:19:58 028- 2001-10-22 15:06:58 028+ 2001-10-22 19:06:58 ================================================================================ ================================================================================ /usr/ports/lang/php4/work/php-4.3.2RC2/ext/standard/tests/time/003.phpt ================================================================================ ---- EXPECTED OUTPUT 2000-02-29 2000-02-28 2000-02-29 2001-02-28 2001-03-01 1999-11-30 2000-05-29 12:00:00 2000-05-29 13:00:00 2000-05-29 12:00:00 2000-01-31 12:00:00 2000-01-31 12:00:00 2000-01-31 11:00:00 2000-04-29 12:00:00 2000-04-29 13:00:00 2000-04-29 12:00:00 ---- ACTUAL OUTPUT 2000-02-29 2000-02-28 2000-02-29 2001-02-28 2001-03-01 1999-11-30 2000-05-29 12:00:00 2000-05-29 07:00:00 2000-05-29 12:00:00 2000-01-31 12:00:00 2000-01-31 06:00:00 2000-01-31 11:00:00 2000-04-29 12:00:00 2000-04-29 07:00:00 2000-04-29 12:00:00 ---- FAILED ================================================================================ 008- 2000-05-29 13:00:00 008+ 2000-05-29 07:00:00 011- 2000-01-31 12:00:00 011+ 2000-01-31 06:00:00 014- 2000-04-29 13:00:00 014+ 2000-04-29 07:00:00 ================================================================================ ================================================================================ /usr/ports/lang/php4/work/php-4.3.2RC2/ext/standard/tests/time/mktime.phpt ================================================================================ ---- EXPECTED OUTPUT int(1009843200) int(1009843200) int(1009843200) int(1009843200) int(1025481600) int(1025481600) int(1025481600) int(1025481600) int(1009839600) int(1009839600) int(1009839600) int(1009836000) int(1025474400) int(1025474400) int(1025478000) int(1025474400) ---- ACTUAL OUTPUT int(1009843200) int(1009843200) int(1009843200) int(-3662) int(1025481600) int(1025481600) int(1025481600) int(-3662) int(1009839600) int(1009839600) int(1009839600) int(1009857600) int(1025474400) int(1025474400) int(1025456400) int(1025474400) ---- FAILED ================================================================================ 004- int(1009843200) 004+ int(-3662) 008- int(1025481600) 008+ int(-3662) 012- int(1009836000) 012+ int(1009857600) 015- int(1025478000) 015+ int(1025456400) ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: FreeBSD Automake: automake (GNU automake) 1.5 Written by Tom Tromey <tromey@cygnus.com>. Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 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. Autoconf: autoconf (GNU Autoconf) 2.53 Written by David J. MacKenzie and Akim Demaille. Copyright 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.2.1 [FreeBSD] 20021119 (release) Bison: bison (GNU Bison) 1.75 Written by Robert Corbett and Richard Stallman. Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Libraries: /usr/ports/lang/php4/work/php-4.3.2RC2/sapi/cli/php: libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28200000) libmcal.so => /usr/local/lib/libmcal.so (0x28219000) libc-client4.so.8 => /usr/local/lib/libc-client4.so.8 (0x28229000) libssl.so.3 => /usr/local/lib/libssl.so.3 (0x282dd000) libcrypto.so.3 => /usr/local/lib/libcrypto.so.3 (0x2830d000) libexpat.so.4 => /usr/local/lib/libexpat.so.4 (0x2840a000) libsybdb.so.3 => /usr/local/lib/libsybdb.so.3 (0x2842a000) libpspell.so.15 => /usr/local/lib/libpspell.so.15 (0x2845a000) libpq.so.3 => /usr/local/lib/libpq.so.3 (0x2845c000) libmysqlclient.so.10 => /usr/local/lib/mysql/libmysqlclient.so.10 (0x28471000) libmcrypt.so.8 => /usr/local/lib/libmcrypt.so.8 (0x2848e000) libltdl.so.1 => /usr/local/lib/libltdl.so.1 (0x284c2000) libldap.so.2 => /usr/local/lib/libldap.so.2 (0x284c6000) liblber.so.2 => /usr/local/lib/liblber.so.2 (0x284ed000) libpam.so.2 => /usr/lib/libpam.so.2 (0x284f8000) libintl.so.4 => /usr/local/lib/libintl.so.4 (0x284ff000) libz.so.2 => /usr/lib/libz.so.2 (0x28507000) libm.so.2 => /usr/lib/libm.so.2 (0x28514000) libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x28531000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2861e000) libc.so.5 => /usr/lib/libc.so.5 (0x286f9000) libaspell.so.15 => /usr/local/lib/libaspell.so.15 (0x287c1000) libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x28855000) libssl.so.2 => /usr/lib/libssl.so.2 (0x288c6000) libcrypto.so.2 => /usr/lib/libcrypto.so.2 (0x288f5000) ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 4.3.2-RC2 System => FreeBSD ws90bj.pompo.net 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #0: Mon Apr 7 18:47:47 CEST 2003 thierry@ws90bj.pompo.net:/usr/obj/usr/src/sys/WS90BJ-030112 i386 Build Date => May 15 2003 22:06:36 Configure Command => './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-zlib-dir=/usr' '--disable-all' '--with-apxs2=/usr/local/sbin/apxs' '--enable-ctype' '--with-dom=/usr/local' '--enable-ftp' '--with-gettext=/usr/local' '--with-imap=/usr/local' '--with-imap-ssl=/usr/local' '--enable-mbstring' '--enable-mbregex' '--with-mcal=/usr/local' '--with-mcrypt=/usr/local' '--with-mysql=/usr/local' '--with-ldap=/usr/local' '--with-openssl=/usr/local' '--with-pcre-regex=yes' '--enable-posix' '--with-pgsql=/usr/local' '--with-pspell=/usr/local' '--enable-session' '--with-sybase=/usr/local' '--enable-tokenizer' '--enable-xml' '--with-expat-dir=/usr/local' '--with-zlib=yes' '--prefix=/usr/local' 'i386-portbld-freebsd5.0' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/etc PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, https, ftps, compress.zlib This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => On => On allow_url_fopen => On => On 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_prepend_file => no value => no value browscap => no value => no value default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => Off disable_classes => no value => no value disable_functions => no value => no value display_errors => On => On display_startup_errors => Off => Off doc_root => no value => no value docref_ext => no value => no value docref_root => no value => no value enable_dl => On => On error_append_string => no value => no value error_log => no value => no value error_prepend_string => no value => no value error_reporting => no value => no value expose_php => On => On extension_dir => /usr/local/lib/php/20020429 => /usr/local/lib/php/20020429 file_uploads => On => On gpc_order => GPC => GPC highlight.bg => #FFFFFF => #FFFFFF highlight.comment => #FF8000 => #FF8000 highlight.default => #0000BB => #0000BB highlight.html => #000000 => #000000 highlight.keyword => #007700 => #007700 highlight.string => #DD0000 => #DD0000 html_errors => Off => On ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => Off 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 max_execution_time => 0 => 30 max_input_time => -1 => -1 memory_limit => 8M => 8M open_basedir => no value => no value output_buffering => 0 => 0 output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 register_argc_argv => On => On register_globals => Off => Off report_memleaks => On => On 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 short_open_tag => On => On SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => Off => Off track_errors => Off => Off unserialize_callback_func => no value => no value upload_max_filesize => 2M => 2M upload_tmp_dir => no value => no value user_dir => no value => no value variables_order => no value => no value xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On ctype ctype functions => enabled domxml DOM/XML => enabled DOM/XML API Version => 20020815 libxml Version => 20507 HTML Support => enabled XPath Support => enabled XPointer Support => enabled ftp FTP support => enabled gettext GetText Support => enabled imap IMAP c-Client Version => 2001 SSL Support => enabled ldap LDAP Support => enabled RCS Version => $Id: ldap.c,v 1.130.2.3 2003/03/07 14:08:06 iliaa Exp $ Total Links => 0/unlimited API Version => 2004 Vendor Name => OpenLDAP Vendor Version => 20025 mbstring Multibyte Support => enabled Japanese support => enabled Multibyte (japanese) regex support => enabled mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Directive => Local Value => Master Value mbstring.detect_order => no value => no value mbstring.encoding_translation => Off => Off mbstring.func_overload => 0 => 0 mbstring.http_input => pass => pass mbstring.http_output => pass => pass mbstring.internal_encoding => none => none mbstring.language => neutral => neutral mbstring.substitute_character => no value => no value mcal MCAL Support => enabled MCAL Version => 0.6 - 20000121 mcrypt mcrypt support => enabled version => >= 2.4.x Supported ciphers => cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes Supported modes => cbc cfb ctr ecb ncfb nofb ofb stream Directive => Local Value => Master Value mcrypt.algorithms_dir => no value => no value mcrypt.modes_dir => no value => no value mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 3.23.56 MYSQL_MODULE_TYPE => external MYSQL_SOCKET => /tmp/mysql.sock MYSQL_INCLUDE => -I/usr/local/include/mysql MYSQL_LIBS => -L/usr/local/lib/mysql -lmysqlclient Directive => Local Value => Master Value mysql.allow_persistent => On => On mysql.connect_timeout => -1 => -1 mysql.default_host => no value => no value mysql.default_password => no value => no value mysql.default_port => no value => no value mysql.default_socket => no value => no value mysql.default_user => no value => no value mysql.max_links => Unlimited => Unlimited mysql.max_persistent => Unlimited => Unlimited mysql.trace_mode => Off => Off openssl OpenSSL support => enabled OpenSSL Version => OpenSSL 0.9.7b 10 Apr 2003 pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 3.92 11-Sep-2002 pgsql PostgreSQL Support => enabled PostgreSQL(libpq) Version => 7.3.2 Multibyte character support => enabled SSL support => enabled Active Persistent Links => 0 Active Links => 0 Directive => Local Value => Master Value pgsql.allow_persistent => On => On pgsql.auto_reset_persistent => Off => Off pgsql.ignore_notice => Off => Off pgsql.log_notice => Off => Off pgsql.max_links => Unlimited => Unlimited pgsql.max_persistent => Unlimited => Unlimited posix Revision => $Revision: 1.51.2.2 $ pspell PSpell Support => enabled session Session Support => enabled Registered save handlers => files user Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => On => On session.bug_compat_warn => On => On session.cache_expire => 180 => 180 session.cache_limiter => nocache => nocache session.cookie_domain => no value => no value session.cookie_lifetime => 0 => 0 session.cookie_path => / => / session.cookie_secure => Off => Off session.entropy_file => no value => no value session.entropy_length => 0 => 0 session.gc_divisor => 100 => 100 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.name => PHPSESSID => PHPSESSID session.referer_check => no value => no value session.save_handler => files => files session.save_path => /tmp => /tmp session.serialize_handler => php => php session.use_cookies => On => On session.use_only_cookies => Off => Off session.use_trans_sid => Off => Off 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 sybase Sybase Support => enabled Allow Persistent Links => Yes Persistent Links => 0/unlimited Total Links => 0/unlimited Application Name => PHP 4.0 Client API Version => $Id: dblib.c,v 1.116 2003/01/26 10:27:35 freddy77 Exp $ tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => expat_1.95.6 zlib ZLib Support => enabled Compiled Version => 1.1.4 Linked Version => 1.1.4 Directive => Local Value => Master Value zlib.output_compression => Off => Off zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Additional Modules Module Name Environment Variable => Value CONTENT_TYPE => ARCH => i386 OPSYS => FreeBSD CVS_RSH => ssh SSH_CLIENT => 10.0.0.3 4992 22 USER => thierry MAIL => /var/mail/thierry CXXFLAGS => -O -pipe -mno-sse2 -march=pentium4 MANPREFIX => /usr/local WITH_PSPELL => 1 SHLVL => 1 X11BASE => /usr/X11R6 QUERY_STRING => WITH_DOMXML => 1 OLDPWD => /usr/ports/lang/php4 HOME => /home/thierry TEST_PHP_SRCDIR => /usr/ports/lang/php4/work/php-4.3.2RC2 WITH_FTP => 1 WITH_APACHE2 => 1 CATALINA_HOME => /usr/local/jakarta-tomcat4.1 PAGER => more LC_CTYPE => fr_FR.ISO8859-15 BSD_INSTALL_SCRIPT => install -m 555 CONTENT_LENGTH => WITH_OPENSSL => 1 NNTPSERVER => localhost SCRIPT_FILENAME => PATH_TRANSLATED => WITH_GETTEXT => 1 COLORTERM => rxvt-xpm WITH_SYBASEDB => 1 MM_CHARSET => ISO8859-15 OSREL => 5.0 LOGNAME => thierry WINDOWID => 39845890 _ => /usr/bin/make LIBDIR => /usr/lib TEST_PHP_EXECUTABLE => /usr/ports/lang/php4/work/php-4.3.2RC2/sapi/cli/php WITH_POSTGRESQL => 1 COLORFGBG => 0;default;15 BLOCKSIZE => K TERM => xterm-color BSD_INSTALL_DATA => install -m 444 PORTOBJFORMAT => elf WITH_OPENLDAP => 1 WITH_MCRYPT => 1 WITH_MCAL => 1 PATH => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/thierry/bin:/usr/local/jdk1.3.1/bin:/usr/local/jdk1.3.1/bin CFLAGS => -O -pipe -mno-sse2 -march=pentium4 SYSTEMVERSION => 20030407 DISPLAY => localhost:10.0 LANG => C WITH_MYSQL => 1 OSVERSION => 500043 PREFIX => /usr/local SHELL => /bin/sh REDIRECT_STATUS => __MKLVL__ => 2 LOCALBASE => /usr/local REQUEST_METHOD => WITH_IMAP => 1 __GL_SINGLE_THREADED => 1 CLICOLOR => JAVA_HOME => /usr/local/jdk1.3.1 CVSROOT => /usr/local/cvs PWD => /usr/ports/lang/php4/work/php-4.3.2RC2 SSH_CONNECTION => 10.0.0.3 4992 10.0.0.6 22 BSD_INSTALL_MAN => install -m 444 FTP_PASSIVE_MODE => YES MOTIFLIB => -L/usr/X11R6/lib -lXm -lXp CC => cc WITH_MBSTRING => 1 EDITOR => vim BSD_INSTALL_PROGRAM => install -s -m 555 PHP Variables Variable => Value _SERVER["CONTENT_TYPE"] => _SERVER["ARCH"] => i386 _SERVER["OPSYS"] => FreeBSD _SERVER["CVS_RSH"] => ssh _SERVER["SSH_CLIENT"] => 10.0.0.3 4992 22 _SERVER["USER"] => thierry _SERVER["MAIL"] => /var/mail/thierry _SERVER["CXXFLAGS"] => -O -pipe -mno-sse2 -march=pentium4 _SERVER["MANPREFIX"] => /usr/local _SERVER["WITH_PSPELL"] => 1 _SERVER["SHLVL"] => 1 _SERVER["X11BASE"] => /usr/X11R6 _SERVER["QUERY_STRING"] => _SERVER["WITH_DOMXML"] => 1 _SERVER["OLDPWD"] => /usr/ports/lang/php4 _SERVER["HOME"] => /home/thierry _SERVER["TEST_PHP_SRCDIR"] => /usr/ports/lang/php4/work/php-4.3.2RC2 _SERVER["WITH_FTP"] => 1 _SERVER["WITH_APACHE2"] => 1 _SERVER["CATALINA_HOME"] => /usr/local/jakarta-tomcat4.1 _SERVER["PAGER"] => more _SERVER["LC_CTYPE"] => fr_FR.ISO8859-15 _SERVER["BSD_INSTALL_SCRIPT"] => install -m 555 _SERVER["CONTENT_LENGTH"] => _SERVER["WITH_OPENSSL"] => 1 _SERVER["NNTPSERVER"] => localhost _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["WITH_GETTEXT"] => 1 _SERVER["COLORTERM"] => rxvt-xpm _SERVER["WITH_SYBASEDB"] => 1 _SERVER["MM_CHARSET"] => ISO8859-15 _SERVER["OSREL"] => 5.0 _SERVER["LOGNAME"] => thierry _SERVER["WINDOWID"] => 39845890 _SERVER["_"] => /usr/bin/make _SERVER["LIBDIR"] => /usr/lib _SERVER["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php4/work/php-4.3.2RC2/sapi/cli/php _SERVER["WITH_POSTGRESQL"] => 1 _SERVER["COLORFGBG"] => 0;default;15 _SERVER["BLOCKSIZE"] => K _SERVER["TERM"] => xterm-color _SERVER["BSD_INSTALL_DATA"] => install -m 444 _SERVER["PORTOBJFORMAT"] => elf _SERVER["WITH_OPENLDAP"] => 1 _SERVER["WITH_MCRYPT"] => 1 _SERVER["WITH_MCAL"] => 1 _SERVER["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/thierry/bin:/usr/local/jdk1.3.1/bin:/usr/local/jdk1.3.1/bin _SERVER["CFLAGS"] => -O -pipe -mno-sse2 -march=pentium4 _SERVER["SYSTEMVERSION"] => 20030407 _SERVER["DISPLAY"] => localhost:10.0 _SERVER["LANG"] => C _SERVER["WITH_MYSQL"] => 1 _SERVER["OSVERSION"] => 500043 _SERVER["PREFIX"] => /usr/local _SERVER["SHELL"] => /bin/sh _SERVER["REDIRECT_STATUS"] => _SERVER["__MKLVL__"] => 2 _SERVER["LOCALBASE"] => /usr/local _SERVER["REQUEST_METHOD"] => _SERVER["WITH_IMAP"] => 1 _SERVER["__GL_SINGLE_THREADED"] => 1 _SERVER["CLICOLOR"] => _SERVER["JAVA_HOME"] => /usr/local/jdk1.3.1 _SERVER["CVSROOT"] => /usr/local/cvs _SERVER["PWD"] => /usr/ports/lang/php4/work/php-4.3.2RC2 _SERVER["SSH_CONNECTION"] => 10.0.0.3 4992 10.0.0.6 22 _SERVER["BSD_INSTALL_MAN"] => install -m 444 _SERVER["FTP_PASSIVE_MODE"] => YES _SERVER["MOTIFLIB"] => -L/usr/X11R6/lib -lXm -lXp _SERVER["CC"] => cc _SERVER["WITH_MBSTRING"] => 1 _SERVER["EDITOR"] => vim _SERVER["BSD_INSTALL_PROGRAM"] => install -s -m 555 _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["CONTENT_TYPE"] => _ENV["ARCH"] => i386 _ENV["OPSYS"] => FreeBSD _ENV["CVS_RSH"] => ssh _ENV["SSH_CLIENT"] => 10.0.0.3 4992 22 _ENV["USER"] => thierry _ENV["MAIL"] => /var/mail/thierry _ENV["CXXFLAGS"] => -O -pipe -mno-sse2 -march=pentium4 _ENV["MANPREFIX"] => /usr/local _ENV["WITH_PSPELL"] => 1 _ENV["SHLVL"] => 1 _ENV["X11BASE"] => /usr/X11R6 _ENV["QUERY_STRING"] => _ENV["WITH_DOMXML"] => 1 _ENV["OLDPWD"] => /usr/ports/lang/php4 _ENV["HOME"] => /home/thierry _ENV["TEST_PHP_SRCDIR"] => /usr/ports/lang/php4/work/php-4.3.2RC2 _ENV["WITH_FTP"] => 1 _ENV["WITH_APACHE2"] => 1 _ENV["CATALINA_HOME"] => /usr/local/jakarta-tomcat4.1 _ENV["PAGER"] => more _ENV["LC_CTYPE"] => fr_FR.ISO8859-15 _ENV["BSD_INSTALL_SCRIPT"] => install -m 555 _ENV["CONTENT_LENGTH"] => _ENV["WITH_OPENSSL"] => 1 _ENV["NNTPSERVER"] => localhost _ENV["SCRIPT_FILENAME"] => _ENV["PATH_TRANSLATED"] => _ENV["WITH_GETTEXT"] => 1 _ENV["COLORTERM"] => rxvt-xpm _ENV["WITH_SYBASEDB"] => 1 _ENV["MM_CHARSET"] => ISO8859-15 _ENV["OSREL"] => 5.0 _ENV["LOGNAME"] => thierry _ENV["WINDOWID"] => 39845890 _ENV["_"] => /usr/bin/make _ENV["LIBDIR"] => /usr/lib _ENV["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php4/work/php-4.3.2RC2/sapi/cli/php _ENV["WITH_POSTGRESQL"] => 1 _ENV["COLORFGBG"] => 0;default;15 _ENV["BLOCKSIZE"] => K _ENV["TERM"] => xterm-color _ENV["BSD_INSTALL_DATA"] => install -m 444 _ENV["PORTOBJFORMAT"] => elf _ENV["WITH_OPENLDAP"] => 1 _ENV["WITH_MCRYPT"] => 1 _ENV["WITH_MCAL"] => 1 _ENV["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/thierry/bin:/usr/local/jdk1.3.1/bin:/usr/local/jdk1.3.1/bin _ENV["CFLAGS"] => -O -pipe -mno-sse2 -march=pentium4 _ENV["SYSTEMVERSION"] => 20030407 _ENV["DISPLAY"] => localhost:10.0 _ENV["LANG"] => C _ENV["WITH_MYSQL"] => 1 _ENV["OSVERSION"] => 500043 _ENV["PREFIX"] => /usr/local _ENV["SHELL"] => /bin/sh _ENV["REDIRECT_STATUS"] => _ENV["__MKLVL__"] => 2 _ENV["LOCALBASE"] => /usr/local _ENV["REQUEST_METHOD"] => _ENV["WITH_IMAP"] => 1 _ENV["__GL_SINGLE_THREADED"] => 1 _ENV["CLICOLOR"] => _ENV["JAVA_HOME"] => /usr/local/jdk1.3.1 _ENV["CVSROOT"] => /usr/local/cvs _ENV["PWD"] => /usr/ports/lang/php4/work/php-4.3.2RC2 _ENV["SSH_CONNECTION"] => 10.0.0.3 4992 10.0.0.6 22 _ENV["BSD_INSTALL_MAN"] => install -m 444 _ENV["FTP_PASSIVE_MODE"] => YES _ENV["MOTIFLIB"] => -L/usr/X11R6/lib -lXm -lXp _ENV["CC"] => cc _ENV["WITH_MBSTRING"] => 1 _ENV["EDITOR"] => vim _ENV["BSD_INSTALL_PROGRAM"] => install -s -m 555 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 (#12471) next »