ID: 42870 User updated by: marian at devourmedia dot com Reported By: marian at devourmedia dot com Status: Closed Bug Type: Feature/Change Request Operating System: Fedora PHP Version: 5.2.4 Assigned To: scottmac New Comment:
Thank you. In my opinion .ico support should be built into php since 4.0 (especially because it is a close format to BMP so easy to add) If you look here: http://en.wikipedia.org/wiki/Favicon you will understand why the importance. However, thank you very much for adding it. Previous Comments: ------------------------------------------------------------------------ [2007-10-13 18:10:57] [EMAIL PROTECTED] 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+ ------------------------------------------------------------------------ [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