LALR parser generator for PHP

I’ve been tinkering forever with parser generators; mostly to get behind how they work and what I can do with them.

A (long) while ago, I found myself in need for a Bison-like parser generator for PHP and there was none.

(more…)

The whitespace of death

As the first entry to the list of my PHP-related WTFs, I present:

The whitespace of death

This one has taken me almost a full hour to sort out. There may be some good features to PHP, yet this one I don’t think is even one. It should be considered a bug. As my experience has grown in reporting bugs myself or trying to report a bug, I reconsidered and chose not to report it as a “bug”.

(more…)