/PHP-7.0/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-7.0/tests/classes/ |
H A D | array_access_003.phpt | 40 $obj = new Object; 42 var_dump($obj[1]); 43 var_dump($obj[2]); 44 $obj[2]++; 45 var_dump($obj[2]);
|
H A D | array_access_004.phpt | 38 $obj = new Object; 40 var_dump($obj[1]); 41 var_dump($obj[2]); 42 $obj[2]++; 43 var_dump($obj[2]);
|
/PHP-7.0/tests/lang/operators/ |
H A D | coalesce.phpt | 9 $obj = new StdClass; 10 $obj->boo = 7; 16 "qux" => $obj, 32 var_dump($obj->boo ?? 3); 33 var_dump($obj->bing ?? 3);
|
/PHP-7.0/ext/spl/tests/ |
H A D | ArrayObject_modify_shared_object_properties.phpt | 6 $obj = (object)['a' => 1, 'b' => 2]; 7 $ao = new ArrayObject($obj); 8 $arr = (array) $obj;
|
H A D | SplFileObject_fseek_error_001.phpt | 5 $obj = New SplFileObject(__FILE__); 6 $obj->fseek(1,2,3); 7 $obj->fseek();
|
H A D | array_004.phpt | 7 $obj = new ArrayObject($arr); 9 foreach($obj as $ak=>$av) { 10 foreach($obj as $bk=>$bv) {
|
H A D | SplFileObject_fwrite_error_001.phpt | 5 $obj = New SplFileObject(dirname(__FILE__).'/SplFileObject_testinput.csv'); 6 $obj->fwrite(); 7 $obj->fwrite('6,6,6',25,null);
|
H A D | array_006.phpt | 11 $obj = new ArrayIterator($arr); 13 foreach($obj as $ak=>$av) { 14 foreach($obj as $bk=>$bv) {
|
H A D | array_008.phpt | 7 $obj = new ArrayObject($arr); 9 foreach($obj as $ak=>&$av) { 10 foreach($obj as $bk=>&$bv) {
|
/PHP-7.0/ext/intl/collator/ |
H A D | collator_convert.c | 221 zval* collator_convert_object_to_string( zval* obj, zval *rv ) in collator_convert_object_to_string() argument 229 if( Z_TYPE_P( obj ) != IS_OBJECT ) in collator_convert_object_to_string() 231 COLLATOR_CONVERT_RETURN_FAILED( obj ); in collator_convert_object_to_string() 235 if( Z_OBJ_HT_P(obj)->get ) in collator_convert_object_to_string() 237 zstr = Z_OBJ_HT_P(obj)->get( obj, rv ); in collator_convert_object_to_string() 245 COLLATOR_CONVERT_RETURN_FAILED( obj ); in collator_convert_object_to_string() 257 else if( Z_OBJ_HT_P(obj)->cast_object ) in collator_convert_object_to_string() 261 if( Z_OBJ_HT_P(obj)->cast_object( obj, zstr, IS_STRING CAST_OBJECT_SHOULD_FREE ) == FAILURE ) in collator_convert_object_to_string() 265 COLLATOR_CONVERT_RETURN_FAILED( obj ); in collator_convert_object_to_string() 272 COLLATOR_CONVERT_RETURN_FAILED( obj ); in collator_convert_object_to_string()
|
/PHP-7.0/ext/reflection/tests/ |
H A D | ReflectionExtension_getVersion_basic.phpt | 8 $obj = new ReflectionExtension('reflection'); 9 $var = $obj->getVersion() ? $obj->getVersion() : null;
|
/PHP-7.0/Zend/tests/ |
H A D | bug73989.phpt | 11 $obj = $this; 12 $this->thing = function() use($obj) {}; 23 $obj = new Cycle();
|
H A D | object_array_cast.phpt | 10 $obj = (object) [1, 2, 3]; 11 var_dump((array) (object) $obj); 12 var_dump($obj);
|
H A D | bug29674.phpt | 23 $obj = new BaseClass; 24 $obj->printVars(); 27 $obj = new ChildClass; 28 $obj->printVars();
|
/PHP-7.0/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.0/ext/standard/ |
H A D | user_filters.c | 131 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.0/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.0/tests/lang/ |
H A D | bug21669.phpt | 2 Bug #21669 ("$obj = new $this->var;" doesn't work) 14 $obj = new $this->name; /* Parse error */ 15 return $obj;
|
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.0/ext/com_dotnet/ |
H A D | com_iterator.c | 140 php_com_dotnet_object *obj; in php_com_iter_get() local 152 obj = CDNO_FETCH(object); in php_com_iter_get() 154 if (V_VT(&obj->v) != VT_DISPATCH && !V_ISARRAY(&obj->v)) { in php_com_iter_get() 155 php_error_docref(NULL, E_WARNING, "variant is not an object or array VT=%d", V_VT(&obj->v)); in php_com_iter_get() 166 I->code_page = obj->code_page; in php_com_iter_get() 171 if (V_ISARRAY(&obj->v)) { in php_com_iter_get() 175 dims = SafeArrayGetDim(V_ARRAY(&obj->v)); in php_com_iter_get() 185 VariantCopy(&I->safe_array, &obj->v); in php_com_iter_get() 203 if (FAILED(IDispatch_Invoke(V_DISPATCH(&obj->v), DISPID_NEWENUM, in php_com_iter_get()
|
H A D | com_dotnet.c | 189 php_com_dotnet_object *obj; in PHP_FUNCTION() local 244 obj = CDNO_FETCH(object); in PHP_FUNCTION() 258 obj->code_page = (int)cp; in PHP_FUNCTION() 260 oletype = php_com_string_to_olestring(datatype_name, datatype_name_len, obj->code_page); in PHP_FUNCTION() 261 oleassembly = php_com_string_to_olestring(assembly_name, assembly_name_len, obj->code_page); in PHP_FUNCTION() 285 hr = IUnknown_QueryInterface(V_UNKNOWN(&unwrapped), &IID_IDispatch, &V_DISPATCH(&obj->v)); in PHP_FUNCTION() 288 V_VT(&obj->v) = VT_DISPATCH; in PHP_FUNCTION() 291 IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &obj->typeinfo); in PHP_FUNCTION() 296 V_DISPATCH(&obj->v) = V_DISPATCH(&unwrapped); in PHP_FUNCTION() 297 V_VT(&obj->v) = VT_DISPATCH; in PHP_FUNCTION() [all …]
|
/PHP-7.0/Zend/ |
H A D | zend_closures.h | 33 ZEND_API zend_function *zend_get_closure_invoke_method(zend_object *obj); 34 ZEND_API const zend_function *zend_get_closure_method_def(zval *obj); 35 ZEND_API zval* zend_get_closure_this_ptr(zval *obj);
|
/PHP-7.0/ext/dom/ |
H A D | document.c | 457 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.0/ext/spl/ |
H A D | php_spl.c | 89 zval *obj; in PHP_FUNCTION() local 97 if (Z_TYPE_P(obj) != IS_OBJECT && Z_TYPE_P(obj) != IS_STRING) { in PHP_FUNCTION() 107 ce = Z_OBJCE_P(obj); in PHP_FUNCTION() 123 zval *obj; in PHP_FUNCTION() local 130 if (Z_TYPE_P(obj) != IS_OBJECT && Z_TYPE_P(obj) != IS_STRING) { in PHP_FUNCTION() 140 ce = Z_OBJCE_P(obj); in PHP_FUNCTION() 152 zval *obj; in PHP_FUNCTION() local 159 if (Z_TYPE_P(obj) != IS_OBJECT && Z_TYPE_P(obj) != IS_STRING) { in PHP_FUNCTION() 169 ce = Z_OBJCE_P(obj); in PHP_FUNCTION() 370 zval obj; member [all …]
|