--TEST-- Test fopen and fclose() functions - usage variations - "r+" mode --FILE-- --EXPECTF-- *** Test fopen() & fclose() functions: with 'r+' mode *** resource(%d) of type (stream) string(6) "stream" int(0) string(20) "line line of text li" int(20) int(37) int(57) bool(true) string(7) "Unknown" *** Done ***