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 15
15
}
16
16
17
17
?>
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 1
1
--TEST--
2
2
Bug 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
+ ?>
3
7
--FILE--
4
8
<?php
5
9
$ start = new DateTime ('2018-12-31 00:00:00 ' );
10
14
} catch (Exception $ e ) {
11
15
echo $ e ->getMessage ();
12
16
}
17
+ ?>
13
18
--EXPECTF--
14
19
DatePeriod::__construct(): Recurrence count must be between 1 and %d
You can’t perform that action at this time.
0 commit comments