Convert to PHP 5.3 syntax
See https://github.com/xp-framework/core/pull/31#discussion_r16824425
Add check on PHP 5.4+
Need to put more thought into this; this will not work for a framework
with PHP 5.5+ syntax requirement