--TEST-- Test fopen and fclose() functions - usage variations - "r+b" mode --FILE-- --EXPECTF-- *** Test fopen() & fclose() functions: with 'r+b' mode *** resource(%d) of type (stream) unicode(6) "stream" int(0) string(20) "line line of text li" int(20) Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d int(37) int(57) bool(true) unicode(7) "Unknown" *** Done ***