Home
last modified time | relevance | path

Searched refs:stdClass (Results 101 – 125 of 708) sorted by path

12345678910>>...29

/php-src/Zend/tests/constexpr/
H A Dnew_not_allowed_class_constant.phpt13 const X = new stdClass;
H A Dnew_not_allowed_property.phpt18 public $prop = new stdClass;
H A Dnew_positional_after_named.phpt6 static $x = new stdClass(x: 0, 1);
/php-src/Zend/tests/
H A Ddebug_info-error-object.phpt16 $c = new C(new stdClass);
H A Ddeclare_007.phpt5 register_tick_function(function (stdClass $object, array $array) {
7 }, new \stdClass(), [1, 2, 3]);
18 tick: stdClass 3
19 tick: stdClass 3
H A Ddereference_004.phpt26 object(stdClass)#%d (0) {
H A Ddereference_010.phpt17 return new stdClass;
30 Fatal error: Uncaught Error: Cannot use object of type stdClass as array in %s:%d
H A Ddereference_012.phpt27 $foo->b()[] = new stdClass;
H A Ddie_string_cast_exception.phpt6 die(new stdClass);
10 Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in %s:%d
H A Ddynamic_call_002.phpt6 $a = new stdClass;
H A Ddynamic_call_003.phpt6 $a = new stdClass;
H A Ddynamic_call_005.phpt10 array_map($func, [['i' => new stdClass]]);
17 $func(['i' => new stdClass]);
24 call_user_func($func, ['i' => new stdClass]);
H A Ddynamic_call_007.phpt9 array_map('extract', [['i' => new stdClass]]);
H A Ddynamic_call_freeing.phpt19 (new stdClass)();
28 Object of type stdClass is not callable
H A Ddynamic_prop_deprecation.phpt20 // stdClass should not throw deprecation.
21 $obj = new stdClass;
H A Ddynamic_prop_name_leak.phpt5 $obj = new stdClass;
11 object(stdClass)#1 (1) {
H A Dempty_str_offset.phpt58 var_dump(empty($str[new stdClass()]));
H A Dentry_block_with_predecessors.phpt22 $a = new stdClass;
H A Derrmsg_026.phpt12 Fatal error: Cannot redeclare class stdClass in %s on line %d
H A Derrmsg_044.phpt2 Trying use object of type stdClass as array
11 Fatal error: Uncaught Error: Cannot use object of type stdClass as array in %s:%d
H A Dexception_009.phpt28 Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in [no activ…
H A Dexception_018.phpt7 throw new Hello(new stdClass);
11 …r: Exception::__construct(): Argument #1 ($message) must be of type string, stdClass given in %s:%d
13 #0 %sexception_018.php(%d): Exception->__construct(Object(stdClass))
H A Dexception_019.phpt6 throw new Exception(new stdClass);
10 …r: Exception::__construct(): Argument #1 ($message) must be of type string, stdClass given in %s:%d
12 #0 %sexception_019.php(%d): Exception->__construct(Object(stdClass))
H A Dexception_020.phpt7 throw new MyErrorException(new stdClass);
11 …rorException::__construct(): Argument #1 ($message) must be of type string, stdClass given in %s:%d
13 #0 %sexception_020.php(%d): ErrorException->__construct(Object(stdClass))
H A Dexception_021.phpt7 throw new Hello(new stdClass);
11 …Error: Error::__construct(): Argument #1 ($message) must be of type string, stdClass given in %s:%d
13 #0 %sexception_021.php(%d): Error->__construct(Object(stdClass))

Completed in 19 milliseconds

12345678910>>...29