https://bugzilla.wikimedia.org/show_bug.cgi?id=69014

Pavel (pastakhov) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |Normal

--- Comment #3 from Pavel (pastakhov) <[email protected]> ---
For the correct operation is required to describe number and type of parameters
for each function. Because the extension contains a lot of functions it will
take a lot of time which I do not have yet. As a temporary way out I decided
not to validate the data that the users pass to the functions and catch errors
using the function set_error_handler.

The problem is the error handler in HHVM is too different of Zend.
And the main problem is that the wrong expression 
> php -r 'echo date_format(5, "Y-m-d");'

Zend returns:
PHP Warning:  date_format() expects parameter 1 to be DateTime, integer given
in Command line code on line 1
And it can be continued.

But HHVM returns:
Fatal error: Unexpected object type stdClass. in /tmp/php-wrap-dFLaAw on line 2
And it can not be continued.

I will solve this problem, but it will not be very soon.
Thanks for the bug report.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to