Jani Taskinen wrote: >> Marcus Boerger wrote: >> >>> Modified files: /php-src/ext/standard file.c >>> Log: >>> - Allow length 0 as default (e.g. skip param) >> >> [...] >> >>> if (len < 0) { >>> php_error_docref(NULL TSRMLS_CC, E_WARNING, "Length >>> parameter may not be negative"); >>> RETURN_FALSE; >>> + } else if (len == 0) { >>> + len = -1; >>> } >> >> >> Does this fix http://bugs.php.net/bug.php?id=31192 ? > > Try it? :)
Sorry, I currently lack the resources to verify this myself.
- Markus
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php