php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44656 Parser refuses to parse.
Submitted: 2008-04-07 01:48 UTC Modified: 2008-04-07 05:31 UTC
From: cowmonkey111 at gmail dot com Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 4.4.8 OS: Windows XP
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: cowmonkey111 at gmail dot com
New email:
PHP Version: OS:

 

 [2008-04-07 01:48 UTC] cowmonkey111 at gmail dot com
Description:
------------
I was doing some codeing on my apache server running on my own computer, then my parser just, stopped parsing. It happened after I used an E_ALL in error reporting and then it just stopped, from what I remember. All I got, when there was an error that I made, was a blank page.

Reproduce code:
---------------
$rand = time();
$salt1="SUPASECURE11215477344";
$salt2="SUPASECUREppepeowo34929093";
$salt3="23457844242235";
$hash1=sha1($salt1)
$hash2=md5(sha1($salt2));
$hash3=md5($salt3);
$h = $hash1.$hash2.$hash3;
echo $h;

Expected result:
----------------
A message telling me that I had an error or the end result.

Actual result:
--------------
A blank page.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-07 01:49 UTC] cowmonkey111 at gmail dot com
(The reproduction code probably should not acually reproduce it, it wasd just the code I used when the parser shut down) And I have restarted my Apache server, also.
 [2008-04-07 05:31 UTC] bjori@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

> $hash1=sha1($salt1)

You are missing a semi colon.
Turn display_errors on and you'll see the error.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 19:01:35 2025 UTC