php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55361 Fatal error where expected notice
Submitted: 2011-08-04 12:13 UTC Modified: 2011-08-04 12:25 UTC
From: admin at 4ever dot sk Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.3.6 OS: Both Windows and debian
Private report: No CVE-ID: None
 [2011-08-04 12:13 UTC] admin at 4ever dot sk
Description:
------------
string "<a href="' causes fatal error when any form of error is raised.

Test script:
---------------
<?
error_reporting(15);
ini_set('display_errors', 'On');
highlight_file('test.php');
?>
<a href=<? $a++; ?>
<a href="<? $b++; ?>
<a href=<? $c++; ?>

Expected result:
----------------
3 notices

Actual result:
--------------
1 notice

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-04 12:25 UTC] pajoye@php.net
-Status: Open +Status: Bogus
 [2011-08-04 12:25 UTC] pajoye@php.net
See the src of the file and you will see the 3 notices.
 [2011-08-04 17:23 UTC] admin at 4ever dot sk
Im not that lama ;-)
See for yourself:http://4ever.sk/bug55361.php

You really try it? You see 3 notices? What version? Os?

But the good news is, in error log is everything.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 13:01:33 2024 UTC