mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
e66bf11638
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)
|