Details
Description
I am defining an own error handler and catching anything. Also function calls like @getdate() are catched there.
The problem is that I get a message like that:
getdate() expects parameter 1 to be long, string given
FILE: /xyz/classes/Zend/Date/DateObject.php
LINE: 667
I solved the problem by changing the line 667 to the following one:
return @getdate((int)$timestamp);
Issue Links
| This issue is duplicated by: | ||||
| ZF-7188 | getDate() expects parameter 1 to be long, string given in DateObject.php line 667 |
|
|
|
So you propose to limit Zend_Date to dates from 1914 to 2034 because you use a own error handler ?