Home
last modified time | relevance | path

Searched refs:get_object_vars (Results 1 – 25 of 32) sorted by relevance

12

/PHP-7.3/ext/standard/tests/class_object/
H A Dget_object_vars_error_001.phpt2 Test get_object_vars() function : error conditions - wrong number of args
5 /* Prototype : proto array get_object_vars(object obj)
11 echo "*** Testing get_object_vars() : error conditions ***\n";
14 echo "\n-- Testing get_object_vars() function with Zero arguments --\n";
15 var_dump( get_object_vars() );
17 //Test get_object_vars with one more than the expected number of arguments
21 var_dump( get_object_vars($obj, $extra_arg) );
26 *** Testing get_object_vars() : error conditions ***
28 -- Testing get_object_vars() function with Zero arguments --
30 Warning: get_object_vars() expects exactly 1 parameter, 0 given in %s on line 12
[all …]
H A Dget_object_vars_variation_003.phpt2 Test get_object_vars() function : usage variations - unexpected types for argument 1
5 /* Prototype : proto array get_object_vars(object obj)
11 echo "*** Testing get_object_vars() : usage variations ***\n";
69 var_dump( get_object_vars($value) );
75 *** Testing get_object_vars() : usage variations ***
83 Warning: get_object_vars() expects parameter 1 to be object, int given in %s on line %d
88 Warning: get_object_vars() expects parameter 1 to be object, int given in %s on line %d
93 Warning: get_object_vars() expects parameter 1 to be object, int given in %s on line %d
98 Warning: get_object_vars() expects parameter 1 to be object, int given in %s on line %d
103 Warning: get_object_vars() expects parameter 1 to be object, float given in %s on line %d
[all …]
H A Dget_object_vars_basic_001.phpt2 get_object_vars(): visibility from static methods (target object passed as arg)
5 /* Prototype : proto array get_object_vars(object obj)
16 var_dump(get_object_vars($b));
28 var_dump(get_object_vars($b));
37 var_dump(get_object_vars($b));
44 var_dump(get_object_vars($b));
51 var_dump(get_object_vars($b));
H A Dget_object_vars_variation_002.phpt2 get_object_vars() - ensure references are preserved
5 /* Prototype : proto array get_object_vars(object obj)
12 var_dump(get_object_vars($obj));
18 $arr = get_object_vars($obj);
H A Dget_object_vars_variation_001.phpt2 get_object_vars() - ensure statics are not shown
5 /* Prototype : proto array get_object_vars(object obj)
16 var_dump(get_object_vars($a));
H A Dget_object_vars_variation_004.phpt2 get_object_vars() fast/slow-path discrepancies
15 var_dump(get_object_vars($GLOBALS['obj']));
19 var_dump(get_object_vars($obj));
H A Dget_object_vars_variation_005.phpt2 get_object_vars() no-declared/declared discrepancies
17 var_dump(get_object_vars($obj));
24 var_dump(get_object_vars($obj));
H A Dget_object_vars_basic_002.phpt2 get_object_vars(): visibility from non static methods (target object passed as arg)
5 /* Prototype : proto array get_object_vars(object obj)
16 var_dump(get_object_vars($b));
28 var_dump(get_object_vars($b));
/PHP-7.3/Zend/tests/
H A Dbug27798.phpt2 Bug #27798 (private / protected variables not exposed by get_object_vars() inside class)
15 var_dump(get_object_vars($this));
27 var_dump(get_object_vars($this));
31 var_dump(get_object_vars(new Base));
32 var_dump(get_object_vars(new Child));
H A Dbug71336.phpt2 Bug #71336 (Wrong is_ref on properties as exposed via get_object_vars())
12 $vars = get_object_vars($this);
20 $vars = get_object_vars($this);
H A Dbug26010.phpt2 Bug #26010 (private / protected variables get exposed by get_object_vars())
11 $obj_vars = get_object_vars($data);
H A Dbug73998.phpt2 Bug #73998 (array_key_exists fails on arrays created by get_object_vars)
11 $properties = get_object_vars($a);
H A Dbug40757.phpt2 Bug #40757 (get_object_vars() get nothing in child class)
9 return get_object_vars($obj);
H A Dbug72594.phpt21 var_dump(get_object_vars($oldFoo));
H A Dbug64555.phpt11 $a = get_object_vars($this);
/PHP-7.3/ext/date/tests/
H A Dbug75222.phpt11 var_dump(get_object_vars($diff)['f']);
12 var_dump($diff->f === get_object_vars($diff)['f']);
/PHP-7.3/ext/standard/tests/array/
H A Dbug39576.phpt21 get_object_vars ($test),
29 get_object_vars ($test),
H A Dextract_variation9.phpt13 var_dump ( extract(get_object_vars($A),EXTR_REFS));
/PHP-7.3/ext/simplexml/tests/
H A Dbug46048.phpt13 print_r(get_object_vars($obj));
/PHP-7.3/ext/standard/tests/assert/
H A Dbug73303.phpt10 assert('self::checkCacheKey(get_object_vars($this))');
/PHP-7.3/ext/json/tests/
H A Dbug71835.phpt9 return [get_object_vars($this)];
H A Dserialize.phpt32 return array_values(is_array($this->data) ? $this->data : get_object_vars($this->data));
/PHP-7.3/ext/standard/tests/serialize/
H A Dbug36424.phpt10 return serialize(get_object_vars($this));
/PHP-7.3/ext/mysqli/tests/
H A Dmysqli_class_mysqli_driver_interface.phpt56 $variables = array_keys(get_object_vars($driver));
H A Dmysqli_class_mysqli_warning.phpt72 $variables = get_object_vars($mysqli);

Completed in 27 milliseconds

12