Test results for 4.3.2-RC2 [failed]
| From: | noreply@php.net | Date: | Wed, 30 Apr 2003 15:03:40 +0000 |
| Subject: | Test results for 4.3.2-RC2 [failed] | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-11899@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
User-space streams [ext/standard/tests/file/userstreams.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 : 74
Exts tested : 14
---------------------------------------------------------------------
Number of tests : 469
Tests skipped : 227 (48.4%)
Tests failed : 4 ( 0.9%)
Tests passed : 238 (50.7%)
---------------------------------------------------------------------
Time taken : 51 seconds
=====================================================================
================================================================================
/usr/local/php-4.3.2RC2/ext/standard/tests/file/userstreams.phpt
================================================================================
---- EXPECTED OUTPUT
Not Registered
Registered
Registered
SEEK: OK
FGETS: OK
int(0)
...and the road becomes my bride
---- ACTUAL OUTPUT
Not Registered
Registered
Registered
--[0] whence=SEEK_SET offset=0 line_length=1024 position_should_be=0 --
REAL: pos=(0,0,0) ret=0 line[33]=`...naq gur ebnq orpbzrf zl oevqr
'
USER: pos=(0,0,0) ret=0 line[33]=`...naq gur ebnq orpbzrf zl oevqr
'
--[1] whence=SEEK_CUR offset=8450 line_length=1024 position_should_be=8450 --
REAL: pos=(0,8450,8450) ret=0 line[6]=`where
'
USER: pos=(0,8450,8450) ret=0 line[6]=`where
'
--[2] whence=SEEK_CUR offset=-7904 line_length=1024 position_should_be=546 --
REAL: pos=(8450,546,546) ret=0 line[17]=`er frirerq pyrna
'
USER: pos=(8450,546,546) ret=0 line[17]=`er frirerq pyrna
'
--[3] whence=SEEK_CUR offset=12456 line_length=1024 position_should_be=13002 --
REAL: pos=(546,13002,13002) ret=0 line[18]=`erever I May Roam
'
USER: pos=(546,13002,13002) ret=0 line[18]=`erever I May Roam
'
--[4] whence=SEEK_SET offset=0 line_length=1024 position_should_be=0 --
REAL: pos=(13002,0,0) ret=0 line[33]=`...naq gur ebnq orpbzrf zl oevqr
'
USER: pos=(13002,0,0) ret=0 line[33]=`...naq gur ebnq orpbzrf zl oevqr
'
--[5] whence=SEEK_CUR offset=16873 line_length=1024 position_should_be=16873 --
REAL: pos=(0,16873,16873) ret=0 line[25]=` the beaten path I reign
'
USER: pos=(0,16873,16873) ret=0 line[25]=` the beaten path I reign
'
--[6] whence=SEEK_END offset=-28575 line_length=1024 position_should_be=3975 --
REAL: pos=(16873,3975,3975) ret=0 line[24]=` speak my mind anywhere
'
USER: pos=(16873,3975,3975) ret=0 line[24]=` speak my mind anywhere
'
--[7] whence=SEEK_END offset=-24738 line_length=1024 position_should_be=7812 --
REAL: pos=(3975,7812,7812) ret=0 line[15]=`omad vagabond
'
USER: pos=(3975,7812,7812) ret=0 line[15]=`omad vagabond
'
--[8] whence=SEEK_SET offset=15422 line_length=1024 position_should_be=15422 --
REAL: pos=(7812,15422,15422) ret=0 line[22]=`pnyy zr jung lbh jvyy
'
USER: pos=(7812,15422,15422) ret=0 line[22]=`pnyy zr jung lbh jvyy
'
--[9] whence=SEEK_END offset=-8840 line_length=1024 position_should_be=23710 --
REAL: pos=(15422,23710,23710) ret=0 line[3]=`re
'
USER: pos=(15422,23710,23710) ret=0 line[3]=`re
'
--[10] whence=SEEK_CUR offset=-736 line_length=1024 position_should_be=22974 --
REAL: pos=(23710,22974,22974) ret=0 line[11]=`ay a slave
'
USER: pos=(23710,22974,22974) ret=0 line[11]=`ay a slave
'
--[11] whence=SEEK_END offset=-26804 line_length=1024 position_should_be=5746 --
REAL: pos=(22974,5746,5746) ret=0 line[29]=` and Ill redefine anywhere
'
USER: pos=(22974,5746,5746) ret=0 line[29]=` and Ill redefine anywhere
'
--[12] whence=SEEK_SET offset=20394 line_length=1024 position_should_be=20394 --
REAL: pos=(5746,20394,20394) ret=0 line[31]=`Serr gb fcrnx zl zvaq naljurer
'
USER: pos=(5746,20394,20394) ret=0 line[31]=`Serr gb fcrnx zl zvaq naljurer
'
--[13] whence=SEEK_END offset=-23800 line_length=1024 position_should_be=8750 --
REAL: pos=(20394,8750,8750) ret=0 line[19]=`a ure V qb pbasvqr
'
USER: pos=(20394,8750,8750) ret=0 line[19]=`a ure V qb pbasvqr
'
--[14] whence=SEEK_CUR offset=-6238 line_length=1024 position_should_be=2512 --
REAL: pos=(8750,2512,2512) ret=0 line[8]=`aljurer
'
USER: pos=(8750,2512,2512) ret=0 line[8]=`aljurer
'
--[15] whence=SEEK_CUR offset=16867 line_length=1024 position_should_be=19379 --
REAL: pos=(2512,19379,19379) ret=0 line[16]=`Anywhere I roam
'
USER: pos=(2512,19379,19379) ret=0 line[16]=`Anywhere I roam
'
--[16] whence=SEEK_END offset=-27611 line_length=1024 position_should_be=4939 --
REAL: pos=(19379,4939,4939) ret=0 line[24]=`gur orngra cngu V ervta
'
USER: pos=(19379,4939,4939) ret=0 line[24]=`gur orngra cngu V ervta
'
--[17] whence=SEEK_SET offset=23293 line_length=1024 position_should_be=23293 --
REAL: pos=(4939,23293,23293) ret=0 line[9]=`ot alone
'
USER: pos=(4939,23293,23293) ret=0 line[9]=`ot alone
'
--[18] whence=SEEK_SET offset=28613 line_length=1024 position_should_be=28613 --
REAL: pos=(23293,28613,28613) ret=0 line[35]=`...naq gur rnegu orpbzrf zl guebar
'
USER: pos=(23293,28613,28613) ret=0 line[35]=`...naq gur rnegu orpbzrf zl guebar
'
--[19] whence=SEEK_SET offset=9026 line_length=1024 position_should_be=9026 --
REAL: pos=(28613,9026,9026) ret=0 line[4]=`rer
'
USER: pos=(28613,9026,9026) ret=0 line[4]=`rer
'
--[20] whence=SEEK_END offset=-19163 line_length=1024 position_should_be=13387 --
REAL: pos=(9026,13387,13387) ret=0 line[5]=`ebnz
'
USER: pos=(9026,13387,13387) ret=0 line[5]=`ebnz
'
--[21] whence=SEEK_SET offset=27234 line_length=1024 position_should_be=27234 --
REAL: pos=(13387,27234,27234) ret=0 line[7]=`isfied
'
USER: pos=(13387,27234,27234) ret=0 line[7]=`isfied
'
--[22] whence=SEEK_CUR offset=1672 line_length=1024 position_should_be=28906 --
REAL: pos=(27234,28906,28906) ret=0 line[14]=`gvzr naljurer
'
USER: pos=(27234,28906,28906) ret=0 line[14]=`gvzr naljurer
'
--[23] whence=SEEK_SET offset=1401 line_length=1024 position_should_be=1401 --
REAL: pos=(28906,1401,1401) ret=0 line[5]=`here
'
USER: pos=(28906,1401,1401) ret=0 line[5]=`here
'
--[24] whence=SEEK_END offset=-32264 line_length=1024 position_should_be=286 --
REAL: pos=(1401,286,286) ret=0 line[1]=`
'
USER: pos=(1401,286,286) ret=0 line[1]=`
'
--[25] whence=SEEK_SET offset=30117 line_length=1024 position_should_be=30117 --
REAL: pos=(286,30117,30117) ret=0 line[6]=` home
'
USER: pos=(286,30117,30117) ret=0 line[6]=` home
'
--[26] whence=SEEK_SET offset=8561 line_length=1024 position_should_be=8561 --
REAL: pos=(30117,8561,8561) ret=0 line[15]=`y head is home
'
USER: pos=(30117,8561,8561) ret=0 line[15]=`y head is home
'
--[27] whence=SEEK_CUR offset=4854 line_length=1024 position_should_be=13415 --
REAL: pos=(8561,13415,13415) ret=0 line[8]=`vf ubzr
'
USER: pos=(8561,13415,13415) ret=0 line[8]=`vf ubzr
'
--[28] whence=SEEK_SET offset=5752 line_length=1024 position_should_be=5752 --
REAL: pos=(13415,5752,5752) ret=0 line[23]=` Ill redefine anywhere
'
USER: pos=(13415,5752,5752) ret=0 line[23]=` Ill redefine anywhere
'
--[29] whence=SEEK_SET offset=8297 line_length=1024 position_should_be=8297 --
REAL: pos=(5752,8297,8297) ret=0 line[8]=`nywhere
'
USER: pos=(5752,8297,8297) ret=0 line[8]=`nywhere
'
--[30] whence=SEEK_END offset=-30152 line_length=1024 position_should_be=2398 --
REAL: pos=(8297,2398,2398) ret=0 line[4]=`baq
'
USER: pos=(8297,2398,2398) ret=0 line[4]=`baq
'
--[31] whence=SEEK_SET offset=28648 line_length=1024 position_should_be=28648 --
REAL: pos=(2398,28648,28648) ret=0 line[23]=`V nqncg gb gur haxabja
'
USER: pos=(2398,28648,28648) ret=0 line[23]=`V nqncg gb gur haxabja
'
--[32] whence=SEEK_END offset=-5027 line_length=1024 position_should_be=27523 --
REAL: pos=(28648,27523,27523) ret=0 line[5]=`home
'
USER: pos=(28648,27523,27523) ret=0 line[5]=`home
'
--[33] whence=SEEK_CUR offset=-25718 line_length=1024 position_should_be=1805 --
REAL: pos=(27523,1805,1805) ret=0 line[24]=` speak my mind anywhere
'
USER: pos=(27523,1805,1805) ret=0 line[24]=` speak my mind anywhere
'
--[34] whence=SEEK_END offset=-24539 line_length=1024 position_should_be=8011 --
REAL: pos=(1805,8011,8011) ret=0 line[22]=`rth becomes my throne
'
USER: pos=(1805,8011,8011) ret=0 line[22]=`rth becomes my throne
'
--[35] whence=SEEK_CUR offset=19667 line_length=1024 position_should_be=27678 --
REAL: pos=(8011,27678,27678) ret=0 line[10]=`red clean
'
USER: pos=(8011,27678,27678) ret=0 line[10]=`red clean
'
--[36] whence=SEEK_SET offset=18098 line_length=1024 position_should_be=18098 --
REAL: pos=(27678,18098,18098) ret=0 line[6]=`jurer
'
USER: pos=(27678,18098,18098) ret=0 line[6]=`jurer
'
--[37] whence=SEEK_SET offset=10592 line_length=1024 position_should_be=10592 --
REAL: pos=(18098,10592,10592) ret=0 line[1]=`
'
USER: pos=(18098,10592,10592) ret=0 line[1]=`
'
--[38] whence=SEEK_CUR offset=11931 line_length=1024 position_should_be=22523 --
REAL: pos=(10592,22523,22523) ret=0 line[5]=`ubzr
'
USER: pos=(10592,22523,22523) ret=0 line[5]=`ubzr
'
--[39] whence=SEEK_CUR offset=-15434 line_length=1024 position_should_be=7089 --
REAL: pos=(22523,7089,7089) ret=0 line[16]=`gur zber V tnva
'
USER: pos=(22523,7089,7089) ret=0 line[16]=`gur zber V tnva
'
--[40] whence=SEEK_SET offset=32550 line_length=1024 position_should_be=32550 --
REAL: pos=(7089,32550,32550) ret=0 line[0]=`'
USER: pos=(7089,7089,7089) ret=0 line[16]=`gur zber V tnva
'
###################################### FAIL!
array(7) {
["wrapper_data"]=>
&object(mystream)(5) {
["path"]=>
string(11) "test://DATA"
["mode"]=>
string(2) "rb"
["options"]=>
int(4)
["position"]=>
int(7089)
["varname"]=>
string(4) "DATA"
}
["wrapper_type"]=>
string(10) "user-space"
["stream_type"]=>
string(10) "user-space"
["unread_bytes"]=>
int(0)
["timed_out"]=>
bool(false)
["blocked"]=>
bool(true)
["eof"]=>
bool(false)
}
SEEK: FAIL
FGETS: OK
int(0)
...and the road becomes my bride
---- FAILED
================================================================================
004- SEEK: OK
004+
005- FGETS: OK
005+ --[0] whence=SEEK_SET offset=0 line_length=1024 position_should_be=0 --
006- int(0)
006+ REAL: pos=(0,0,0) ret=0 line[33]=`...naq gur ebnq orpbzrf zl oevqr
007- ...and the road becomes my bride
007+ '
008+ USER: pos=(0,0,0) ret=0 line[33]=`...naq gur ebnq orpbzrf zl oevqr
009+ '
010+
011+ --[1] whence=SEEK_CUR offset=8450 line_length=1024 position_should_be=8450 --
012+ REAL: pos=(0,8450,8450) ret=0 line[6]=`where
013+ '
014+ USER: pos=(0,8450,8450) ret=0 line[6]=`where
015+ '
016+
017+ --[2] whence=SEEK_CUR offset=-7904 line_length=1024 position_should_be=546 --
018+ REAL: pos=(8450,546,546) ret=0 line[17]=`er frirerq pyrna
019+ '
020+ USER: pos=(8450,546,546) ret=0 line[17]=`er frirerq pyrna
021+ '
022+
023+ --[3] whence=SEEK_CUR offset=12456 line_length=1024 position_should_be=13002 --
024+ REAL: pos=(546,13002,13002) ret=0 line[18]=`erever I May Roam
025+ '
026+ USER: pos=(546,13002,13002) ret=0 line[18]=`erever I May Roam
027+ '
028+
029+ --[4] whence=SEEK_SET offset=0 line_length=1024 position_should_be=0 --
030+ REAL: pos=(13002,0,0) ret=0 line[33]=`...naq gur ebnq orpbzrf zl oevqr
031+ '
032+ USER: pos=(13002,0,0) ret=0 line[33]=`...naq gur ebnq orpbzrf zl oevqr
033+ '
034+
035+ --[5] whence=SEEK_CUR offset=16873 line_length=1024 position_should_be=16873 --
036+ REAL: pos=(0,16873,16873) ret=0 line[25]=` the beaten path I reign
037+ '
038+ USER: pos=(0,16873,16873) ret=0 line[25]=` the beaten path I reign
039+ '
040+
041+ --[6] whence=SEEK_END offset=-28575 line_length=1024 position_should_be=3975 --
042+ REAL: pos=(16873,3975,3975) ret=0 line[24]=` speak my mind anywhere
043+ '
044+ USER: pos=(16873,3975,3975) ret=0 line[24]=` speak my mind anywhere
045+ '
046+
047+ --[7] whence=SEEK_END offset=-24738 line_length=1024 position_should_be=7812 --
048+ REAL: pos=(3975,7812,7812) ret=0 line[15]=`omad vagabond
049+ '
050+ USER: pos=(3975,7812,7812) ret=0 line[15]=`omad vagabond
051+ '
052+
053+ --[8] whence=SEEK_SET offset=15422 line_length=1024 position_should_be=15422 --
054+ REAL: pos=(7812,15422,15422) ret=0 line[22]=`pnyy zr jung lbh jvyy
055+ '
056+ USER: pos=(7812,15422,15422) ret=0 line[22]=`pnyy zr jung lbh jvyy
057+ '
058+
059+ --[9] whence=SEEK_END offset=-8840 line_length=1024 position_should_be=23710 --
060+ REAL: pos=(15422,23710,23710) ret=0 line[3]=`re
061+ '
062+ USER: pos=(15422,23710,23710) ret=0 line[3]=`re
063+ '
064+
065+ --[10] whence=SEEK_CUR offset=-736 line_length=1024 position_should_be=22974 --
066+ REAL: pos=(23710,22974,22974) ret=0 line[11]=`ay a slave
067+ '
068+ USER: pos=(23710,22974,22974) ret=0 line[11]=`ay a slave
069+ '
070+
071+ --[11] whence=SEEK_END offset=-26804 line_length=1024 position_should_be=5746 --
072+ REAL: pos=(22974,5746,5746) ret=0 line[29]=` and Ill redefine anywhere
073+ '
074+ USER: pos=(22974,5746,5746) ret=0 line[29]=` and Ill redefine anywhere
075+ '
076+
077+ --[12] whence=SEEK_SET offset=20394 line_length=1024 position_should_be=20394 --
078+ REAL: pos=(5746,20394,20394) ret=0 line[31]=`Serr gb fcrnx zl zvaq naljurer
079+ '
080+ USER: pos=(5746,20394,20394) ret=0 line[31]=`Serr gb fcrnx zl zvaq naljurer
081+ '
082+
083+ --[13] whence=SEEK_END offset=-23800 line_length=1024 position_should_be=8750 --
084+ REAL: pos=(20394,8750,8750) ret=0 line[19]=`a ure V qb pbasvqr
085+ '
086+ USER: pos=(20394,8750,8750) ret=0 line[19]=`a ure V qb pbasvqr
087+ '
088+
089+ --[14] whence=SEEK_CUR offset=-6238 line_length=1024 position_should_be=2512 --
090+ REAL: pos=(8750,2512,2512) ret=0 line[8]=`aljurer
091+ '
092+ USER: pos=(8750,2512,2512) ret=0 line[8]=`aljurer
093+ '
094+
095+ --[15] whence=SEEK_CUR offset=16867 line_length=1024 position_should_be=19379 --
096+ REAL: pos=(2512,19379,19379) ret=0 line[16]=`Anywhere I roam
097+ '
098+ USER: pos=(2512,19379,19379) ret=0 line[16]=`Anywhere I roam
099+ '
100+
101+ --[16] whence=SEEK_END offset=-27611 line_length=1024 position_should_be=4939 --
102+ REAL: pos=(19379,4939,4939) ret=0 line[24]=`gur orngra cngu V ervta
103+ '
104+ USER: pos=(19379,4939,4939) ret=0 line[24]=`gur orngra cngu V ervta
105+ '
106+
107+ --[17] whence=SEEK_SET offset=23293 line_length=1024 position_should_be=23293 --
108+ REAL: pos=(4939,23293,23293) ret=0 line[9]=`ot alone
109+ '
110+ USER: pos=(4939,23293,23293) ret=0 line[9]=`ot alone
111+ '
112+
113+ --[18] whence=SEEK_SET offset=28613 line_length=1024 position_should_be=28613 --
114+ REAL: pos=(23293,28613,28613) ret=0 line[35]=`...naq gur rnegu orpbzrf zl guebar
115+ '
116+ USER: pos=(23293,28613,28613) ret=0 line[35]=`...naq gur rnegu orpbzrf zl guebar
117+ '
118+
119+ --[19] whence=SEEK_SET offset=9026 line_length=1024 position_should_be=9026 --
120+ REAL: pos=(28613,9026,9026) ret=0 line[4]=`rer
121+ '
122+ USER: pos=(28613,9026,9026) ret=0 line[4]=`rer
123+ '
124+
125+ --[20] whence=SEEK_END offset=-19163 line_length=1024 position_should_be=13387 --
126+ REAL: pos=(9026,13387,13387) ret=0 line[5]=`ebnz
127+ '
128+ USER: pos=(9026,13387,13387) ret=0 line[5]=`ebnz
129+ '
130+
131+ --[21] whence=SEEK_SET offset=27234 line_length=1024 position_should_be=27234 --
132+ REAL: pos=(13387,27234,27234) ret=0 line[7]=`isfied
133+ '
134+ USER: pos=(13387,27234,27234) ret=0 line[7]=`isfied
135+ '
136+
137+ --[22] whence=SEEK_CUR offset=1672 line_length=1024 position_should_be=28906 --
138+ REAL: pos=(27234,28906,28906) ret=0 line[14]=`gvzr naljurer
139+ '
140+ USER: pos=(27234,28906,28906) ret=0 line[14]=`gvzr naljurer
141+ '
142+
143+ --[23] whence=SEEK_SET offset=1401 line_length=1024 position_should_be=1401 --
144+ REAL: pos=(28906,1401,1401) ret=0 line[5]=`here
145+ '
146+ USER: pos=(28906,1401,1401) ret=0 line[5]=`here
147+ '
148+
149+ --[24] whence=SEEK_END offset=-32264 line_length=1024 position_should_be=286 --
150+ REAL: pos=(1401,286,286) ret=0 line[1]=`
151+ '
152+ USER: pos=(1401,286,286) ret=0 line[1]=`
153+ '
154+
155+ --[25] whence=SEEK_SET offset=30117 line_length=1024 position_should_be=30117 --
156+ REAL: pos=(286,30117,30117) ret=0 line[6]=` home
157+ '
158+ USER: pos=(286,30117,30117) ret=0 line[6]=` home
159+ '
160+
161+ --[26] whence=SEEK_SET offset=8561 line_length=1024 position_should_be=8561 --
162+ REAL: pos=(30117,8561,8561) ret=0 line[15]=`y head is home
163+ '
164+ USER: pos=(30117,8561,8561) ret=0 line[15]=`y head is home
165+ '
166+
167+ --[27] whence=SEEK_CUR offset=4854 line_length=1024 position_should_be=13415 --
168+ REAL: pos=(8561,13415,13415) ret=0 line[8]=`vf ubzr
169+ '
170+ USER: pos=(8561,13415,13415) ret=0 line[8]=`vf ubzr
171+ '
172+
173+ --[28] whence=SEEK_SET offset=5752 line_length=1024 position_should_be=5752 --
174+ REAL: pos=(13415,5752,5752) ret=0 line[23]=` Ill redefine anywhere
175+ '
176+ USER: pos=(13415,5752,5752) ret=0 line[23]=` Ill redefine anywhere
177+ '
178+
179+ --[29] whence=SEEK_SET offset=8297 line_length=1024 position_should_be=8297 --
180+ REAL: pos=(5752,8297,8297) ret=0 line[8]=`nywhere
181+ '
182+ USER: pos=(5752,8297,8297) ret=0 line[8]=`nywhere
183+ '
184+
185+ --[30] whence=SEEK_END offset=-30152 line_length=1024 position_should_be=2398 --
186+ REAL: pos=(8297,2398,2398) ret=0 line[4]=`baq
187+ '
188+ USER: pos=(8297,2398,2398) ret=0 line[4]=`baq
189+ '
190+
191+ --[31] whence=SEEK_SET offset=28648 line_length=1024 position_should_be=28648 --
192+ REAL: pos=(2398,28648,28648) ret=0 line[23]=`V nqncg gb gur haxabja
193+ '
194+ USER: pos=(2398,28648,28648) ret=0 line[23]=`V nqncg gb gur haxabja
195+ '
196+
197+ --[32] whence=SEEK_END offset=-5027 line_length=1024 position_should_be=27523 --
198+ REAL: pos=(28648,27523,27523) ret=0 line[5]=`home
199+ '
200+ USER: pos=(28648,27523,27523) ret=0 line[5]=`home
201+ '
202+
203+ --[33] whence=SEEK_CUR offset=-25718 line_length=1024 position_should_be=1805 --
204+ REAL: pos=(27523,1805,1805) ret=0 line[24]=` speak my mind anywhere
205+ '
206+ USER: pos=(27523,1805,1805) ret=0 line[24]=` speak my mind anywhere
207+ '
208+
209+ --[34] whence=SEEK_END offset=-24539 line_length=1024 position_should_be=8011 --
210+ REAL: pos=(1805,8011,8011) ret=0 line[22]=`rth becomes my throne
211+ '
212+ USER: pos=(1805,8011,8011) ret=0 line[22]=`rth becomes my throne
213+ '
214+
215+ --[35] whence=SEEK_CUR offset=19667 line_length=1024 position_should_be=27678 --
216+ REAL: pos=(8011,27678,27678) ret=0 line[10]=`red clean
217+ '
218+ USER: pos=(8011,27678,27678) ret=0 line[10]=`red clean
219+ '
220+
221+ --[36] whence=SEEK_SET offset=18098 line_length=1024 position_should_be=18098 --
222+ REAL: pos=(27678,18098,18098) ret=0 line[6]=`jurer
223+ '
224+ USER: pos=(27678,18098,18098) ret=0 line[6]=`jurer
225+ '
226+
227+ --[37] whence=SEEK_SET offset=10592 line_length=1024 position_should_be=10592 --
228+ REAL: pos=(18098,10592,10592) ret=0 line[1]=`
229+ '
230+ USER: pos=(18098,10592,10592) ret=0 line[1]=`
231+ '
232+
233+ --[38] whence=SEEK_CUR offset=11931 line_length=1024 position_should_be=22523 --
234+ REAL: pos=(10592,22523,22523) ret=0 line[5]=`ubzr
235+ '
236+ USER: pos=(10592,22523,22523) ret=0 line[5]=`ubzr
237+ '
238+
239+ --[39] whence=SEEK_CUR offset=-15434 line_length=1024 position_should_be=7089 --
240+ REAL: pos=(22523,7089,7089) ret=0 line[16]=`gur zber V tnva
241+ '
242+ USER: pos=(22523,7089,7089) ret=0 line[16]=`gur zber V tnva
243+ '
244+
245+ --[40] whence=SEEK_SET offset=32550 line_length=1024 position_should_be=32550 --
246+ REAL: pos=(7089,32550,32550) ret=0 line[0]=`'
247+ USER: pos=(7089,7089,7089) ret=0 line[16]=`gur zber V tnva
248+ '
249+ ###################################### FAIL!
250+ array(7) {
251+ ["wrapper_data"]=>
252+ &object(mystream)(5) {
253+ ["path"]=>
254+ string(11) "test://DATA"
255+ ["mode"]=>
256+ string(2) "rb"
257+ ["options"]=>
258+ int(4)
259+ ["position"]=>
260+ int(7089)
261+ ["varname"]=>
262+ string(4) "DATA"
263+ }
264+ ["wrapper_type"]=>
265+ string(10) "user-space"
266+ ["stream_type"]=>
267+ string(10) "user-space"
268+ ["unread_bytes"]=>
269+ int(0)
270+ ["timed_out"]=>
271+ bool(false)
272+ ["blocked"]=>
273+ bool(true)
274+ ["eof"]=>
275+ bool(false)
276+ }
277+ SEEK: FAIL
278+ FGETS: OK
279+ int(0)
280+ ...and the road becomes my bride
================================================================================
================================================================================
/usr/local/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/local/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/local/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:
Autoconf:
Libtool:
ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54)
Compiler:
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]
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/local/php-4.3.2RC2/sapi/cli/php:
libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28182000)
libmysqlclient.so.10 => /usr/local/lib/mysql/libmysqlclient.so.10 (0x2819b000)
libbz2.so.1 => /usr/lib/libbz2.so.1 (0x281b6000)
libz.so.2 => /usr/lib/libz.so.2 (0x281c6000)
libssl.so.3 => /usr/lib/libssl.so.3 (0x281d3000)
libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x28202000)
libm.so.2 => /usr/lib/libm.so.2 (0x282f9000)
libc.so.4 => /usr/lib/libc.so.4 (0x28311000)
User's E-mail: beat dot gaetzi at bluewin dot ch
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 4.3.2-RC2
System => FreeBSD prometheus.network.local 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Wed Apr i386
Build Date => Apr 30 2003 16:46:29
Configure Command => './configure' '--with-apxs=/usr/local/sbin/apxs'
'--with-config-file-path=/usr/local/etc' '--enable-versioning'
'--with-regex=system' '--without-gd' '--without-mysql'
'--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr/local' '--with-zlib' '--with-bz2=/usr'
'--with-mysql=/usr/local' '--with-openssl=/usr' '--enable-ftp'
'--prefix=/usr/local' 'i386-portbld-freebsd4.8'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/Zend/etc/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, https, ftps, compress.bzip2, compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
with Zend Optimizer v2.1.0, Copyright (c) 1998-2003, by 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 => 2039 => 2039
expose_php => On => On
extension_dir => ./ => ./
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/lib/php => .:/usr/local/lib/php
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 => 60 => 60
open_basedir => no value => no value
output_buffering => no value => no value
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 12 => 12
register_argc_argv => On => On
register_globals => Off => Off
report_memleaks => On => On
safe_mode => Off => Off
safe_mode_exec_dir => no value => no value
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 => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
variables_order => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
Zend Optimizer
Optimization Pass 1 => enabled
Optimization Pass 2 => enabled
Optimization Pass 3 => enabled
Optimization Pass 9 => disabled
Optimization Pass 10 => disabled
Zend Loader => enabled
License Path =>
bz2
BZip2 Support => Enabled
BZip2 Version => 1.0.2, 30-Dec-2001
ctype
ctype functions => enabled
ftp
FTP support => enabled
mysql
MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => 3.23.55
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.7a Feb 19 2003
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.2.2 $
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,input=src,form=,fieldset= =>
a=href,area=href,frame=src,input=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.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 =>
GS_LIB => /root/.kde/share/fonts
USER => root
KONSOLE_DCOP_SESSION => DCOPRef(konsole-294,session-1)
MAIL => /var/mail/root
SHLVL => 1
QUERY_STRING =>
XDM_MANAGED => /var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched
OLDPWD => /root
HOME => /root
TEST_PHP_SRCDIR => /usr/local/php-4.3.2RC2
GTK_RC_FILES => /etc/gtk/gtkrc:/root/.gtkrc:/root/.gtkrc-kde
PAGER => more
CONTENT_LENGTH =>
SCRIPT_FILENAME =>
PATH_TRANSLATED =>
COLORTERM =>
LOGNAME => root
_ => /usr/bin/make
TEST_PHP_EXECUTABLE => /usr/local/php-4.3.2RC2/sapi/cli/php
TERM => xterm
BLOCKSIZE => K
SESSION_MANAGER => local/prometheus.network.local:/tmp/.ICE-unix/255
PATH =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
KONSOLE_DCOP => DCOPRef(konsole-294,konsole)
DISPLAY => :0.0
SHELL => /bin/sh
REDIRECT_STATUS =>
REQUEST_METHOD =>
KDE_MULTIHEAD => false
PWD => /usr/local/php-4.3.2RC2
FTP_PASSIVE_MODE => YES
CC => gcc
PHP Variables
Variable => Value
_SERVER["CONTENT_TYPE"] =>
_SERVER["GS_LIB"] => /root/.kde/share/fonts
_SERVER["USER"] => root
_SERVER["KONSOLE_DCOP_SESSION"] => DCOPRef(konsole-294,session-1)
_SERVER["MAIL"] => /var/mail/root
_SERVER["SHLVL"] => 1
_SERVER["QUERY_STRING"] =>
_SERVER["XDM_MANAGED"] => /var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched
_SERVER["OLDPWD"] => /root
_SERVER["HOME"] => /root
_SERVER["TEST_PHP_SRCDIR"] => /usr/local/php-4.3.2RC2
_SERVER["GTK_RC_FILES"] => /etc/gtk/gtkrc:/root/.gtkrc:/root/.gtkrc-kde
_SERVER["PAGER"] => more
_SERVER["CONTENT_LENGTH"] =>
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["COLORTERM"] =>
_SERVER["LOGNAME"] => root
_SERVER["_"] => /usr/bin/make
_SERVER["TEST_PHP_EXECUTABLE"] => /usr/local/php-4.3.2RC2/sapi/cli/php
_SERVER["TERM"] => xterm
_SERVER["BLOCKSIZE"] => K
_SERVER["SESSION_MANAGER"] => local/prometheus.network.local:/tmp/.ICE-unix/255
_SERVER["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
_SERVER["KONSOLE_DCOP"] => DCOPRef(konsole-294,konsole)
_SERVER["DISPLAY"] => :0.0
_SERVER["SHELL"] => /bin/sh
_SERVER["REDIRECT_STATUS"] =>
_SERVER["REQUEST_METHOD"] =>
_SERVER["KDE_MULTIHEAD"] => false
_SERVER["PWD"] => /usr/local/php-4.3.2RC2
_SERVER["FTP_PASSIVE_MODE"] => YES
_SERVER["CC"] => gcc
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["CONTENT_TYPE"] =>
_ENV["GS_LIB"] => /root/.kde/share/fonts
_ENV["USER"] => root
_ENV["KONSOLE_DCOP_SESSION"] => DCOPRef(konsole-294,session-1)
_ENV["MAIL"] => /var/mail/root
_ENV["SHLVL"] => 1
_ENV["QUERY_STRING"] =>
_ENV["XDM_MANAGED"] => /var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched
_ENV["OLDPWD"] => /root
_ENV["HOME"] => /root
_ENV["TEST_PHP_SRCDIR"] => /usr/local/php-4.3.2RC2
_ENV["GTK_RC_FILES"] => /etc/gtk/gtkrc:/root/.gtkrc:/root/.gtkrc-kde
_ENV["PAGER"] => more
_ENV["CONTENT_LENGTH"] =>
_ENV["SCRIPT_FILENAME"] =>
_ENV["PATH_TRANSLATED"] =>
_ENV["COLORTERM"] =>
_ENV["LOGNAME"] => root
_ENV["_"] => /usr/bin/make
_ENV["TEST_PHP_EXECUTABLE"] => /usr/local/php-4.3.2RC2/sapi/cli/php
_ENV["TERM"] => xterm
_ENV["BLOCKSIZE"] => K
_ENV["SESSION_MANAGER"] => local/prometheus.network.local:/tmp/.ICE-unix/255
_ENV["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
_ENV["KONSOLE_DCOP"] => DCOPRef(konsole-294,konsole)
_ENV["DISPLAY"] => :0.0
_ENV["SHELL"] => /bin/sh
_ENV["REDIRECT_STATUS"] =>
_ENV["REQUEST_METHOD"] =>
_ENV["KDE_MULTIHEAD"] => false
_ENV["PWD"] => /usr/local/php-4.3.2RC2
_ENV["FTP_PASSIVE_MODE"] => YES
_ENV["CC"] => gcc
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.