/PHP-7.4/Zend/tests/ |
H A D | assign_obj_ref_byval_function.phpt | 10 $obj = new stdClass; 11 $obj->prop =& notRef(); 12 var_dump($obj);
|
H A D | bug29674.phpt | 23 $obj = new BaseClass; 24 $obj->printVars(); 27 $obj = new ChildClass; 28 $obj->printVars();
|
H A D | bug67938.phpt | 20 $obj = new Test; 21 $obj->foo(); 22 $obj->bar([]);
|
H A D | class_constant_to_reference_cached.phpt | 17 $obj = new Test; 18 $obj->readConst(); 19 unset($obj);
|
/PHP-7.4/ext/xmlrpc/tests/ |
H A D | bug68027.phpt | 14 $obj = xmlrpc_decode("<?xml version=\"1.0\"?><methodResponse><params><param><value><dateTime.iso860… 15 print_r($obj); 18 $obj = xmlrpc_decode("<?xml version=\"1.0\"?><methodResponse><params><param><value><dateTime.iso860… 19 print_r($obj);
|
/PHP-7.4/ext/intl/collator/ |
H A D | collator_convert.c | 215 zval* collator_convert_object_to_string( zval* obj, zval *rv ) in collator_convert_object_to_string() argument 223 if( Z_TYPE_P( obj ) != IS_OBJECT ) in collator_convert_object_to_string() 225 COLLATOR_CONVERT_RETURN_FAILED( obj ); in collator_convert_object_to_string() 229 if( Z_OBJ_HT_P(obj)->get ) in collator_convert_object_to_string() 231 zstr = Z_OBJ_HT_P(obj)->get( obj, rv ); in collator_convert_object_to_string() 239 COLLATOR_CONVERT_RETURN_FAILED( obj ); in collator_convert_object_to_string() 251 else if( Z_OBJ_HT_P(obj)->cast_object ) in collator_convert_object_to_string() 255 if( Z_OBJ_HT_P(obj)->cast_object( obj, zstr, IS_STRING ) == FAILURE ) in collator_convert_object_to_string() 259 COLLATOR_CONVERT_RETURN_FAILED( obj ); in collator_convert_object_to_string() 266 COLLATOR_CONVERT_RETURN_FAILED( obj ); in collator_convert_object_to_string()
|
/PHP-7.4/ext/standard/ |
H A D | user_filters.c | 129 zval *obj = &thisfilter->abstract; in userfilter_dtor() local 133 if (obj == NULL) { in userfilter_dtor() 141 obj, in userfilter_dtor() 150 zval_ptr_dtor(obj); in userfilter_dtor() 163 zval *obj = &thisfilter->abstract; in userfilter_filter() local 205 obj, in userfilter_filter() 247 Z_OBJ_HANDLER_P(obj, unset_property)(obj, &zpropname, NULL); in userfilter_filter() 272 zval obj, zfilter; in user_filter_factory_create() local 338 zval_ptr_dtor(&obj); in user_filter_factory_create() 356 &obj, in user_filter_factory_create() [all …]
|
/PHP-7.4/ext/spl/tests/ |
H A D | array_008.phpt | 7 $obj = new ArrayObject($arr); 9 foreach($obj as $ak=>&$av) { 10 foreach($obj as $bk=>&$bv) {
|
H A D | bug62672.phpt | 27 $obj = new ObjB(new ArrayObject()); 29 var_dump($obj == unserialize(serialize($obj)));
|
H A D | iterator_068.phpt | 24 $obj = new TestIteratorIterator(new Test); 25 $obj->foo(); 26 unset($obj);
|
/PHP-7.4/ext/spl/ |
H A D | php_spl.c | 88 zval *obj; in PHP_FUNCTION() local 96 if (Z_TYPE_P(obj) != IS_OBJECT && Z_TYPE_P(obj) != IS_STRING) { in PHP_FUNCTION() 106 ce = Z_OBJCE_P(obj); in PHP_FUNCTION() 122 zval *obj; in PHP_FUNCTION() local 129 if (Z_TYPE_P(obj) != IS_OBJECT && Z_TYPE_P(obj) != IS_STRING) { in PHP_FUNCTION() 139 ce = Z_OBJCE_P(obj); in PHP_FUNCTION() 151 zval *obj; in PHP_FUNCTION() local 158 if (Z_TYPE_P(obj) != IS_OBJECT && Z_TYPE_P(obj) != IS_STRING) { in PHP_FUNCTION() 371 zval obj; member 821 zval *obj; in PHP_FUNCTION() local [all …]
|
/PHP-7.4/tests/classes/ |
H A D | factory_and_singleton_007.phpt | 11 $obj = new test; 12 $clone = clone $obj; 13 $obj = NULL;
|
H A D | factory_and_singleton_008.phpt | 11 $obj = new test; 12 $clone = clone $obj; 13 $obj = NULL;
|
H A D | private_007b.phpt | 20 $obj = new Foo(); 21 $obj->pub(); 22 $obj->priv();
|
H A D | clone_003.phpt | 26 $obj = new test; 27 $obj->p4 = 'A'; 28 $copy = clone $obj; 30 print_r($obj);
|
H A D | iterators_004.phpt | 10 $obj = new c1(); 12 foreach($obj as $w) { 46 $obj = new c2(); 48 foreach($obj as $v => $w) {
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | ref_to_failed_serialize.phpt | 15 $obj = new NotSerializable(); 16 $data = [$obj, $obj];
|
/PHP-7.4/ext/com_dotnet/ |
H A D | com_dotnet.c | 187 php_com_dotnet_object *obj; in PHP_FUNCTION() local 240 obj = CDNO_FETCH(object); in PHP_FUNCTION() 255 obj->code_page = (int)cp_it->id; in PHP_FUNCTION() 257 oletype = php_com_string_to_olestring(datatype_name, datatype_name_len, obj->code_page); in PHP_FUNCTION() 258 oleassembly = php_com_string_to_olestring(assembly_name, assembly_name_len, obj->code_page); in PHP_FUNCTION() 282 hr = IUnknown_QueryInterface(V_UNKNOWN(&unwrapped), &IID_IDispatch, &V_DISPATCH(&obj->v)); in PHP_FUNCTION() 285 V_VT(&obj->v) = VT_DISPATCH; in PHP_FUNCTION() 288 IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &obj->typeinfo); in PHP_FUNCTION() 293 V_DISPATCH(&obj->v) = V_DISPATCH(&unwrapped); in PHP_FUNCTION() 294 V_VT(&obj->v) = VT_DISPATCH; in PHP_FUNCTION() [all …]
|
H A D | com_iterator.c | 137 php_com_dotnet_object *obj; in php_com_iter_get() local 150 obj = CDNO_FETCH(object); in php_com_iter_get() 152 if (V_VT(&obj->v) != VT_DISPATCH && !V_ISARRAY(&obj->v)) { in php_com_iter_get() 153 php_error_docref(NULL, E_WARNING, "variant is not an object or array VT=%d", V_VT(&obj->v)); in php_com_iter_get() 164 I->code_page = obj->code_page; in php_com_iter_get() 169 if (V_ISARRAY(&obj->v)) { in php_com_iter_get() 173 dims = SafeArrayGetDim(V_ARRAY(&obj->v)); in php_com_iter_get() 183 VariantCopy(&I->safe_array, &obj->v); in php_com_iter_get() 201 if (FAILED(IDispatch_Invoke(V_DISPATCH(&obj->v), DISPID_NEWENUM, in php_com_iter_get()
|
/PHP-7.4/ext/json/tests/ |
H A D | json_encode_basic.phpt | 20 $obj = new sample(); 21 $obj->MyInt = 99; 22 $obj->MyFloat = 123.45; 23 $obj->MyBool = true; 24 $obj->MyNull = null; 25 $obj->MyString = "Hello World"; 76 $obj
|
/PHP-7.4/Zend/tests/traits/ |
H A D | bug64070.phpt | 30 $obj = new first_class(); 31 $obj->first_function(); 32 $obj->second_function();
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | bug26817.phpt | 20 $obj = new test(); 21 $obj->foo(); 22 var_dump(http_build_query($obj));
|
/PHP-7.4/tests/lang/ |
H A D | foreachLoopObjects.004.phpt | 15 $obj = new C; 17 foreach ($obj as $v) { 18 if ($v==$obj->b) { 19 unset($obj->b); 27 var_dump($obj);
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | debug_zval_dump_o.phpt | 78 /* creating new object $obj */ 79 $obj = new contains_object_class(); 80 $obj1 = & $obj; //object $obj1 references object $obj 81 $obj2 = & $obj; 91 $obj, 92 $obj->class_object1, 93 $obj->class_object2, 94 $obj->no_member_class_object, 105 $obj = $int_var; //$obj is lost, $obj1,$obj2,$obj3,$obj4 = 500 352 ["obj"]=> [all …]
|
H A D | var_export_error2.phpt | 11 @$obj->p =& $obj; 12 var_export($obj, true);
|