ID: 28624 Updated by: [EMAIL PROTECTED] Reported By: admin at cyaccess dot com -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: Win XP PHP Version: 4.3.7 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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