File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1515}
1616
1717?>
18- --EXPECT --
19- DatePeriod::__construct(): Recurrence count must be greater than 0
20- DatePeriod::__construct(): Recurrence count must be greater than 0
18+ --EXPECTF --
19+ DatePeriod::__construct(): Recurrence count must be between 1 and %d
20+ DatePeriod::__construct(): Recurrence count must be greater 1 and %d
Original file line number Diff line number Diff line change 11--TEST--
22Bug GH-14709 overflow on reccurences parameter
3+ --SKIPIF--
4+ <?php
5+ if (PHP_INT_SIZE != 8 ) die ("skip this test is for 64bit platform only " );
6+ ?>
37--FILE--
48<?php
59$ start = new DateTime ('2018-12-31 00:00:00 ' );
1014} catch (Exception $ e ) {
1115 echo $ e ->getMessage ();
1216}
17+ ?>
1318--EXPECTF--
1419DatePeriod::__construct(): Recurrence count must be between 1 and %d
You can’t perform that action at this time.
0 commit comments