|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-10-29 16:05 UTC] gabrycucciolo84pv at fastwebnet dot it
[2010-06-21 00:31 UTC] felipe@php.net
-Status: Open
+Status: Wont fix
[2010-06-21 00:31 UTC] felipe@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 14:00:01 2025 UTC |
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