From: stantoney at firmfoundationtechnology dot com Operating system: linux 2.4 PHP version: 4.3.8 PHP Bug Type: Scripting Engine problem Bug description: PHP script stops parsing prematurely
Description: ------------ I'm uploading web pages to a new server and a PHP script is not parsing fully. It reaches a line that has a > in the line and stops. Here is part of the relevant code <?php require_once "cgi-bin/carp.php"; CarpConf('linktarget',1); CarpConf('bilink','<div style="background: #cccccc; width: 180; padding: 2px; border-width: 1px; border-style: inset; border-color: #333333;">'); CarpCacheShow("http://news.com.com/2547-1_3-0-5.xml"); ?> The error occurs at the end of the bilink config line. Once the script hits the > near the end of the line it exits the script. It works fine under PHP 2.3.4. CarpConf refers to a function provided by CaRP, a RSS feed converter at http://www.geckotribe.com/rss/carp/ Reproduce code: --------------- http://s108329740.onlinehome.us/ Expected result: ---------------- Correct (current Site) http://www.firmfoundationtechnology.com/ Here are links to PHPinfo scripts for reference. GOOD Site - http://www.firmfoundationtechnology.com/scripts/phpinfo.php BAD Site - http://s108329740.onlinehome.us/scripts/phpinfo.php -- Edit bug report at http://bugs.php.net/?id=29976&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29976&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29976&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29976&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=29976&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29976&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29976&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29976&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29976&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29976&r=support Expected behavior: http://bugs.php.net/fix.php?id=29976&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29976&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29976&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29976&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29976&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29976&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29976&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29976&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29976&r=float