Home
last modified time | relevance | path

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

/PHP-7.0/ext/reflection/tests/
H A DReflectionClass_newInstanceArgs_001.phpt2 ReflectionClass::newInstanceArgs
41 $a1 = $rcA->newInstanceArgs();
42 $a2 = $rcA->newInstanceArgs(array('x'));
45 $b1 = $rcB->newInstanceArgs();
46 $b2 = $rcB->newInstanceArgs(array('x', 123));
50 $rcC->newInstanceArgs();
57 $rcD->newInstanceArgs();
63 $e1 = $rcE->newInstanceArgs();
67 $e2 = $rcE->newInstanceArgs(array('x'));
H A DReflectionClass_newInstanceArgs_002.phpt2 ReflectionClass::newInstanceArgs() - wrong arg type
14 $a = $rc->newInstanceArgs('x');
20 Fatal error: Uncaught TypeError: Argument 1 passed to ReflectionClass::newInstanceArgs() must be of…
22 #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());
21 var_dump($class->newInstanceArgs());
22 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
36 Warning: ReflectionClass::newInstanceArgs(): Invocation of C's constructor failed in %sbug42976.php…
H A DReflectionClass_toString_001.phpt265 Method [ <internal:Reflection> public method newInstanceArgs ] {
/PHP-7.0/ext/intl/tests/
H A Dbug62915-2.phpt25 $obj = $rc->newInstanceArgs($subclass::$ARGS);
/PHP-7.0/ext/reflection/
H A Dphp_reflection.c4706 ZEND_METHOD(reflection_class, newInstanceArgs) in ZEND_METHOD() argument
6354 ZEND_ME(reflection_class, newInstanceArgs, arginfo_reflection_class_newInstanceArgs, 0)

Completed in 26 milliseconds