News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Court Ewing's Blog:
Common, Cryptic PHP Errors
May 01, 2012 @ 13:09:51

Court Ewing has a new post to his blog describing some of the most common cryptic errors that you might come across in your day-to-day development.

If you've been programming for awhile, then you've probably experienced your fair share of cryptic error messages. It's understandable that building in detailed error messages that are clear to even novice developers is not always a high priority for programming languages when there are so many other features to create and issues to address. The PHP language has decent error messages, but it is by no means an exception to this rule.

The three errors he covers are probably familiar to anyone that's been working with PHP for any length of time:

  • Fatal error: Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM
  • Fatal error: Can't use function return value in write context
  • Fatal error: Exception thrown without a stack frame in Unknown on line 0
0 comments voice your opinion now!
common cryptic error message language


blog comments powered by Disqus

Similar Posts

Padraic Brady: Zephir Language: Write PHP Extensions The Easy Way (Without C) Part 1: Introduction

PHP.net: PHP Versions 5.5.13 & 5.4.29 Released

PHPClasses.org: Lately in PHP podcast episode 40 - More New Features for PHP 5.6

Developer Tutorials Blog: Five reasons you should be using PHP

Joshua Eichorn\'s Blog: PHP4Mono


Community Events





Don't see your event here?
Let us know!


conference list interview laravel release voicesoftheelephpant security framework artisanfiles series podcast library symfony opinion version community language tool composer introduction

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework