Latest Uploads
Extraterre ... .0.1 (zip)

dantheman363

Monty Teas ... Screenie 1

steve_ancell

Santa Clau ... ed his bag

waroffice

manic_platdude.png

spinal

Tetris Clone

steve_ancell

Super blues bros.

spinal

Showcase > Functions Libraries ( Created 07 July 2012 | Last Edited 07 July 2012)

PHP Error - Created by JL235 (Rating 100%)

Better error reporting in PHP
Created using PHP > Cross PlatformView Comments (2 comments)
PHP Error
GitHub repo
This is a library I recently wrote to improve the error reporting in PHP, which tbh, just plain sucks.

It replaces the output with a fully syntax highlighted stack trace, with code snippets, better error messages, and a lot more. Most of all, it tries to make this as quick and easy to read as possible, allowing you to debug faster.

Works for Ajax too, where an error will cause the JS callback to be put on hold, and display the error in the browser.

Highslide JS

You can then debug and fix the issue, and hit retry to rerun, with no page refresh required. This needs no changes to your JS, or special plugins to work.

Instructions are also provided here on the different ways you can setup PHP Error, including allowing you to keep it entirely seperate from your projects. That allows you to trivially keep it out of your deploments.

Since building this, I've found it far more productive then the standard PHP error reporting. I hope others find it useful too.
Highslide JS

There is no worklog for this showcase.Plain Text
Latest Posts
RoadRash!
Mog Sun 10:42
Noel's Graduation
spinal Sun 09:49
Screen Burn of the Mind
rockford Sun 09:01
Audio Rant
steve_ancell Sat 19:16
Wrong Partition!!!!?
spinal Sat 11:24
Progress / Location Bars
Afr0 Sat 03:15
eBay Lies
spinal Fri 23:44
Shoutbox Topic - 968
dna Fri 19:42
Development via GUI
JL235 Fri 07:59
Meh
Afr0 Fri 04:13
More

Latest Items
News : Newsletter #176
Jayenkai Sat 04:49
News : Newsletter #175
Dabz Tue 09:38
Blog : Snow: More Material Junk
Cower Sat 23:17
Dev-Diary : Mutant Monty: Amstrad CPC to Windows conversion
rockford Fri 13:14
Techy : AppleTV
Jayenkai Thu 09:40
Blog : Graphviz
steve_ancell Sat 14:17
Pets : Top-Down Shadow Hack
Jayenkai Tue 05:52
Snippet : JNKrunch v1.0
Jayenkai Sat 07:20
News : Newsletter #173
waroffice Fri 04:47
Blog : Material Loading
Cower Fri 02:08
Pets : I Done Won A Thing
shroom_monk Sun 11:31
Pets : Repurposing A Lexer
Cower Mon 22:06
Bah : Feeling a Little Angry
spinal Mon 11:26
News : Newsletter #170
Dabz Sat 00:34
Showcase : sbfgen
Cower Sat 16:57
More

Who's Online
Mog
Sun, at 11:18
Jayenkai
Sun, at 11:17
Evil Roy Ferguson
Sun, at 11:16
Dabz
Sun, at 11:10
shroom_monk
Sun, at 10:53
steve_ancell
Sun, at 10:46
CodersRule
Sun, at 10:40
Cower
Sun, at 10:01
spinal
Sun, at 10:00
rockford
Sun, at 09:38
Link to this page
Site : Jayenkai 2006-Infinity |
MudChat's origins, BBCode's former life, Image Scaler.