ID: 42870 Updated by: [EMAIL PROTECTED] Reported By: marian at devourmedia dot com -Status: Assigned +Status: Closed Bug Type: Feature/Change Request Operating System: Fedora PHP Version: 5.2.4 Assigned To: scottmac New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. icon support will be in 5.3.0+ Previous Comments: ------------------------------------------------------------------------ [2007-10-05 17:28:25] [EMAIL PROTECTED] There is currently no support for icons, but the format is near identical to BMP. ------------------------------------------------------------------------ [2007-10-05 16:38:41] marian at devourmedia dot com Description: ------------ PHP code should return information about the .ico file. Reproduce code: --------------- $fpath="/tmp/test.ico"; $buffer=file_get_contents('http://www.favicon.com/favicon.ico'); file_put_contents($fpath,$buffer); $result=getimagesize($fpath); if(is_bool($result)) echo "Boolean result: "; if(is_string($result)) echo "String result: "; if(is_numeric($result)) echo "Numeric result: "; if(is_array($result)) echo "Array result: "; echo "'"; print_r($result); echo "'"; Expected result: ---------------- Instead of returning "Array result: " and the values, it is returning "Boolean result:" Actual result: -------------- It is returning Boolean result which is false. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42870&edit=1