]> granicus.if.org Git - php/commit
Fix #70245: strtotime does not emit warning when 2nd parameter is object or string
authorChristoph M. Becker <cmb@php.net>
Wed, 12 Aug 2015 17:01:04 +0000 (19:01 +0200)
committerChristoph M. Becker <cmb@php.net>
Wed, 12 Aug 2015 17:01:04 +0000 (19:01 +0200)
commit3b874086e2e7e85c416d3d698bf1499cfe4eee82
tree81232ef166d2429fbf00ec7aee11f9fe976c7e10
parent2366a070c819f96d47f28021e76e0f01a7e1f7f4
Fix #70245: strtotime does not emit warning when 2nd parameter is object or string

Caused by a refactoring strtotime() called
zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ...) instead of
zend_parse_parameters().
ext/date/php_date.c
ext/date/tests/bug70245.phpt [new file with mode: 0644]