Searched refs:newInstanceArgs (Results 1 – 12 of 12) sorted by relevance
2 ReflectionClass::newInstanceArgs36 $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'));
2 ReflectionClass::newInstanceArgs() - wrong arg type14 $a = $rc->newInstanceArgs('x');19 Fatal error: Uncaught TypeError: ReflectionClass::newInstanceArgs(): Argument #1 ($args) must be of…21 #0 %s(%d): ReflectionClass->newInstanceArgs('x')
2 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')));
2 Bug #52854: ReflectionClass::newInstanceArgs does not work for classes without constructors11 var_dump($c->newInstanceArgs(array()));14 var_dump($c->newInstanceArgs(array(1)));
2 Bug #42976 (Crash when constructor for newInstance() or newInstanceArgs() fails)21 $rc->newInstanceArgs(array($x)); // causes crash
29 $obj = $ref->newInstanceArgs([]);
325 Method [ <internal:Reflection> public method newInstanceArgs ] {
27 $obj = $rc->newInstanceArgs($subclass::$ARGS);
68 $rc->newInstanceArgs(['A', 'c' => 'C']);
400 public function newInstanceArgs(array $args = []): ?object {} function in ReflectionClass
721 ZEND_METHOD(ReflectionClass, newInstanceArgs);992 …ZEND_ME(ReflectionClass, newInstanceArgs, arginfo_class_ReflectionClass_newInstanceArgs, ZEND_ACC_…
5077 ZEND_METHOD(ReflectionClass, newInstanceArgs) in ZEND_METHOD() argument
Completed in 36 milliseconds