diff options
author | Christoph M. Becker <cmb@php.net> | 2016-07-28 19:17:56 +0200 |
---|---|---|
committer | Christoph M. Becker <cmb@php.net> | 2016-07-28 19:22:40 +0200 |
commit | 7c412688f47005c8c6c375a2d5aae3863ceeebf8 (patch) | |
tree | 35cd397edd21e85c62f4daf9a425b411edb21fcb /ext/calendar/tests | |
parent | 3b48c5a36f7f903ecf206ff5c46a125f7edfee49 (diff) | |
parent | 7ab39e2faef499c8a1857205fa332d2e38a0a584 (diff) | |
download | php-git-7c412688f47005c8c6c375a2d5aae3863ceeebf8.tar.gz |
Merge branch 'PHP-5.6' into PHP-7.0
Diffstat (limited to 'ext/calendar/tests')
-rw-r--r-- | ext/calendar/tests/bug67976.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/calendar/tests/bug67976.phpt b/ext/calendar/tests/bug67976.phpt new file mode 100644 index 0000000000..74e0bc81b1 --- /dev/null +++ b/ext/calendar/tests/bug67976.phpt @@ -0,0 +1,12 @@ +--TEST-- +Bug #67976 (cal_days_month() fails for final month of the French calendar) +--SKIPIF-- +<?php +if (!extension_loaded('calendar')) die('skip ext/calendar required'); +?> +--FILE-- +<?php +var_dump(cal_days_in_month(CAL_FRENCH, 13, 14)); +?> +--EXPECT-- +int(5) |