--TEST-- Test fopen and fclose() functions - usage variations - "a+" mode --FILE-- --EXPECTF-- *** Test fopen() & fclose() functions: with 'a+' mode *** 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 int(37) string(57) "line line of text liabcdefghij mnopqrst uvwxyz 0123456789" int(57) bool(true) unicode(7) "Unknown" bool(true) *** Done ***