Home
last modified time | relevance | path

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

/php-src/ext/reflection/tests/
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 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 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.phpt327 Method [ <internal:Reflection> public method newInstanceArgs ] {
/php-src/ext/intl/tests/
H A Dbug62915-2.phpt28 $obj = $rc->newInstanceArgs($subclass::$ARGS);
/php-src/Zend/tests/named_params/
H A Dcall_user_func.phpt68 $rc->newInstanceArgs(['A', 'c' => 'C']);
/php-src/ext/reflection/
H A Dphp_reflection.stub.php371 public function newInstanceArgs(array $args = []): ?object {} function in ReflectionClass
H A Dphp_reflection_arginfo.h827 ZEND_METHOD(ReflectionClass, newInstanceArgs);
1118 …ZEND_ME(ReflectionClass, newInstanceArgs, arginfo_class_ReflectionClass_newInstanceArgs, ZEND_ACC_…
H A Dphp_reflection.c4984 ZEND_METHOD(ReflectionClass, newInstanceArgs) in ZEND_METHOD() argument

Completed in 39 milliseconds