ID: 28624 User updated by: admin at cyaccess dot com Reported By: admin at cyaccess dot com -Status: Feedback +Status: Open Bug Type: Unknown/Other Function Operating System: Win XP PHP Version: 4.3.7 New Comment:
My sincere apologies It was not PHP but the proxy server software that was removing the one pixel pic. Please feel free to remove the report. Take care Previous Comments: ------------------------------------------------------------------------ [2004-06-04 14:44:14] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Works for me, and I doubt it's a bug in PHP. Provide more information. ------------------------------------------------------------------------ [2004-06-03 19:50:28] admin at cyaccess dot com Description: ------------ Server: Win XP pro, Apache 2.0.49/ PHP 4.3.7 The following string is misread and replaced by PHP with "". There was no such problem in PHP up to 4.3.4 but was noticed since PHP 4.3.5 Reproduce code: --------------- Following will be rendered as $blank = ""; by PHP. $blank = '<img src="images/blank.gif" width="1" height="1" alt="" />'; There is no error and the out put is simply nothing. Example: echo $blank; # would out put nothing However, the followings would work fine: $blank = '<img src="images/blank.gif" width="2" height="1" alt="" />'; $blank = '<img src="images/blank.gif" width="1" height="2" alt="" />'; $blank = '<img src="images/blank.gif" height="1" alt="" />'; $blank = '<img src="images/blank.gif" width="1" alt="" />'; The problem seems to be the combination of (width="1" height="1"). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28624&edit=1