Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Aug 5, 2013
Commits on Mar 25, 2013
  1. changed the default tokens, to include new ones for PHP 5.4 and 5.5

    This has added tokens for the keywords:
    * insteadof
    * trait
    * __trait__
    * yield
    * finally
  2. removed the ErrorException, as it's included in PHP 5.3

    ErrorException is included in PHP 5.3,
    and as PHP Error requires 5.3 due to namespaces,
    it makes less sense to fake the class now.
Commits on Mar 24, 2013
  1. made the warning in the file more prominent

    The latest changes makes PHP Error even less unsafe
    in production, so I made the warning more prominent.
  2. #68 changed display_line_numbers behaviour

    * display_line_numbers now works again,
    turning line numbers on or off.
    * It has been changed from defaulting to 'false',
    to 'true'.
Commits on Mar 23, 2013
Commits on Mar 21, 2013
  1. if the same file appears multiple times, it's now outputted once

    Before the file for each stack trace line,
    was always outputted. This was regardless of
    if the same file is in the stack multiple times,
    or not.
    Now, each file that is mentioned in the stack,
    is only outputted once to the front end.
Commits on Mar 15, 2013
  1. simplified isNonPHPRequest, and made visual changed to editor

    Fixed a finding bug in isNonPHPRequest,
    and simplified the code, so it does a lot less.
    I also changed the editor, so that it is now
    laid out a little nicer, in relation to the headers.
  2. simplified the code

    The twilight theme has been removed from the JavaScript,
    and instead provided through the CSS script.
    This has reduced the amount of code, and should improve
    rendering a tad.
    The editor is also now padded in now on the left side,
    and close matches how it was before ace was added.
    The line heights of the h2 elements,
    is now fixed (before they were being set the 18px).
  3. correctly switches between files in ace

    * Syntax highlighting for ace now matches the original
    syntax highlighting used by PHP Error.
    * Ace now correct switches between files, using the stack file selector.
  4. ace is now displaying

  5. Merge pull request #54 from shaine/fix_binary_js_injection

    Fix binary js injection
  6. Merge pull request #39 from alexbilbie/master

    Added composer.json. Fixes #32 and #38
  7. added concrete5 support

    This is from pull request
Commits on Jan 23, 2013
  1. Check transfer encoding to prevent JS injection in binary

    Shaine Hatch committed
  2. Remove trailing whitespace

    Shaine Hatch committed
Commits on Nov 6, 2012
  1. @alexbilbie

    Update composer.json

    alexbilbie committed
    Correct name and license parameters
Commits on Oct 27, 2012
  1. changed 'is_ajax' query option so it only needs to be present

    Before the query parameter had to be set
    to true, i.e. php_error_is_ajax=true
    Now it can be set to any value; it's existance
    presumes it should be used.
    This is to simplify usage.
  2. added the query parameter 'php_error_is_ajax'

    Now if the query parameter is added,
    this tells PHP Error it is an ajaxy query.
    This is useful for iFrame based ajax.
Commits on Oct 26, 2012
  1. fixed ajax bugs

    * Fixed failing to buffer ajax output under certain calls.
    * Fixed iFrame being initialized twice, and failing to get content
    when first initialized.
  2. minor IE9 bugfix

    IE 9 returns a header as an empty string, if not found.
    Other browsers returned null.
    Before it was checking for null, now it checks for an
    empty string too.
Commits on Oct 21, 2012
  1. @alexbilbie

    Added composer.json. Fixes #38 and #32

    alexbilbie committed
    Signed-off-by: Alex Bilbie <>
Commits on Oct 11, 2012
  1. Merge pull request #30 from wgas/master

    Fix Session already set error.
    Re-adding the old check, along with the new one.
  2. @mrsimonbennett
Commits on Oct 10, 2012
  1. changed name on 'thrown exception' test

    When I just saw this in PHP Error, I thought PHP was
    saying 'thrown exception' and failing to provide the exceptions message.
    I was wrong, and this change is so I don't think that again
    in say 6 months time.
  2. added missing isset

    When checking for values set in the $_SERVER value,
    I had forget to use 'isset'.
  3. #29 added IIS support, thinner font, backgrund now fixed

    * IIS support is added. When FastCGI logs an error,
    IIS take over the request by default, and then show it.
    This meant PHP Error was failing when it logged an error.
    Now we don't log an error if PHP Error is running (since
    we are just going to tell them)
    * background div is now fixed, to cover up anything that
    has outputted before the error is displayed.
    * The font set in a previous commit was incorrect,
    it's now set to the correct, thinner version.
Commits on Oct 9, 2012
  1. new fonts and altered styling

    It now uses different fonts, giving a cleaner and
    less heavy look.
    Some of the spacing has also been changed,
    to compensate for new font sizes and families.
Something went wrong with that request. Please try again.