--TEST-- Test fopen and fclose() functions - usage variations - "x+" mode --FILE-- --EXPECTF-- *** Test fopen() & fclose() functions: with 'x+' mode *** resource(%d) of type (stream) string(6) "stream" int(0) int(37) int(37) string(37) "abcdefghij mnopqrst uvwxyz 0123456789" int(37) bool(true) string(7) "Unknown" Warning: fopen(%s): failed to open stream: File exists in %s on line %d *** Done ***