--TEST-- Test fwrite() function : error conditions --FILE-- getMessage(), "\n"; } echo "Done\n"; ?> --CLEAN-- --EXPECT-- *** Testing fwrite() : error conditions *** -- Testing fwrite() with invalid length arguments -- int(0) int(0) -- Testing fwrite() with closed/unset file handle -- fwrite(): supplied resource is not a valid stream resource Done