mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-07 17:27:30 +00:00
The required_num_args argument of ZEND_BEGIN_ARG_INFO_EX() has to be 1.
9 lines
221 B
PHP
9 lines
221 B
PHP
--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)
|