mirror of
https://github.com/php/php-src.git
synced 2024-09-25 03:47:26 +00:00
fix tests
This commit is contained in:
parent
d5192b04a4
commit
87ebc71b60
@ -42,7 +42,7 @@ unlink(dirname(__FILE__)."/007_variation1.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'r' mode ***
|
*** Test fopen() & fclose() functions: with 'r' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
string(20) "line
|
string(20) "line
|
||||||
@ -54,7 +54,7 @@ string(7) "Unknown"
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'r' mode ***
|
*** Test fopen() & fclose() functions: with 'r' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
string(20) "line
|
string(20) "line
|
||||||
|
@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation10.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'r+t' mode ***
|
*** Test fopen() & fclose() functions: with 'r+t' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
string(20) "line
|
string(20) "line
|
||||||
@ -58,7 +58,7 @@ string(7) "Unknown"
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'r+t' mode ***
|
*** Test fopen() & fclose() functions: with 'r+t' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
unicode(20) "line
|
unicode(20) "line
|
||||||
|
@ -61,7 +61,7 @@ unlink(dirname(__FILE__)."/007_variation11.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'wt' mode ***
|
*** Test fopen() & fclose() functions: with 'wt' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
@ -76,7 +76,7 @@ bool(true)
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'wt' mode ***
|
*** Test fopen() & fclose() functions: with 'wt' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
|
@ -61,7 +61,7 @@ unlink(dirname(__FILE__)."/007_variation11.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'wt' mode ***
|
*** Test fopen() & fclose() functions: with 'wt' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
@ -76,7 +76,7 @@ bool(true)
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'wt' mode ***
|
*** Test fopen() & fclose() functions: with 'wt' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
|
@ -61,7 +61,7 @@ unlink(dirname(__FILE__)."/007_variation12.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'w+t' mode ***
|
*** Test fopen() & fclose() functions: with 'w+t' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
@ -78,7 +78,7 @@ bool(true)
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'w+t' mode ***
|
*** Test fopen() & fclose() functions: with 'w+t' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
|
@ -61,7 +61,7 @@ unlink(dirname(__FILE__)."/007_variation12.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'w+t' mode ***
|
*** Test fopen() & fclose() functions: with 'w+t' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
@ -78,7 +78,7 @@ bool(true)
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'w+t' mode ***
|
*** Test fopen() & fclose() functions: with 'w+t' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
|
@ -53,7 +53,7 @@ unlink(dirname(__FILE__)."/007_variation13.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'at' mode ***
|
*** Test fopen() & fclose() functions: with 'at' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(37)
|
int(37)
|
||||||
bool(false)
|
bool(false)
|
||||||
@ -65,7 +65,7 @@ bool(true)
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'at' mode ***
|
*** Test fopen() & fclose() functions: with 'at' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(37)
|
int(37)
|
||||||
bool(false)
|
bool(false)
|
||||||
|
@ -53,7 +53,7 @@ unlink(dirname(__FILE__)."/007_variation13.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'at' mode ***
|
*** Test fopen() & fclose() functions: with 'at' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(37)
|
int(37)
|
||||||
bool(false)
|
bool(false)
|
||||||
@ -65,7 +65,7 @@ bool(true)
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'at' mode ***
|
*** Test fopen() & fclose() functions: with 'at' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(37)
|
int(37)
|
||||||
bool(false)
|
bool(false)
|
||||||
|
@ -47,7 +47,7 @@ unlink(dirname(__FILE__)."/007_variation14.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'a+t' mode ***
|
*** Test fopen() & fclose() functions: with 'a+t' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(37)
|
int(37)
|
||||||
string(57) "line
|
string(57) "line
|
||||||
@ -62,7 +62,7 @@ bool(true)
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'a+t' mode ***
|
*** Test fopen() & fclose() functions: with 'a+t' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(37)
|
int(37)
|
||||||
unicode(57) "line
|
unicode(57) "line
|
||||||
|
@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation15.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'xt' mode ***
|
*** Test fopen() & fclose() functions: with 'xt' mode ***
|
||||||
resource(5) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
@ -58,7 +58,7 @@ Warning: fopen(%s): failed to open stream: File exists in %s on line %d
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'xt' mode ***
|
*** Test fopen() & fclose() functions: with 'xt' mode ***
|
||||||
resource(5) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation16.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'x+t' mode ***
|
*** Test fopen() & fclose() functions: with 'x+t' mode ***
|
||||||
resource(5) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
@ -60,7 +60,7 @@ Warning: fopen(%s): failed to open stream: File exists in %s on line %d
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'x+t' mode ***
|
*** Test fopen() & fclose() functions: with 'x+t' mode ***
|
||||||
resource(5) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
|
@ -42,7 +42,7 @@ unlink(dirname(__FILE__)."/007_variation17.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'rb' mode ***
|
*** Test fopen() & fclose() functions: with 'rb' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
string(20) "line
|
string(20) "line
|
||||||
@ -54,7 +54,7 @@ string(7) "Unknown"
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'rb' mode ***
|
*** Test fopen() & fclose() functions: with 'rb' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
string(20) "line
|
string(20) "line
|
||||||
|
@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation18.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'r+b' mode ***
|
*** Test fopen() & fclose() functions: with 'r+b' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
string(20) "line
|
string(20) "line
|
||||||
@ -58,7 +58,7 @@ string(7) "Unknown"
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'r+b' mode ***
|
*** Test fopen() & fclose() functions: with 'r+b' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
string(20) "line
|
string(20) "line
|
||||||
|
@ -56,7 +56,7 @@ unlink(dirname(__FILE__)."/007_variation19.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'wb' mode ***
|
*** Test fopen() & fclose() functions: with 'wb' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
@ -71,7 +71,7 @@ bool(true)
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'wb' mode ***
|
*** Test fopen() & fclose() functions: with 'wb' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation2.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'r+' mode ***
|
*** Test fopen() & fclose() functions: with 'r+' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
string(20) "line
|
string(20) "line
|
||||||
@ -58,7 +58,7 @@ string(7) "Unknown"
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'r+' mode ***
|
*** Test fopen() & fclose() functions: with 'r+' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
string(20) "line
|
string(20) "line
|
||||||
|
@ -56,7 +56,7 @@ unlink(dirname(__FILE__)."/007_variation20.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'w+b' mode ***
|
*** Test fopen() & fclose() functions: with 'w+b' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
@ -73,7 +73,7 @@ bool(true)
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'w+b' mode ***
|
*** Test fopen() & fclose() functions: with 'w+b' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ unlink(dirname(__FILE__)."/007_variation21.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'ab' mode ***
|
*** Test fopen() & fclose() functions: with 'ab' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(37)
|
int(37)
|
||||||
bool(false)
|
bool(false)
|
||||||
@ -60,7 +60,7 @@ bool(true)
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'ab' mode ***
|
*** Test fopen() & fclose() functions: with 'ab' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
|
|
||||||
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
|
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
|
||||||
|
@ -47,7 +47,7 @@ unlink(dirname(__FILE__)."/007_variation22.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'a+b' mode ***
|
*** Test fopen() & fclose() functions: with 'a+b' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(37)
|
int(37)
|
||||||
string(57) "line
|
string(57) "line
|
||||||
@ -62,7 +62,7 @@ bool(true)
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'a+b' mode ***
|
*** Test fopen() & fclose() functions: with 'a+b' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
|
|
||||||
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
|
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
|
||||||
|
@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation23.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'xb' mode ***
|
*** Test fopen() & fclose() functions: with 'xb' mode ***
|
||||||
resource(5) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
@ -58,7 +58,7 @@ Warning: fopen(%s): failed to open stream: File exists in %s on line %d
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'xb' mode ***
|
*** Test fopen() & fclose() functions: with 'xb' mode ***
|
||||||
resource(5) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation24.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'x+b' mode ***
|
*** Test fopen() & fclose() functions: with 'x+b' mode ***
|
||||||
resource(5) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
@ -60,7 +60,7 @@ Warning: fopen(%s): failed to open stream: File exists in %s on line %d
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'x+b' mode ***
|
*** Test fopen() & fclose() functions: with 'x+b' mode ***
|
||||||
resource(5) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ unlink(dirname(__FILE__)."/007_variation3.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'w' mode ***
|
*** Test fopen() & fclose() functions: with 'w' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
@ -71,7 +71,7 @@ bool(true)
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'w' mode ***
|
*** Test fopen() & fclose() functions: with 'w' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ unlink(dirname(__FILE__)."/007_variation4.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'w+' mode ***
|
*** Test fopen() & fclose() functions: with 'w+' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
@ -73,7 +73,7 @@ bool(true)
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'w+' mode ***
|
*** Test fopen() & fclose() functions: with 'w+' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ unlink(dirname(__FILE__)."/007_variation5.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'a' mode ***
|
*** Test fopen() & fclose() functions: with 'a' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(37)
|
int(37)
|
||||||
bool(false)
|
bool(false)
|
||||||
@ -60,7 +60,7 @@ bool(true)
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'a' mode ***
|
*** Test fopen() & fclose() functions: with 'a' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
|
|
||||||
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
|
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
|
||||||
|
@ -47,7 +47,7 @@ unlink(dirname(__FILE__)."/007_variation6.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'a+' mode ***
|
*** Test fopen() & fclose() functions: with 'a+' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(37)
|
int(37)
|
||||||
string(57) "line
|
string(57) "line
|
||||||
@ -62,7 +62,7 @@ bool(true)
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'a+' mode ***
|
*** Test fopen() & fclose() functions: with 'a+' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
|
|
||||||
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
|
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
|
||||||
|
@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation7.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'x' mode ***
|
*** Test fopen() & fclose() functions: with 'x' mode ***
|
||||||
resource(5) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
@ -58,7 +58,7 @@ Warning: fopen(%s): failed to open stream: File exists in %s on line %s
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'x' mode ***
|
*** Test fopen() & fclose() functions: with 'x' mode ***
|
||||||
resource(5) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation8.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'x+' mode ***
|
*** Test fopen() & fclose() functions: with 'x+' mode ***
|
||||||
resource(5) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
int(37)
|
int(37)
|
||||||
@ -60,7 +60,7 @@ Warning: fopen(%s): failed to open stream: File exists in %s on line %d
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'x+' mode ***
|
*** Test fopen() & fclose() functions: with 'x+' mode ***
|
||||||
resource(5) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ unlink(dirname(__FILE__)."/007_variation9.tmp");
|
|||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'rt' mode ***
|
*** Test fopen() & fclose() functions: with 'rt' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
string(6) "stream"
|
string(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
string(20) "line
|
string(20) "line
|
||||||
@ -54,7 +54,7 @@ string(7) "Unknown"
|
|||||||
*** Done ***
|
*** Done ***
|
||||||
--UEXPECTF--
|
--UEXPECTF--
|
||||||
*** Test fopen() & fclose() functions: with 'rt' mode ***
|
*** Test fopen() & fclose() functions: with 'rt' mode ***
|
||||||
resource(8) of type (stream)
|
resource(%d) of type (stream)
|
||||||
unicode(6) "stream"
|
unicode(6) "stream"
|
||||||
int(0)
|
int(0)
|
||||||
unicode(20) "line
|
unicode(20) "line
|
||||||
|
Loading…
Reference in New Issue
Block a user