--TEST-- Test fgetc() function : usage variations - closed handle --XFAIL-- Return values are inconsistent (and have changed from previous versions) --FILE-- --EXPECTF-- *** Testing fgetc() : usage variations *** -- Testing fgetc() with closed handle -- Warning: fgetc(): %d is not a valid stream resource in %s on line %d bool(false) -- Testing fgetc() with unset handle -- Notice: Undefined variable: file_handle in %s on line %d Warning: fgetc() expects parameter 1 to be resource, null given in %s on line %d bool(false) Done