--TEST-- Test ftruncate() function : error conditions --FILE-- --CLEAN-- --EXPECTF-- *** Testing ftruncate() : error conditions *** Initial file size = 36 -- Testing ftruncate() with closed/unset file handle -- Warning: ftruncate(): supplied resource is not a valid stream resource in %s on line %d bool(false) int(36) Done