]> granicus.if.org Git - php/commit
Fixed bug #77909: DatePeriod::__construct() with invalid recurrence count value
authorIgnace Nyamagana Butera <nyamsprod@gmail.com>
Mon, 25 Mar 2019 19:30:02 +0000 (20:30 +0100)
committerDerick Rethans <github@derickrethans.nl>
Wed, 17 Apr 2019 08:39:03 +0000 (09:39 +0100)
commit7b1a4e24008f34a76c343ece735953ad5124e09f
treecdd5479d78bf8e89a178be8d0a25283b7cfabb97
parent6fe75f9e45be60262bfe7e6bb92de445fe41c483
Fixed bug #77909: DatePeriod::__construct() with invalid recurrence count value

Improve error message on invalid reccurence count

Adding test when reccurence is -1
NEWS
ext/date/php_date.c
ext/date/tests/DatePeriod_wrong_recurrence_on_constructor.phpt [new file with mode: 0644]