Some fixes for PHP version

* Allow strftime() without second argument
* Fix method calls (error in grammar)
* Introduce a self::noop() hack to support method calls and key fetches on expressions
Allow strftime() without date in perl version