/PHP-5.5/ext/spl/tests/ |
H A D | array_024.phpt | 5 $obj = new ArrayObject(array(1,2)); 6 var_dump(count($obj)); 12 $obj = new ArrayObject2(array(1,2)); 13 var_dump(count($obj));
|
H A D | arrayObject_exchangeArray_basic2.phpt | 12 $obj = new stdClass; 13 $obj->key = 'normal object prop'; 14 $ao->exchangeArray($obj); 19 $obj = new ArrayObject(array('key'=>'ArrayObject element')); 20 $ao->exchangeArray($obj); 25 $obj = new ArrayIterator(array('key'=>'ArrayIterator element')); 26 $ao->exchangeArray($obj); 31 $obj = new ArrayObject(new ArrayObject(array('key'=>'nested ArrayObject element'))); 32 $ao->exchangeArray($obj);
|
H A D | bug65545.phpt | 5 $obj = new SplFileObject(__FILE__, 'r'); 6 $data = $obj->fread(5); 9 $data = $obj->fread(); 12 $data = $obj->fread(0); 16 $data = $obj->fread(filesize(__FILE__) + 32);
|
H A D | SplFileObject_seek_error_001.phpt | 5 $obj = New SplFileObject(__FILE__); 6 $obj->seek(1,2); 7 $obj->seek(); 9 $obj->seek(-1);
|
H A D | SplFileObject_fflush_basic_001.phpt | 8 $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());
|
/PHP-5.5/tests/classes/ |
H A D | clone_001.phpt | 13 $obj = new test; 14 $obj->p2 = 'A'; 15 $obj->p3 = 'B'; 16 $copy = clone $obj; 19 var_dump($obj);
|
H A D | clone_002.phpt | 15 $obj = new test; 16 $obj->p2 = 'A'; 17 $obj->p3 = 'B'; 18 $copy = clone $obj; 21 var_dump($obj);
|
H A D | assign_op_property_001.phpt | 22 $obj = new Test; 23 var_dump($obj->a); 24 $obj->a += 2; 25 var_dump($obj->a);
|
H A D | incdec_property_001.phpt | 22 $obj = new Test; 23 var_dump($obj->a); 24 $obj->a++; 25 var_dump($obj->a);
|
H A D | incdec_property_003.phpt | 22 $obj = new Test; 23 var_dump($obj->a); 24 ++$obj->a; 25 var_dump($obj->a);
|
H A D | incdec_property_002.phpt | 22 $obj = new Test; 23 var_dump($obj->a); 24 $t1 = $obj->a++; 25 var_dump($obj->a);
|
H A D | incdec_property_004.phpt | 22 $obj = new Test; 23 var_dump($obj->a); 24 $t1 = ++$obj->a; 25 var_dump($obj->a);
|
H A D | tostring_004.phpt | 13 $obj = new stdClass; 15 printf($obj); 19 printf($obj . "\n"); 28 $obj = new badToString; 30 printf($obj); 34 printf($obj . "\n");
|
/PHP-5.5/Zend/tests/ |
H A D | bug50146.phpt | 6 $obj = function(){}; 8 var_dump(property_exists($obj,'foo')); 10 $ref = new ReflectionObject($obj); 13 var_dump(isset($obj->a));
|
/PHP-5.5/ext/dom/ |
H A D | attr.c | 105 int dom_attr_name_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_attr_name_read() argument 109 attrp = (xmlAttrPtr) dom_object_get_node(obj); in dom_attr_name_read() 129 int dom_attr_specified_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_attr_specified_read() argument 144 int dom_attr_value_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_attr_value_read() argument 149 attrp = (xmlAttrPtr) dom_object_get_node(obj); in dom_attr_value_read() 170 int dom_attr_value_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_attr_value_write() argument 175 attrp = (xmlAttrPtr) dom_object_get_node(obj); in dom_attr_value_write() 211 int dom_attr_owner_element_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_attr_owner_element_read() argument 216 nodep = dom_object_get_node(obj); in dom_attr_owner_element_read() 231 if (NULL == (*retval = php_dom_create_object(nodeparent, &ret, *retval, obj TSRMLS_CC))) { in dom_attr_owner_element_read() [all …]
|
H A D | xpath.c | 83 xmlXPathObjectPtr obj; in dom_xpath_ext_function_php() local 110 obj = valuePop(ctxt); in dom_xpath_ext_function_php() 111 xmlXPathFreeObject(obj); in dom_xpath_ext_function_php() 123 obj = valuePop(ctxt); in dom_xpath_ext_function_php() 125 switch (obj->type) { in dom_xpath_ext_function_php() 143 if (obj->nodesetval && obj->nodesetval->nodeNr > 0) { in dom_xpath_ext_function_php() 176 xmlXPathFreeObject(obj); in dom_xpath_ext_function_php() 183 obj = valuePop(ctxt); in dom_xpath_ext_function_php() 186 xmlXPathFreeObject(obj); in dom_xpath_ext_function_php() 198 xmlXPathFreeObject(obj); in dom_xpath_ext_function_php() [all …]
|
H A D | notation.c | 48 int dom_notation_public_id_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_notation_public_id_read() argument 52 nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_public_id_read() 76 int dom_notation_system_id_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_notation_system_id_read() argument 80 nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_system_id_read()
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | http_build_query_variation1.phpt | 20 $obj = new stdClass; 21 $obj->name = 'homepage'; 22 $obj->page = 1; 23 $obj->sort = 'desc,name'; 25 echo http_build_query($obj) . PHP_EOL;
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | bug65806.phpt | 18 public function __construct($obj) 20 $this->_obj = $obj; 65 function check(myObjC $obj) { 67 if (!is_object($obj->attrC)) { 68 return 'failed (myObjC::attrC => ' . var_export($obj->attrC, true) . ')'; 70 if (!is_object($obj->attrD)) { 71 return 'failed (myObjC::attrD => ' . var_export($obj->attrD, true) . ')';
|
/PHP-5.5/ext/com_dotnet/ |
H A D | com_saproxy.c | 42 php_com_dotnet_object *obj; member 103 if (V_VT(&proxy->obj->v) == VT_DISPATCH) { in saproxy_read_dimension() 134 } else if (!V_ISARRAY(&proxy->obj->v)) { in saproxy_read_dimension() 144 sa = V_ARRAY(&proxy->obj->v); in saproxy_read_dimension() 183 vt = V_VT(&proxy->obj->v) & ~VT_ARRAY; in saproxy_read_dimension() 240 } else if (V_ISARRAY(&proxy->obj->v)) { in saproxy_write_dimension() 257 vt = V_VT(&proxy->obj->v) & ~VT_ARRAY; in saproxy_write_dimension() 368 if (!V_ISARRAY(&proxy->obj->v)) { in saproxy_count_elements() 444 proxy->obj = rel->obj; in php_com_saproxy_create() 448 proxy->obj = CDNO_FETCH(com_object); in php_com_saproxy_create() [all …]
|
/PHP-5.5/ext/standard/tests/general_functions/ |
H A D | bug32647.phpt | 20 unset($obj); 21 register_shutdown_function(array($obj,"")); // Invalid 22 register_shutdown_function(array($obj,"some string")); // Invalid 30 $obj = new bar; 31 register_shutdown_function(array($obj,'foobar')); // Invalid 32 register_shutdown_function(array($obj,'barfoo')); // Valid 36 Notice: Undefined variable: obj in %s on line %d 40 Notice: Undefined variable: obj in %s on line %d
|
/PHP-5.5/ext/json/tests/ |
H A D | serialize.phpt | 49 'obj' => new StdClass, 64 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}} 66 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}} 68 {"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}} 70 {"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}} 76 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}} 78 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}}
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_result_references.phpt | 104 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-5.5/ext/standard/ |
H A D | user_filters.c | 144 if (obj == NULL) { in userfilter_dtor() 152 &obj, in userfilter_dtor() 162 zval_ptr_dtor(&obj); in userfilter_dtor() 222 &obj, in userfilter_filter() 267 Z_OBJ_HANDLER_P(obj, unset_property)(obj, &zpropname, 0 TSRMLS_CC); in userfilter_filter() 288 zval *obj, *zfilter; in user_filter_factory_create() local 355 ALLOC_ZVAL(obj); in user_filter_factory_create() 358 Z_SET_ISREF_P(obj); in user_filter_factory_create() 374 &obj, in user_filter_factory_create() 390 zval_ptr_dtor(&obj); in user_filter_factory_create() [all …]
|
/PHP-5.5/ext/spl/ |
H A D | php_spl.c | 94 zval *obj; in PHP_FUNCTION() local 102 if (Z_TYPE_P(obj) != IS_OBJECT && Z_TYPE_P(obj) != IS_STRING) { in PHP_FUNCTION() 112 ce = Z_OBJCE_P(obj); in PHP_FUNCTION() 128 zval *obj; in PHP_FUNCTION() local 135 if (Z_TYPE_P(obj) != IS_OBJECT && Z_TYPE_P(obj) != IS_STRING) { in PHP_FUNCTION() 157 zval *obj; in PHP_FUNCTION() local 164 if (Z_TYPE_P(obj) != IS_OBJECT && Z_TYPE_P(obj) != IS_STRING) { in PHP_FUNCTION() 396 zval *obj; member 403 if (alfi->obj) { in autoload_func_info_dtor() 577 alfi.obj = NULL; in PHP_FUNCTION() [all …]
|