]> granicus.if.org Git - php/commit
Fix #70266 (DateInterval::__construct.interval_spec is not supposed to be optional)
authorChristoph M. Becker <cmb@php.net>
Fri, 14 Aug 2015 12:19:12 +0000 (14:19 +0200)
committerChristoph M. Becker <cmb@php.net>
Fri, 14 Aug 2015 12:19:12 +0000 (14:19 +0200)
commite66bf11638409b9582d5b9159b97e8b108c29796
treec25a1af3547a517337d8cbf9492f0eb019303650
parentcd18ba117cd3d32b760aa7e16a78947aa91e254a
Fix #70266 (DateInterval::__construct.interval_spec is not supposed to be optional)

The required_num_args argument of ZEND_BEGIN_ARG_INFO_EX() has to be 1.
ext/date/php_date.c
ext/date/tests/bug70266.phpt [new file with mode: 0644]