summaryrefslogtreecommitdiff
path: root/ext/date/tests/bug70266.phpt
blob: 5eeebabab8647def2faf1e85bac2a0b2bc4202cb (plain)
1
2
3
4
5
6
7
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)