I recently compiled PHP 6 with the namespace patch and, shit happens, realised Doctrine uses methods named import().

I can't blame the Doctrine developers for not being so "cutting-edge" - even the PHP manual wasn't updated to include import, namespace and goto as reserved keywords. (of course, I took care of this).

A quick fix was to replace import() by imprt(), which is much more ugly, I agree.

And that's another reason PHP programmers must be aware of PHP 6...

nicobn | General | 15 August, 7:00pm

Leave a Comment









Comment XML feeds: RSS | Atom
Total Visitors:112828