|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-02-29 00:06 UTC] felipe@php.net
[2008-03-07 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 13:00:01 2025 UTC |
Description: ------------ The HTML code which is produced by an Exception thrown by the DirectoryIterator gets converted to HTML entities, meaning the link is not shown nor clickable. Reproduce code: --------------- <?php error_reporting(E_ALL|E_STRICT); // directory mustn't exist $dir = new DirectoryIterator('xyz'); ?> Expected result: ---------------- <br /> <b>Fatal error</b>: Uncaught exception 'RuntimeException' with message 'DirectoryIterator::__construct(xyz) [<a href='function.DirectoryIterator---construct'>;function.DirectoryIterator---construct</a>;]: failed to open dir: Actual result: -------------- <br /> <b>Fatal error</b>: Uncaught exception 'RuntimeException' with message 'DirectoryIterator::__construct(xyz) [<a href='function.DirectoryIterator---construct'>function.DirectoryIterator---construct</a>]: failed to open dir: