From: spam2 at rhsoft dot net Operating system: Fedora 9 x86_64 PHP version: 6CVS-2008-05-25 (CVS) PHP Bug Type: Unknown/Other Function Bug description: Illegal or truncated character in input
Description: ------------ Warning: Illegal or truncated character in input: offset 104, state=0 in /mnt/data/www/thelounge.rhsoft.net/index.php on line 45 Parse error: syntax error, unexpected $end in /mnt/data/www/thelounge.rhsoft.net/index.php on line 45 _____________ The problem is the german "ü" else echo " <br /><h2 style=\"color:red\">Derzeit stehen keine Entwicklungsprojekte auf dieser Domain zur Verfügung !</h2><br /> "; Reproduce code: --------------- <?php $result = @ini_set ("url_rewriter.tags", ""); // Inhalt des Ordners zwischenspeichern settype ($dir_list, "array"); $verz = opendir ("./"); while ($file = readdir ($verz)) { if (@is_dir($file) && $file !="." && $file !=".." && !stristr($file, "thevolumesetting") && !stristr($file, "network trash")) $dir_list[] = $file; } closedir ($verz); asort($dir_list); if (!empty($dir_list)) { foreach ($dir_list as $dir) { echo "<a href=\"./" . $dir . "/\">" . strtolower($dir) . "</a><br>"; } } else echo " <br /><h2 style=\"color:red\">Derzeit stehen keine Entwicklungsprojekte auf dieser Domain zur Verfügung !</h2><br /> "; ?> Expected result: ---------------- A simple html page Actual result: -------------- a strange parse error -- Edit bug report at http://bugs.php.net/?id=45087&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45087&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45087&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45087&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45087&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45087&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45087&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45087&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45087&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45087&r=support Expected behavior: http://bugs.php.net/fix.php?id=45087&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45087&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45087&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45087&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45087&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45087&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45087&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45087&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45087&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45087&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45087&r=mysqlcfg