?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'r' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
string(20) "line
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'r' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
string(20) "line
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'r+t' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
string(20) "line
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'r+t' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
unicode(20) "line
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'wt' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'wt' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
int(37)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'wt' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'wt' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
int(37)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'w+t' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'w+t' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
int(37)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'w+t' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'w+t' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
int(37)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'at' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(37)
bool(false)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'at' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(37)
bool(false)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'at' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(37)
bool(false)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'at' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(37)
bool(false)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'a+t' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(37)
string(57) "line
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'a+t' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(37)
unicode(57) "line
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'xt' mode ***
-resource(5) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'xt' mode ***
-resource(5) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'x+t' mode ***
-resource(5) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'x+t' mode ***
-resource(5) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
int(37)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'rb' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
string(20) "line
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'rb' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
string(20) "line
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'r+b' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
string(20) "line
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'r+b' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
string(20) "line
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'wb' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'wb' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'r+' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
string(20) "line
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'r+' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
string(20) "line
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'w+b' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'w+b' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'ab' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(37)
bool(false)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'ab' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'a+b' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(37)
string(57) "line
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'a+b' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'xb' mode ***
-resource(5) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'xb' mode ***
-resource(5) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'x+b' mode ***
-resource(5) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'x+b' mode ***
-resource(5) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'w' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'w' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'w+' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'w+' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'a' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(37)
bool(false)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'a' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'a+' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(37)
string(57) "line
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'a+' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'x' mode ***
-resource(5) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'x' mode ***
-resource(5) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'x+' mode ***
-resource(5) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'x+' mode ***
-resource(5) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'rt' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
string(6) "stream"
int(0)
string(20) "line
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'rt' mode ***
-resource(8) of type (stream)
+resource(%d) of type (stream)
unicode(6) "stream"
int(0)
unicode(20) "line