Lately it seems that the possibility of PHP developers agreeing on something is about as likely as peace in the middle-east being declared overnight. After about a two week cease fire, following the long and bloody fight about studlyCaps aka suckyCaps, which ended with a sound defeat of the forces of sanity & reason the PHP developer community is at it again. Once more we can thank [url=http://coggeshall.org]John Coggeshall[/url] for this bit of entertainment, this time centered around wondrous PHP5 feature called "Exceptions". As you may or may not know in PHP5 it is possible to throw exceptions, which you can then catch and theoretically through this process simply error checking process and make it easier to write code. John proposed that all error messages raised by OO code would report errors by throwing exceptions rather then using the current error reporting mechanism. Technically the idea is sound good, since it would allow reduction in the number of error checks, allowing all error tracking be perfor...

  • 46
  • »