php_test_results_20030220.txt
| From: | Mueller dot Udo at ava dot de | Date: | Thu, 20 Feb 2003 12:13:02 +0000 |
| Subject: | php_test_results_20030220.txt | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-94388@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
File type functions [ext/standard/tests/file/001.phpt]
Bug #21131: fopen($filename, "a+") has broken position
[ext/standard/tests/file/bug21131.phpt]
Simple math tests [ext/standard/tests/math/abs.phpt]
log() tests [ext/standard/tests/math/log.phpt]
Various pow() tests [ext/standard/tests/math/pow.phpt]
Simple math tests [ext/standard/tests/math/round.phpt]
Testing randomization of shuffle() and str_shuffle().
[ext/standard/tests/strings/004.phpt]
Test strcspn() behavior [ext/standard/tests/strings/strcspn.phpt]
Test strspn() behavior [ext/standard/tests/strings/strspn.phpt]
microtime() function [ext/standard/tests/time/001.phpt]
strtotime() function [ext/standard/tests/time/002.phpt]
=====================================================================
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 76
Exts tested : 12
---------------------------------------------------------------------
Number of tests : 443
Tests skipped : 217 (49.0%)
Tests failed : 11 ( 2.5%)
Tests passed : 215 (48.5%)
---------------------------------------------------------------------
Time taken : 53 seconds
=====================================================================
============================================================================
====
/usr/local/php-4.3.1/ext/standard/tests/file/001.phpt
============================================================================
====
---- EXPECTED OUTPUT
test.file does not exist
test.file exists
test.link exists
test.file is not a symlink
test.link is a symlink
test.file exists
test.link lstat and stat differ at element 1
test.link lstat and stat differ at element 2
test.link lstat and stat differ at element 7
test.link lstat and stat differ at element 8
test.link lstat and stat differ at element 9
test.link lstat and stat differ at element 10
test.file is file
test.link is link
test.file permissions are 0744
test.file size is 0
test.file is writeable
test.file is readable
test.file is executable
test.file is a regular file
test.link is a regular file
test.link is not a directory
../file is a directory
test.file is not a directory
test.file does not exist
test.file does not exist
---- ACTUAL OUTPUT
test.file does not exist
test.file exists
Warning: symlink, move_uploaded_file() has been disabled for security
reasons in /usr/local/php-4.3.1/ext/standard/tests/file/001.php on line 18
test.link does not exist
test.file is not a symlink
test.link is not a symlink
test.file exists
Warning: lstat, symlink, move_uploaded_file() has been disabled for security
reasons in /usr/local/php-4.3.1/ext/standard/tests/file/001.php on line 40
test.file lstat and stat differ at element 0
test.file lstat and stat differ at element 1
test.file lstat and stat differ at element 2
test.file lstat and stat differ at element 3
test.file lstat and stat differ at element 8
test.file lstat and stat differ at element 9
test.file lstat and stat differ at element 10
test.file lstat and stat differ at element 11
Warning: stat() [/phpmanual/function.stat.html]: Stat failed for test.link
(errno=2 - No such file or directory) in
/usr/local/php-4.3.1/ext/standard/tests/file/001.php on line 46
Warning: lstat, symlink, move_uploaded_file() has been disabled for security
reasons in /usr/local/php-4.3.1/ext/standard/tests/file/001.php on line 47
test.file is file
Warning: filetype() [/phpmanual/function.filetype.html]: Lstat failed for
(null) (errno=2 - No such file or directory) in
/usr/local/php-4.3.1/ext/standard/tests/file/001.php on line 54
test.link is
test.file permissions are 0744
test.file size is 0
test.file is writeable
test.file is readable
test.file is executable
test.file is a regular file
test.link is not a regular file
test.link is not a directory
../file is a directory
test.file is not a directory
Warning: unlink(test.link) [/phpmanual/function.unlink.html]: No such file
or directory in /usr/local/php-4.3.1/ext/standard/tests/file/001.php on line
98
test.file does not exist
test.file does not exist
---- FAILED
============================================================================
====
003- test.link exists
003+
004- test.file is not a symlink
004+ Warning: symlink, move_uploaded_file() has been disabled for security
reasons in /usr/local/php-4.3.1/ext/standard/tests/file/001.php on line 18
005- test.link is a symlink
005+ test.link does not exist
006- test.file exists
006+ test.file is not a symlink
007- test.link lstat and stat differ at element 1
007+ test.link is not a symlink
008- test.link lstat and stat differ at element 2
008+ test.file exists
009- test.link lstat and stat differ at element 7
009+
010- test.link lstat and stat differ at element 8
010+ Warning: lstat, symlink, move_uploaded_file() has been disabled for
security reasons in /usr/local/php-4.3.1/ext/standard/tests/file/001.php on
line 40
011- test.link lstat and stat differ at element 9
011+ test.file lstat and stat differ at element 0
012- test.link lstat and stat differ at element 10
012+ test.file lstat and stat differ at element 1
013- test.file is file
013+ test.file lstat and stat differ at element 2
014- test.link is link
014+ test.file lstat and stat differ at element 3
015- test.file permissions are 0744
015+ test.file lstat and stat differ at element 8
016- test.file size is 0
016+ test.file lstat and stat differ at element 9
017- test.file is writeable
017+ test.file lstat and stat differ at element 10
018- test.file is readable
018+ test.file lstat and stat differ at element 11
019- test.file is executable
019+
020- test.file is a regular file
020+ Warning: stat() [/phpmanual/function.stat.html]: Stat failed for
test.link (errno=2 - No such file or directory) in
/usr/local/php-4.3.1/ext/standard/tests/file/001.php on line 46
021- test.link is a regular file
021+
022- test.link is not a directory
022+ Warning: lstat, symlink, move_uploaded_file() has been disabled for
security reasons in /usr/local/php-4.3.1/ext/standard/tests/file/001.php on
line 47
023- ../file is a directory
023+ test.file is file
024- test.file is not a directory
024+
025- test.file does not exist
025+ Warning: filetype() [/phpmanual/function.filetype.html]: Lstat failed
for (null) (errno=2 - No such file or directory) in
/usr/local/php-4.3.1/ext/standard/tests/file/001.php on line 54
026- test.file does not exist
026+ test.link is
027+ test.file permissions are 0744
028+ test.file size is 0
029+ test.file is writeable
030+ test.file is readable
031+ test.file is executable
032+ test.file is a regular file
033+ test.link is not a regular file
034+ test.link is not a directory
035+ ../file is a directory
036+ test.file is not a directory
037+
038+ Warning: unlink(test.link) [/phpmanual/function.unlink.html]: No such
file or directory in /usr/local/php-4.3.1/ext/standard/tests/file/001.php on
line 98
039+ test.file does not exist
040+ test.file does not exist
============================================================================
====
============================================================================
====
/usr/local/php-4.3.1/ext/standard/tests/file/bug21131.phpt
============================================================================
====
---- EXPECTED OUTPUT
int(6)
int(0)
foobar
---- ACTUAL OUTPUT
int(0)
int(0)
foobar
---- FAILED
============================================================================
====
001- int(6)
001+ int(0)
============================================================================
====
============================================================================
====
/usr/local/php-4.3.1/ext/standard/tests/math/abs.phpt
============================================================================
====
---- EXPECTED OUTPUT
1,1,0,0
OK
---- ACTUAL OUTPUT
1,1,1,1
Assert failed:
-LONG_MIN+1 === abs(LONG_MIN-1)
Left: int(-9223372036854775807)
Right: int(9223372036854775807)
Assert failed:
-LONG_MIN === abs(LONG_MIN)
Left: int(-9223372036854775808)
Right: float(9.22337203685E+18)
---- FAILED
============================================================================
====
001- 1,1,0,0
001+ 1,1,1,1
002- OK
002+
003+ Assert failed:
004+ -LONG_MIN+1 === abs(LONG_MIN-1)
005+ Left: int(-9223372036854775807)
006+ Right: int(9223372036854775807)
007+
008+ Assert failed:
009+ -LONG_MIN === abs(LONG_MIN)
010+ Left: int(-9223372036854775808)
011+ Right: float(9.22337203685E+18)
============================================================================
====
============================================================================
====
/usr/local/php-4.3.1/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
---- FAILED
============================================================================
====
003- 50
004- 50
005- 50
006- 50
007- 50
008- 50
009- 50
010- 50
011- 50
============================================================================
====
============================================================================
====
/usr/local/php-4.3.1/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,1,1
On failure, please mail result to php-dev@lists.php.net
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:
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:
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:
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:
LONG_MAX-1 === pow(LONG_MAX-1,1)
Left: int(9223372036854775806)
Right: int(-9223372036854775808)
Assert failed:
LONG_MIN+1 === pow(LONG_MIN+1,1)
Left: int(-9223372036854775807)
Right: int(-9223372036854775808)
Assert failed:
LONG_MAX === pow(LONG_MAX,1)
Left: int(9223372036854775807)
Right: int(-9223372036854775808)
---- FAILED
============================================================================
====
001- 1,1,0,0
001+ 1,1,1,1
003- OK
003+
004+ Assert failed:
005+ TRUE === is_infinite(pow(0,-2))
006+ Left: bool(true)
007+ Right: bool(false)
008+
009+ Assert failed:
010+ TRUE === is_infinite(pow(0,-1))
011+ Left: bool(true)
012+ Right: bool(false)
013+
014+ Assert failed:
015+ TRUE === is_infinite(pow(0,-2.0))
016+ Left: bool(true)
017+ Right: bool(false)
018+
019+ Assert failed:
020+ TRUE === is_infinite(pow(0,-1.0))
021+ Left: bool(true)
022+ Right: bool(false)
023+
024+ Assert failed:
025+ TRUE === is_infinite(pow(0.0,-2.0))
026+ Left: bool(true)
027+ Right: bool(false)
028+
029+ Assert failed:
030+ TRUE === is_infinite(pow(0.0,-1.0))
031+ Left: bool(true)
032+ Right: bool(false)
033+
034+ Assert failed:
035+ TRUE === is_infinite(pow( 0.0,-2))
036+ Left: bool(true)
037+ Right: bool(false)
038+
039+ Assert failed:
040+ TRUE === is_infinite(pow( 0.0,-1))
041+ Left: bool(true)
042+ Right: bool(false)
043+
044+ Assert failed:
045+ LONG_MAX-1 === pow(LONG_MAX-1,1)
046+ Left: int(9223372036854775806)
047+ Right: int(-9223372036854775808)
048+
049+ Assert failed:
050+ LONG_MIN+1 === pow(LONG_MIN+1,1)
051+ Left: int(-9223372036854775807)
052+ Right: int(-9223372036854775808)
053+
054+ Assert failed:
055+ LONG_MAX === pow(LONG_MAX,1)
056+ Left: int(9223372036854775807)
057+ Right: int(-9223372036854775808)
============================================================================
====
============================================================================
====
/usr/local/php-4.3.1/ext/standard/tests/math/round.phpt
============================================================================
====
---- EXPECTED OUTPUT
1,1,0,0
OK
---- ACTUAL OUTPUT
1,1,1,1
Assert failed:
LONG_MIN-1 ~== round(LONG_MIN - 0.6)
Left: int(9223372036854775807)
Right: float(-9.22337203685E+18)
Assert failed:
LONG_MIN-1 ~== floor(LONG_MIN - 0.5)
Left: int(9223372036854775807)
Right: float(-9.22337203685E+18)
Assert failed:
LONG_MAX+1 ~== ceil(LONG_MAX + 0.5)
Left: int(-9223372036854775808)
Right: float(9.22337203685E+18)
Assert failed:
LONG_MAX+1 ~== round(LONG_MAX + 0.6)
Left: int(-9223372036854775808)
Right: float(9.22337203685E+18)
---- FAILED
============================================================================
====
001- 1,1,0,0
001+ 1,1,1,1
002- OK
002+
003+ Assert failed:
004+ LONG_MIN-1 ~== round(LONG_MIN - 0.6)
005+ Left: int(9223372036854775807)
006+ Right: float(-9.22337203685E+18)
007+
008+ Assert failed:
009+ LONG_MIN-1 ~== floor(LONG_MIN - 0.5)
010+ Left: int(9223372036854775807)
011+ Right: float(-9.22337203685E+18)
012+
013+ Assert failed:
014+ LONG_MAX+1 ~== ceil(LONG_MAX + 0.5)
015+ Left: int(-9223372036854775808)
016+ Right: float(9.22337203685E+18)
017+
018+ Assert failed:
019+ LONG_MAX+1 ~== round(LONG_MAX + 0.6)
020+ Left: int(-9223372036854775808)
021+ Right: float(9.22337203685E+18)
============================================================================
====
============================================================================
====
/usr/local/php-4.3.1/ext/standard/tests/strings/004.phpt
============================================================================
====
---- EXPECTED OUTPUT
shuffle
1234: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
1243: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
1324: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
1342: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
1423: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
1432: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
2134: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
2143: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
2314: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
2341: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
2413: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
2431: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
3124: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
3142: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
3214: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
3241: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
3412: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
3421: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
4123: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
4132: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
4213: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
4231: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
4312: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
4321: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
str_shuffle
1234: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
1243: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
1324: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
1342: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
1423: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
1432: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
2134: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
2143: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
2314: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
2341: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
2413: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
2431: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
3124: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
3142: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
3214: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
3241: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
3412: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
3421: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
4123: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
4132: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
4213: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
4231: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
4312: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
4321: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
---- ACTUAL OUTPUT
shuffle
2341: 90000: 1.000
str_shuffle
2341: 90000: 1.000
---- FAILED
============================================================================
====
002- 1234: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
002+ 2341: 90000: 1.000
003- 1243: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
003+ str_shuffle
004- 1324: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
004+ 2341: 90000: 1.000
005- 1342: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
006- 1423: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
007- 1432: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
008- 2134: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
009- 2143: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
010- 2314: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
011- 2341: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
012- 2413: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
013- 2431: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
014- 3124: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
015- 3142: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
016- 3214: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
017- 3241: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
018- 3412: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
019- 3421: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
020- 4123: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
021- 4132: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
022- 4213: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
023- 4231: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
024- 4312: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
025- 4321: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
026- str_shuffle
027- 1234: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
028- 1243: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
029- 1324: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
030- 1342: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
031- 1423: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
032- 1432: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
033- 2134: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
034- 2143: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
035- 2314: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
036- 2341: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
037- 2413: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
038- 2431: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
039- 3124: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
040- 3142: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
041- 3214: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
042- 3241: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
043- 3412: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
044- 3421: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
045- 4123: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
046- 4132: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
047- 4213: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
048- 4231: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
049- 4312: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
050- 4321: 3[0-9][0-9][0-9]: 0.0[3-4][0-9]
============================================================================
====
============================================================================
====
/usr/local/php-4.3.1/ext/standard/tests/strings/strcspn.phpt
============================================================================
====
---- EXPECTED OUTPUT
string(25) "22222222aaaa bbb1111 cccc"
string(4) "1234"
int(0)
int(7)
int(6)
---- ACTUAL OUTPUT
string(25) "22222222aaaa bbb1111 cccc"
string(4) "1234"
int(0)
int(0)
int(0)
---- FAILED
============================================================================
====
004- int(7)
004+ int(0)
005- int(6)
005+ int(0)
============================================================================
====
============================================================================
====
/usr/local/php-4.3.1/ext/standard/tests/strings/strspn.phpt
============================================================================
====
---- EXPECTED OUTPUT
string(25) "22222222aaaa bbb1111 cccc"
string(4) "1234"
int(8)
int(6)
int(3)
---- ACTUAL OUTPUT
string(25) "22222222aaaa bbb1111 cccc"
string(4) "1234"
---- FAILED
============================================================================
====
003- int(8)
004- int(6)
005- int(3)
============================================================================
====
============================================================================
====
/usr/local/php-4.3.1/ext/standard/tests/time/001.phpt
============================================================================
====
---- EXPECTED OUTPUT
Passed: 100000
Failed: 0
---- ACTUAL OUTPUT
Passed: 5891
Failed: 94109
000002: 1045740085 0.23570800 < 1045740085 0.23570800
000003: 1045740085 0.23570800 < 1045740085 0.23570800
000005: 1045740085 0.23668500 < 1045740085 0.23668500
000006: 1045740085 0.23668500 < 1045740085 0.23668500
000007: 1045740085 0.23668500 < 1045740085 0.23668500
000008: 1045740085 0.23668500 < 1045740085 0.23668500
000009: 1045740085 0.23668500 < 1045740085 0.23668500
000010: 1045740085 0.23668500 < 1045740085 0.23668500
000011: 1045740085 0.23668500 < 1045740085 0.23668500
000012: 1045740085 0.23668500 < 1045740085 0.23668500
000014: 1045740085 0.23766100 < 1045740085 0.23766100
---- FAILED
============================================================================
====
001- Passed: 100000
001+ Passed: 5891
002- Failed: 0
002+ Failed: 94109
003+ 000002: 1045740085 0.23570800 < 1045740085 0.23570800
004+ 000003: 1045740085 0.23570800 < 1045740085 0.23570800
005+ 000005: 1045740085 0.23668500 < 1045740085 0.23668500
006+ 000006: 1045740085 0.23668500 < 1045740085 0.23668500
007+ 000007: 1045740085 0.23668500 < 1045740085 0.23668500
008+ 000008: 1045740085 0.23668500 < 1045740085 0.23668500
009+ 000009: 1045740085 0.23668500 < 1045740085 0.23668500
010+ 000010: 1045740085 0.23668500 < 1045740085 0.23668500
011+ 000011: 1045740085 0.23668500 < 1045740085 0.23668500
012+ 000012: 1045740085 0.23668500 < 1045740085 0.23668500
013+ 000014: 1045740085 0.23766100 < 1045740085 0.23766100
============================================================================
====
============================================================================
====
/usr/local/php-4.3.1/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
1970-01-01 00:59:59
2001-10-22 21:19:58
2001-10-23 01:19:58
2001-10-23 01:32:58
2001-10-22 21:19:58
2001-10-22 21: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
1970-01-01 00:59:59
2001-10-22 21:19:58
2001-10-23 01:19:58
2001-10-23 01:32:58
2001-10-22 21:19:58
2001-10-22 21: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
1970-01-01 00:59:59
2001-10-22 21:19:58
2001-10-23 01:19:58
2001-10-23 01:32:58
2001-10-22 21:19:58
2001-10-22 21:06:58
---- FAILED
============================================================================
====
009- 1969-12-31 23:59:59
009+ 1970-01-01 00:59:59
011- 2001-10-22 23:19:58
011+ 2001-10-23 01:19:58
012- 2001-10-22 23:32:58
012+ 2001-10-23 01:32:58
013- 2001-10-22 19:19:58
013+ 2001-10-22 21:19:58
014- 2001-10-22 19:06:58
014+ 2001-10-22 21:06:58
============================================================================
====
============================================================================
====
BUILD ENVIRONMENT
============================================================================
====
OS:
OSF1
Automake:
Autoconf:
Autoconf version 2.13
Libtool:
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)
Compiler:
Compaq C V6.4-014 on Compaq Tru64 UNIX V5.1A (Rev. 1885)
Compiler Driver V6.4-215 (sys) cc Driver
Bison:
GNU Bison version 1.28
User's E-mail: mueller dot udo at ava dot de
============================================================================
====
PHPINFO
============================================================================
====
phpinfo()
PHP Version => 4.3.1
System => OSF1 gdac38 V5.1 1885 alpha
Build Date => Feb 20 2003 11:00:06
Configure Command => './configure' '--with-java=/usr/opt/java131'
'--without-mysql' '--with-imap=/usr/local/imap' '--enable-trans-sid'
'--with-apxs2=/usr/local/apache_test/bin/apxs' '--enable-module=so'
'--enable-track-vars' '--enable-experimental-zts' '--with-gd'
'--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-zlib'
'--with-freetype-dir=/usr/local' '--enable-gd-native-ttf'
Server API => Command Line Interface
Virtual Directory Support => enabled
Configuration File (php.ini) Path => /usr/local/lib/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => enabled
Registered PHP Streams => php, http, ftp, compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2002 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 => &amp; => &amp;
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_functions => link, linkinfo, readlink, lstat, symlink,
move_uploaded_file => link, linkinfo, readlink, lstat, symlink,
move_uploaded_file
display_errors => Off => Off
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => http://www.php.net/ => http://www.php.net/
enable_dl => Off => Off
error_append_string => no value => no value
error_log => /usr/local/apache/logs/php.log =>
/usr/local/apache/logs/php.log
error_prepend_string => no value => no value
error_reporting => 2039 => 2039
expose_php => On => On
extension_dir => /usr/local/lib/php/extensions/no-debug-zts-20020429 =>
/usr/local/lib/php/extensions/no-debug-zts-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 => . => .
log_errors => On => On
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 => 120
max_input_time => -1 => -1
open_basedir => no value => no value
output_buffering => no value => no value
output_handler => no value => no value
post_max_size => 4M => 4M
precision => 12 => 12
register_argc_argv => On => On
register_globals => On => On
report_memleaks => On => On
safe_mode => Off => Off
safe_mode_exec_dir => /dev/null => /dev/null
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => me@localhost.com => me@localhost.com
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
short_open_tag => Off => Off
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
variables_order => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => Off => Off
ctype
ctype functions => enabled
gd
GD Support => enabled
GD Version => bundled (2.0 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
GIF Read Support => enabled
JPG Support => enabled
PNG Support => enabled
WBMP Support => enabled
imap
IMAP c-Client Version => 2001
java
Directive => Local Value => Master Value
java.class.path =>
/usr/local/lib/php/php_java.jar:/usr/opt/java131/jre/lib/rt.jar:/usr/local/j
dbc2/lib/ifxjdbc-g.jar:/usr/local/jdbc2/lib/ifxjdbc.jar:/usr/local/classes:.
=>
/usr/local/lib/php/php_java.jar:/usr/opt/java131/jre/lib/rt.jar:/usr/local/j
dbc2/lib/ifxjdbc-g.jar:/usr/local/jdbc2/lib/ifxjdbc.jar:/usr/local/classes:.
java.home => /usr/opt/java131 => /usr/opt/java131
java.library => /usr/opt/java131/jre/lib/alpha/classic/libjvm.so =>
/usr/opt/java131/jre/lib/alpha/classic/libjvm.so
java.library.path => /usr/local/lib/php/extensions/no-debug-zts-20020429 =>
/usr/local/lib/php/extensions/no-debug-zts-20020429
overload
User-Space Object Overloading Support => enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 3.92 11-Sep-2002
posix
Revision => $Revision: 1.51 $
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_dividend => 100 => 100
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 40 => 40
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => /usr/local/apache/tmp => /usr/local/apache/tmp
session.serialize_handler => php => php
session.use_cookies => Off => Off
session.use_only_cookies => Off => Off
session.use_trans_sid => On => On
standard
Regex Library => Bundled library enabled
Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i
Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
default_socket_timeout => 60 => 60
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= =>
a=href,area=href,frame=src,form=,fieldset=
user_agent => no value => no value
tokenizer
Tokenizer Support => enabled
xml
XML Support => active
XML Namespace Support => active
EXPAT Version => 1.95.2
zlib
ZLib Support => enabled
Compiled Version => 1.1.3
Linked Version => 1.1.3
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
QUERY_STRING => PATH =>
/sbin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/bin/X11:/usr/local/bin:/usr/opt/n
etworker/bin
SCRIPT_FILENAME => CONTENT_TYPE => LOGNAME => root
REDIRECT_STATUS => MAKEFLAGS => PS1 => gdac38#root>>
GWSOURCE => telnet
REQUEST_METHOD => USER => root
PATH_TRANSLATED => CC => cc
CONTENT_LENGTH => TEST_PHP_EXECUTABLE => /usr/local/php-4.3.1/sapi/cli/php
SHELL => /bin/ksh
HOME => /
TEST_PHP_SRCDIR => /usr/local/php-4.3.1
TERM => vt220
PWD => /usr/local/php-4.3.1
MAKEDIR => /
PHP Variables
Variable => Value
PHP_SELF => _SERVER["QUERY_STRING"] =>
_SERVER["PATH"] =>
/sbin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/bin/X11:/usr/local/bin:/usr/opt/n
etworker/bin
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["CONTENT_TYPE"] =>
_SERVER["LOGNAME"] => root
_SERVER["REDIRECT_STATUS"] =>
_SERVER["MAKEFLAGS"] =>
_SERVER["PS1"] => gdac38#root>>
_SERVER["GWSOURCE"] => telnet
_SERVER["REQUEST_METHOD"] =>
_SERVER["USER"] => root
_SERVER["PATH_TRANSLATED"] =>
_SERVER["CC"] => cc
_SERVER["CONTENT_LENGTH"] =>
_SERVER["TEST_PHP_EXECUTABLE"] => /usr/local/php-4.3.1/sapi/cli/php
_SERVER["SHELL"] => /bin/ksh
_SERVER["HOME"] => /
_SERVER["TEST_PHP_SRCDIR"] => /usr/local/php-4.3.1
_SERVER["TERM"] => vt220
_SERVER["PWD"] => /usr/local/php-4.3.1
_SERVER["MAKEDIR"] => /
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["QUERY_STRING"] =>
_ENV["PATH"] =>
/sbin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/bin/X11:/usr/local/bin:/usr/opt/n
etworker/bin
_ENV["SCRIPT_FILENAME"] =>
_ENV["CONTENT_TYPE"] =>
_ENV["LOGNAME"] => root
_ENV["REDIRECT_STATUS"] =>
_ENV["MAKEFLAGS"] =>
_ENV["PS1"] => gdac38#root>>
_ENV["GWSOURCE"] => telnet
_ENV["REQUEST_METHOD"] =>
_ENV["USER"] => root
_ENV["PATH_TRANSLATED"] =>
_ENV["CC"] => cc
_ENV["CONTENT_LENGTH"] =>
_ENV["TEST_PHP_EXECUTABLE"] => /usr/local/php-4.3.1/sapi/cli/php
_ENV["SHELL"] => /bin/ksh
_ENV["HOME"] => /
_ENV["TEST_PHP_SRCDIR"] => /usr/local/php-4.3.1
_ENV["TERM"] => vt220
_ENV["PWD"] => /usr/local/php-4.3.1
_ENV["MAKEDIR"] => /
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.