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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: admin at 4ever dot sk
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC