Home
last modified time | relevance | path

Searched refs:newInstanceArgs (Results 1 – 12 of 12) sorted by relevance

/PHP-8.0/ext/reflection/tests/
H A DReflectionClass_newInstanceArgs_002.phpt2 ReflectionClass::newInstanceArgs() - wrong arg type
14 $a = $rc->newInstanceArgs('x');
19 Fatal error: Uncaught TypeError: ReflectionClass::newInstanceArgs(): Argument #1 ($args) must be of…
21 #0 %s(%d): ReflectionClass->newInstanceArgs('x')
H A Dbug38217.phpt2 Bug #38217 (ReflectionClass::newInstanceArgs() tries to allocate too much memory)
12 var_dump($class->newInstanceArgs());
22 var_dump($class->newInstanceArgs());
26 var_dump($class->newInstanceArgs(array('test')));
H A DReflectionClass_newInstanceArgs_001.phpt2 ReflectionClass::newInstanceArgs
36 $rcB->newInstanceArgs();
41 var_dump($rcB->newInstanceArgs(array('x', 123)));
44 $rcC->newInstanceArgs();
51 $rcD->newInstanceArgs();
57 $e1 = $rcE->newInstanceArgs();
61 $e2 = $rcE->newInstanceArgs(array('x'));
H A Dbug52854.phpt2 Bug #52854: ReflectionClass::newInstanceArgs does not work for classes without constructors
11 var_dump($c->newInstanceArgs(array()));
14 var_dump($c->newInstanceArgs(array(1)));
H A Dbug42976.phpt2 Bug #42976 (Crash when constructor for newInstance() or newInstanceArgs() fails)
21 $rc->newInstanceArgs(array($x)); // causes crash
H A Dbug77882.phpt29 $obj = $ref->newInstanceArgs([]);
H A DReflectionClass_toString_001.phpt275 Method [ <internal:Reflection> public method newInstanceArgs ] {
/PHP-8.0/ext/intl/tests/
H A Dbug62915-2.phpt27 $obj = $rc->newInstanceArgs($subclass::$ARGS);
/PHP-8.0/Zend/tests/named_params/
H A Dcall_user_func.phpt68 $rc->newInstanceArgs(['A', 'c' => 'C']);
/PHP-8.0/ext/reflection/
H A Dphp_reflection.stub.php317 public function newInstanceArgs(array $args = []) {} function in ReflectionClass
H A Dphp_reflection_arginfo.h591 ZEND_METHOD(ReflectionClass, newInstanceArgs);
831 …ZEND_ME(ReflectionClass, newInstanceArgs, arginfo_class_ReflectionClass_newInstanceArgs, ZEND_ACC_…
H A Dphp_reflection.c4775 ZEND_METHOD(ReflectionClass, newInstanceArgs) in ZEND_METHOD() argument

Completed in 30 milliseconds