xref: /PHP-8.3/ext/date/tests/bug70266.phpt (revision e66bf116)
1--TEST--
2Bug #70266 (DateInterval::__construct.interval_spec is not supposed to be optional)
3--FILE--
4<?php
5var_dump((new ReflectionParameter(['DateInterval', '__construct'], 0))->isOptional());
6?>
7--EXPECT--
8bool(false)
9