Fix php compatibility

It seems Behat 3.0 does not work with PHP 5.3.3, at least it doesn't with 5.3.8. This issue may be related to a PHP bug (https://bugs.php.net/bug.php?id=43200).

This PR makes Behat work with PHP 5.3.8, I did not test with 5.3.3.