Home
last modified time | relevance | path

Searched refs:obj (Results 176 – 200 of 613) sorted by relevance

12345678910>>...25

/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_113.phpt15 $obj = new A;
16 foreach ($obj as $k => &$v) {
20 var_dump($obj);
H A Dtyped_properties_115.phpt15 $obj = new A;
18 foreach ($obj as $k => &$v) {}
23 var_dump($obj);
/php-src/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-src/Zend/tests/
H A Dassign_obj_ref_byval_function.phpt10 $obj = new stdClass;
11 $obj->prop =& notRef();
12 var_dump($obj);
H A Dbug29674.phpt23 $obj = new BaseClass;
24 $obj->printVars();
27 $obj = new ChildClass;
28 $obj->printVars();
H A Dbug38220.phpt6 public $obj;
9 echo "func1(): {$this->obj->i}\n";
13 echo "close(): {$this->obj->i}\n";
28 $drv->obj = $this;
36 // $drv->obj = null;
H A Dclass_constant_to_reference_cached.phpt17 $obj = new Test;
18 $obj->readConst();
19 unset($obj);
/php-src/Zend/tests/weakrefs/
H A Dgh10043-010.phpt16 $obj = new stdClass();
17 possibleRoot($obj);
22 $obj = null;
H A Dgh10043-009.phpt15 $obj = new stdClass();
16 $map[$obj] = new Value('a');
20 possibleRoot($obj);
/php-src/ext/mysqli/tests/
H A Dgh8068.phpt15 $obj = $res->fetch_object();
17 $obj,
18 $obj->{42}
/php-src/ext/standard/tests/general_functions/
H A Dbug32647.phpt17 unset($obj);
20 register_shutdown_function(array($obj,""));
26 register_shutdown_function(array($obj,"some string"));
63 $obj = new bar;
66 register_shutdown_function(array($obj,'foobar'));
71 register_shutdown_function(array($obj,'barfoo'));
75 Warning: Undefined variable $obj in %s on line %d
78 Warning: Undefined variable $obj in %s on line %d
/php-src/ext/com_dotnet/
H A Dcom_iterator.c136 php_com_dotnet_object *obj; in php_com_iter_get() local
149 obj = CDNO_FETCH(object); in php_com_iter_get()
151 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()
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()
/php-src/tests/classes/
H A Dfactory_and_singleton_007.phpt11 $obj = new test;
12 $clone = clone $obj;
13 $obj = NULL;
H A Dfactory_and_singleton_008.phpt11 $obj = new test;
12 $clone = clone $obj;
13 $obj = NULL;
H A Dclone_003.phpt26 $obj = new test;
27 $obj->p4 = 'A';
28 $copy = clone $obj;
30 print_r($obj);
H A Diterators_004.phpt10 $obj = new c1();
12 foreach($obj as $w) {
46 $obj = new c2();
48 foreach($obj as $v => $w) {
H A Dprivate_007b.phpt20 $obj = new Foo();
21 $obj->pub();
22 $obj->priv();
/php-src/ext/xml/tests/
H A Dxml002.phpt53 $obj = new myclass;
55 xml_set_element_handler($xml_parser, array($obj,"startElement"),
56 array($obj, "endElement"));
57 xml_set_character_data_handler($xml_parser, array($obj, "characterData"));
58 xml_set_processing_instruction_handler($xml_parser, array($obj, "PIHandler"));
59 xml_set_default_handler($xml_parser, array($obj, "defaultHandler"));
61 array($obj, "externalEntityRefHandler"));
/php-src/ext/reflection/tests/
H A DReflectionClass_getModifierNames_basic.phpt33 $obj = new ReflectionClass($class);
34 var_dump($obj->getName(), Reflection::getModifierNames($obj->getModifiers()));
38 $obj = new ReflectionClass($class);
39 foreach($obj->getMethods() as $method) {
40 …var_dump($obj->getName() . "::" . $method->getName(), Reflection::getModifierNames($method->getMod…
/php-src/Zend/tests/traits/
H A Dbug64070.phpt30 $obj = new first_class();
31 $obj->first_function();
32 $obj->second_function();
/php-src/ext/spl/tests/
H A Dbug62672.phpt27 $obj = new ObjB(new ArrayObject());
29 var_dump($obj == unserialize(serialize($obj)));
/php-src/ext/standard/tests/http/http_build_query/
H A Dbug26817.phpt20 $obj = new test();
21 $obj->foo();
22 var_dump(http_build_query($obj));
/php-src/ext/opcache/tests/jit/
H A Dassign_dim_013.phpt11 $arr[] = $obj = new stdClass;
12 $obj->y = set_error_handler(function(){});
13 foreach($obj as $y) {
/php-src/ext/zip/
H A Dphp_zip.c332 obj->last_id = zip_file_add(obj->za, entry_name, zs, flags); in php_zip_add_file()
511 if (obj->za) { in php_zip_status()
538 if (obj->za) { in php_zip_status_sys()
557 if (obj->za) { in php_zip_get_num_files()
567 if (obj && obj->filename) { in php_zipobj_get_filename()
577 if (obj->za) { in php_zipobj_get_zip_comment()
889 ze_zip_object *obj; in php_zip_get_property_ptr_ptr() local
910 ze_zip_object *obj; in php_zip_write_property() local
929 ze_zip_object *obj; in php_zip_read_property() local
954 ze_zip_object *obj; in php_zip_has_property() local
[all …]

Completed in 53 milliseconds

12345678910>>...25