Home
last modified time | relevance | path

Searched refs:obj (Results 101 – 125 of 487) sorted by relevance

12345678910>>...20

/PHP-7.1/ext/spl/tests/
H A DSplFileObject_fflush_basic_001.phpt8 $obj = New SplFileObject(dirname(__FILE__).'/SplFileObject_testinput.csv');
9 var_dump($obj->fflush());
32 $obj = New SplFileObject("SPLtest://ftruncate_test");
33 var_dump($obj->fflush());
H A DArrayObject_modify_shared_object_properties.phpt6 $obj = (object)['a' => 1, 'b' => 2];
7 $ao = new ArrayObject($obj);
8 $arr = (array) $obj;
H A DSplFileObject_fseek_error_001.phpt5 $obj = New SplFileObject(__FILE__);
6 $obj->fseek(1,2,3);
7 $obj->fseek();
H A Darray_004.phpt7 $obj = new ArrayObject($arr);
9 foreach($obj as $ak=>$av) {
10 foreach($obj as $bk=>$bv) {
H A DSplFileObject_fwrite_error_001.phpt5 $obj = New SplFileObject(dirname(__FILE__).'/SplFileObject_testinput.csv');
6 $obj->fwrite();
7 $obj->fwrite('6,6,6',25,null);
H A Darray_006.phpt11 $obj = new ArrayIterator($arr);
13 foreach($obj as $ak=>$av) {
14 foreach($obj as $bk=>$bv) {
H A Darray_008.phpt7 $obj = new ArrayObject($arr);
9 foreach($obj as $ak=>&$av) {
10 foreach($obj as $bk=>&$bv) {
/PHP-7.1/ext/mysqli/tests/
H A Dmysqli_stmt_bind_result_references.phpt104 unset($obj);
106 $obj->id = null;
107 $obj->label = null;
115 var_dump($obj->id);
122 $obj->id = null;
123 $obj->label = null;
124 $id = &$obj->id;
133 var_dump($obj->id);
139 $obj->id = null;
140 $obj->label = null;
[all …]
/PHP-7.1/tests/classes/
H A Darray_access_003.phpt40 $obj = new Object;
42 var_dump($obj[1]);
43 var_dump($obj[2]);
44 $obj[2]++;
45 var_dump($obj[2]);
H A Darray_access_004.phpt38 $obj = new Object;
40 var_dump($obj[1]);
41 var_dump($obj[2]);
42 $obj[2]++;
43 var_dump($obj[2]);
/PHP-7.1/tests/lang/operators/
H A Dcoalesce.phpt9 $obj = new StdClass;
10 $obj->boo = 7;
16 "qux" => $obj,
32 var_dump($obj->boo ?? 3);
33 var_dump($obj->bing ?? 3);
/PHP-7.1/ext/intl/collator/
H A Dcollator_convert.c215 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.1/ext/reflection/tests/
H A DReflectionExtension_getVersion_basic.phpt8 $obj = new ReflectionExtension('reflection');
9 $var = $obj->getVersion() ? $obj->getVersion() : null;
/PHP-7.1/Zend/tests/
H A Dbug73989.phpt11 $obj = $this;
12 $this->thing = function() use($obj) {};
23 $obj = new Cycle();
H A Dobject_array_cast.phpt10 $obj = (object) [1, 2, 3];
11 var_dump((array) (object) $obj);
12 var_dump($obj);
H A Dbug29674.phpt23 $obj = new BaseClass;
24 $obj->printVars();
27 $obj = new ChildClass;
28 $obj->printVars();
/PHP-7.1/ext/xmlrpc/tests/
H A Dbug68027.phpt14 $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.1/ext/standard/
H A Duser_filters.c131 zval *obj = &thisfilter->abstract; in userfilter_dtor() local
135 if (obj == NULL) { in userfilter_dtor()
143 obj, in userfilter_dtor()
153 zval_ptr_dtor(obj); in userfilter_dtor()
166 zval *obj = &thisfilter->abstract; in userfilter_filter() local
204 obj, in userfilter_filter()
246 Z_OBJ_HANDLER_P(obj, unset_property)(obj, &zpropname, NULL); in userfilter_filter()
268 zval obj, zfilter; in user_filter_factory_create() local
332 object_init_ex(&obj, fdat->ce); in user_filter_factory_create()
348 &obj, in user_filter_factory_create()
[all …]
/PHP-7.1/ext/json/tests/
H A Djson_encode_basic.phpt20 $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.1/ext/com_dotnet/
H A Dcom_iterator.c139 php_com_dotnet_object *obj; in php_com_iter_get() local
151 obj = CDNO_FETCH(object); in php_com_iter_get()
153 if (V_VT(&obj->v) != VT_DISPATCH && !V_ISARRAY(&obj->v)) { in php_com_iter_get()
154 php_error_docref(NULL, E_WARNING, "variant is not an object or array VT=%d", V_VT(&obj->v)); in php_com_iter_get()
165 I->code_page = obj->code_page; in php_com_iter_get()
170 if (V_ISARRAY(&obj->v)) { in php_com_iter_get()
174 dims = SafeArrayGetDim(V_ARRAY(&obj->v)); in php_com_iter_get()
184 VariantCopy(&I->safe_array, &obj->v); in php_com_iter_get()
202 if (FAILED(IDispatch_Invoke(V_DISPATCH(&obj->v), DISPID_NEWENUM, in php_com_iter_get()
H A Dcom_dotnet.c189 php_com_dotnet_object *obj; in PHP_FUNCTION() local
245 obj = CDNO_FETCH(object); in PHP_FUNCTION()
260 obj->code_page = (int)cp_it->id; in PHP_FUNCTION()
262 oletype = php_com_string_to_olestring(datatype_name, datatype_name_len, obj->code_page); in PHP_FUNCTION()
263 oleassembly = php_com_string_to_olestring(assembly_name, assembly_name_len, obj->code_page); in PHP_FUNCTION()
287 hr = IUnknown_QueryInterface(V_UNKNOWN(&unwrapped), &IID_IDispatch, &V_DISPATCH(&obj->v)); in PHP_FUNCTION()
290 V_VT(&obj->v) = VT_DISPATCH; in PHP_FUNCTION()
293 IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &obj->typeinfo); in PHP_FUNCTION()
298 V_DISPATCH(&obj->v) = V_DISPATCH(&unwrapped); in PHP_FUNCTION()
299 V_VT(&obj->v) = VT_DISPATCH; in PHP_FUNCTION()
[all …]
/PHP-7.1/tests/lang/
H A Dbug21669.phpt2 Bug #21669 ("$obj = new $this->var;" doesn't work)
14 $obj = new $this->name; /* Parse error */
15 return $obj;
H A DforeachLoopObjects.004.phpt15 $obj = new C;
17 foreach ($obj as $v) {
18 if ($v==$obj->b) {
19 unset($obj->b);
27 var_dump($obj);
/PHP-7.1/ext/dom/
H A Ddocument.c457 if (obj->document) { in dom_document_strict_error_checking_read()
469 if (obj->document) { in dom_document_strict_error_checking_write()
484 if (obj->document) { in dom_document_format_output_read()
495 if (obj->document) { in dom_document_format_output_write()
509 if (obj->document) { in dom_document_validate_on_parse_read()
520 if (obj->document) { in dom_document_validate_on_parse_write()
534 if (obj->document) { in dom_document_resolve_externals_read()
545 if (obj->document) { in dom_document_resolve_externals_write()
559 if (obj->document) { in dom_document_preserve_whitespace_read()
570 if (obj->document) { in dom_document_preserve_whitespace_write()
[all …]
/PHP-7.1/ext/spl/
H A Dphp_spl.c88 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()
168 ce = Z_OBJCE_P(obj); in PHP_FUNCTION()
369 zval obj; member
[all …]

Completed in 156 milliseconds

12345678910>>...20