diff options
Diffstat (limited to 'ext/date/tests/bug70266.phpt')
-rw-r--r-- | ext/date/tests/bug70266.phpt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/date/tests/bug70266.phpt b/ext/date/tests/bug70266.phpt new file mode 100644 index 0000000000..5eeebabab8 --- /dev/null +++ b/ext/date/tests/bug70266.phpt @@ -0,0 +1,8 @@ +--TEST-- +Bug #70266 (DateInterval::__construct.interval_spec is not supposed to be optional) +--FILE-- +<?php +var_dump((new ReflectionParameter(['DateInterval', '__construct'], 0))->isOptional()); +?> +--EXPECT-- +bool(false) |