/PHP-5.5/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]);
|
H A D | factory_and_singleton_007.phpt | 13 $obj = new test; 14 $clone = clone $obj; 15 $obj = NULL;
|
H A D | factory_and_singleton_008.phpt | 13 $obj = new test; 14 $clone = clone $obj; 15 $obj = NULL;
|
/PHP-5.5/Zend/ |
H A D | zend_objects.c | 67 zval *obj; in zend_objects_destroy_object() local 100 MAKE_STD_ZVAL(obj); in zend_objects_destroy_object() 101 Z_TYPE_P(obj) = IS_OBJECT; in zend_objects_destroy_object() 102 Z_OBJ_HANDLE_P(obj) = handle; in zend_objects_destroy_object() 104 if (!obj_bucket->bucket.obj.handlers) { in zend_objects_destroy_object() 105 obj_bucket->bucket.obj.handlers = &std_object_handlers; in zend_objects_destroy_object() 107 Z_OBJ_HT_P(obj) = obj_bucket->bucket.obj.handlers; in zend_objects_destroy_object() 108 zval_copy_ctor(obj); in zend_objects_destroy_object() 123 zend_call_method_with_0_params(&obj, object->ce, &destructor, ZEND_DESTRUCTOR_FUNC_NAME, NULL); in zend_objects_destroy_object() 131 zval_ptr_dtor(&obj); in zend_objects_destroy_object() [all …]
|
H A D | zend_closures.h | 32 ZEND_API zend_function *zend_get_closure_invoke_method(zval *obj TSRMLS_DC); 33 ZEND_API const zend_function *zend_get_closure_method_def(zval *obj TSRMLS_DC); 34 ZEND_API zval* zend_get_closure_this_ptr(zval *obj TSRMLS_DC);
|
H A D | zend_interfaces.h | 43 #define zend_call_method_with_0_params(obj, obj_ce, fn_proxy, function_name, retval) \ argument 44 …zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, N… 46 #define zend_call_method_with_1_params(obj, obj_ce, fn_proxy, function_name, retval, arg1) \ argument 47 …zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 1, arg1, N… 49 #define zend_call_method_with_2_params(obj, obj_ce, fn_proxy, function_name, retval, arg1, arg2) \ argument 50 …zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 2, arg1, a…
|
/PHP-5.5/ext/spl/tests/ |
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) {
|
H A D | bug31346.phpt | 5 $obj = new stdClass; 6 $obj->var1=1; 8 $ao = new ArrayObject($obj);
|
/PHP-5.5/ext/xsl/ |
H A D | php_xsl.c | 201 zval *xsl_object_get_data(void *obj) in xsl_object_get_data() argument 204 dom_wrapper = ((xsltStylesheetPtr) obj)->_private; in xsl_object_get_data() 210 static void xsl_object_set_data(void *obj, zval *wrapper TSRMLS_DC) in xsl_object_set_data() argument 212 ((xsltStylesheetPtr) obj)->_private = wrapper; in xsl_object_set_data() 217 void php_xsl_set_object(zval *wrapper, void *obj TSRMLS_DC) in php_xsl_set_object() 222 object->ptr = obj; in php_xsl_set_object() 223 xsl_object_set_data(obj, wrapper TSRMLS_CC); in php_xsl_set_object() 228 zval *php_xsl_create_object(xsltStylesheetPtr obj, int *found, zval *wrapper_in, zval *return_value… in php_xsl_create_object() argument 235 if (!obj) { in php_xsl_create_object() 245 if ((wrapper = (zval *) xsl_object_get_data((void *) obj))) { in php_xsl_create_object() [all …]
|
/PHP-5.5/Zend/tests/ |
H A D | bug29674.phpt | 23 $obj = new BaseClass; 24 $obj->printVars(); 27 $obj = new ChildClass; 28 $obj->printVars();
|
/PHP-5.5/ext/reflection/tests/ |
H A D | ReflectionExtension_getVersion_basic.phpt | 8 $obj = new ReflectionExtension('reflection'); 9 $var = $obj->getVersion() ? $obj->getVersion() : null;
|
H A D | ReflectionClass_getModifierNames_basic.phpt | 33 $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-5.5/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-5.5/ext/com_dotnet/ |
H A D | com_iterator.c | 143 php_com_dotnet_object *obj; in php_com_iter_get() local 155 obj = CDNO_FETCH(object); in php_com_iter_get() 157 if (V_VT(&obj->v) != VT_DISPATCH && !V_ISARRAY(&obj->v)) { in php_com_iter_get() 158 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "variant is not an object or array VT=%d", V_VT(&obj->… in php_com_iter_get() 168 I->code_page = obj->code_page; in php_com_iter_get() 173 if (V_ISARRAY(&obj->v)) { in php_com_iter_get() 177 dims = SafeArrayGetDim(V_ARRAY(&obj->v)); in php_com_iter_get() 187 VariantCopy(&I->safe_array, &obj->v); in php_com_iter_get() 205 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() 249 &obj->code_page)) { in PHP_FUNCTION() 255 oletype = php_com_string_to_olestring(datatype_name, datatype_name_len, obj->code_page TSRMLS_CC); in PHP_FUNCTION() 256 …oleassembly = php_com_string_to_olestring(assembly_name, assembly_name_len, obj->code_page TSRMLS_… in PHP_FUNCTION() 280 hr = IUnknown_QueryInterface(V_UNKNOWN(&unwrapped), &IID_IDispatch, &V_DISPATCH(&obj->v)); in PHP_FUNCTION() 283 V_VT(&obj->v) = VT_DISPATCH; in PHP_FUNCTION() 286 IDispatch_GetTypeInfo(V_DISPATCH(&obj->v), 0, LANG_NEUTRAL, &obj->typeinfo); in PHP_FUNCTION() 291 V_DISPATCH(&obj->v) = V_DISPATCH(&unwrapped); in PHP_FUNCTION() 292 V_VT(&obj->v) = VT_DISPATCH; in PHP_FUNCTION() [all …]
|
/PHP-5.5/ext/intl/collator/ |
H A D | collator_convert.c | 244 zval* collator_convert_object_to_string( zval* obj TSRMLS_DC ) in collator_convert_object_to_string() 252 if( Z_TYPE_P( obj ) != IS_OBJECT ) in collator_convert_object_to_string() 254 COLLATOR_CONVERT_RETURN_FAILED( obj ); in collator_convert_object_to_string() 258 if( Z_OBJ_HT_P(obj)->get ) in collator_convert_object_to_string() 260 zstr = Z_OBJ_HT_P(obj)->get( obj TSRMLS_CC ); in collator_convert_object_to_string() 268 COLLATOR_CONVERT_RETURN_FAILED( obj ); in collator_convert_object_to_string() 280 else if( Z_OBJ_HT_P(obj)->cast_object ) in collator_convert_object_to_string() 284 …if( Z_OBJ_HT_P(obj)->cast_object( obj, zstr, IS_STRING CAST_OBJECT_SHOULD_FREE TSRMLS_CC ) == FAIL… in collator_convert_object_to_string() 288 COLLATOR_CONVERT_RETURN_FAILED( obj ); in collator_convert_object_to_string() 295 COLLATOR_CONVERT_RETURN_FAILED( obj ); in collator_convert_object_to_string()
|
/PHP-5.5/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-5.5/ext/xml/tests/ |
H A D | xml002.phpt | 52 $obj = new myclass; 54 xml_set_element_handler($xml_parser, array($obj,"startElement"), 55 array($obj, "endElement")); 56 xml_set_character_data_handler($xml_parser, array($obj, "characterData")); 57 xml_set_processing_instruction_handler($xml_parser, array($obj, "PIHandler")); 58 xml_set_default_handler($xml_parser, array($obj, "defaultHandler")); 60 array($obj, "externalEntityRefHandler"));
|
/PHP-5.5/ext/dom/ |
H A D | processinginstruction.c | 98 int dom_processinginstruction_target_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_processinginstruction_target_read() argument 102 nodep = dom_object_get_node(obj); in dom_processinginstruction_target_read() 122 int dom_processinginstruction_data_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_processinginstruction_data_read() argument 127 nodep = dom_object_get_node(obj); in dom_processinginstruction_data_read() 147 int dom_processinginstruction_data_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_processinginstruction_data_write() argument 152 nodep = dom_object_get_node(obj); in dom_processinginstruction_data_write()
|