From: crrodriguez at suse dot de Operating system: linux PHP version: 5.2.6 PHP Bug Type: FTP related Bug description: filesize() regression using ftp wrapper
Description: ------------ Unfortunately, my bugfix for bug #43498 introduced a regression that can be seen using filesize() and the FTP wrapper Reproduce code: --------------- <?php var_dump(filesize('ftp://ftp-1.gwdg.de/pub/locatedb')); ?> Expected result: ---------------- int(143162194) Actual result: -------------- int(0) I have fixed it, though, oops, sorry ;-) there it goes: http://stuff.cristianrodriguez.net/patches/filesize-regression.patch -- Edit bug report at http://bugs.php.net/?id=45449&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45449&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45449&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45449&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45449&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45449&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45449&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45449&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45449&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45449&r=support Expected behavior: http://bugs.php.net/fix.php?id=45449&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45449&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45449&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45449&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45449&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45449&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45449&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45449&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45449&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45449&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45449&r=mysqlcfg