/PHP-5.3/ext/spl/tests/ |
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 | bug31346.phpt | 5 $obj = new stdClass; 6 $obj->var1=1; 8 $ao = new ArrayObject($obj);
|
H A D | iterator_068.phpt | 24 $obj = new TestIteratorIterator(new Test); 25 $obj->foo(); 26 unset($obj);
|
/PHP-5.3/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.3/Zend/ |
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.3/ext/com_dotnet/ |
H A D | com_iterator.c | 144 php_com_dotnet_object *obj; in php_com_iter_get() local 156 obj = CDNO_FETCH(object); in php_com_iter_get() 158 if (V_VT(&obj->v) != VT_DISPATCH && !V_ISARRAY(&obj->v)) { in php_com_iter_get() 159 …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() 169 I->code_page = obj->code_page; in php_com_iter_get() 174 if (V_ISARRAY(&obj->v)) { in php_com_iter_get() 178 dims = SafeArrayGetDim(V_ARRAY(&obj->v)); in php_com_iter_get() 188 VariantCopy(&I->safe_array, &obj->v); in php_com_iter_get() 206 if (FAILED(IDispatch_Invoke(V_DISPATCH(&obj->v), DISPID_NEWENUM, in php_com_iter_get()
|
H A D | php_com_dotnet_internal.h | 66 #define CDNO_FETCH_VERIFY(obj, zv) do { \ argument 71 obj = (php_com_dotnet_object*)zend_object_store_get_object(zv TSRMLS_CC); \ 83 void php_com_object_enable_event_sink(php_com_dotnet_object *obj, int enable TSRMLS_DC); 105 HRESULT php_com_invoke_helper(php_com_dotnet_object *obj, DISPID id_member, 107 HRESULT php_com_get_id_of_name(php_com_dotnet_object *obj, char *name, 109 int php_com_do_invoke_by_id(php_com_dotnet_object *obj, DISPID dispid, 111 int php_com_do_invoke(php_com_dotnet_object *obj, char *name, int namelen, 113 int php_com_do_invoke_byref(php_com_dotnet_object *obj, char *name, int namelen, 178 ITypeInfo *php_com_locate_typeinfo(char *typelibname, php_com_dotnet_object *obj, char *dispname, i…
|
/PHP-5.3/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.3/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.3/ext/xml/tests/ |
H A D | xml002.phpt | 54 $obj = new myclass; 56 xml_set_element_handler($xml_parser, array($obj,"startElement"), 57 array($obj, "endElement")); 58 xml_set_character_data_handler($xml_parser, array($obj, "characterData")); 59 xml_set_processing_instruction_handler($xml_parser, array($obj, "PIHandler")); 60 xml_set_default_handler($xml_parser, array($obj, "defaultHandler")); 62 array($obj, "externalEntityRefHandler"));
|
/PHP-5.3/tests/classes/ |
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;
|
H A D | clone_003.phpt | 28 $obj = new test; 29 $obj->p4 = 'A'; 30 $copy = clone $obj; 32 print_r($obj);
|
H A D | iterators_004.phpt | 12 $obj = new c1(); 14 foreach($obj as $w) { 48 $obj = new c2(); 50 foreach($obj as $v => $w) {
|
/PHP-5.3/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()
|
/PHP-5.3/Zend/tests/ |
H A D | bug38220.phpt | 6 public $obj; 9 echo "func1(): {$this->obj->i}\n"; 13 echo "close(): {$this->obj->i}\n"; 28 $drv->obj = $this; 36 // $drv->obj = null;
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | bug26817.phpt | 20 $obj = new test(); 21 $obj->foo(); 22 var_dump(http_build_query($obj));
|
/PHP-5.3/ext/sqlite/tests/ |
H A D | sqlite_oo_029.phpt | 43 $obj = new sqlite_help($db); 44 echo $obj->getSingle('foo')."\n"; 45 $obj->free(); 46 unset($obj);
|
/PHP-5.3/ext/standard/tests/general_functions/ |
H A D | var_export_error2.phpt | 11 @$obj->p =& $obj; 12 var_export($obj, true);
|
/PHP-5.3/ext/xsl/ |
H A D | php_xsl.h | 70 void php_xsl_set_object(zval *wrapper, void *obj TSRMLS_DC); 72 zval *php_xsl_create_object(xsltStylesheetPtr obj, int *found, zval *wrapper_in, zval *return_value… 82 #define XSL_DOMOBJ_NEW(zval, obj, ret) \ argument 83 if (NULL == (zval = php_xsl_create_object(obj, ret, zval, return_value TSRMLS_CC))) { \
|
/PHP-5.3/ext/json/tests/ |
H A D | json_encode_basic.phpt | 29 $obj = new sample(); 30 $obj->MyInt = 99; 31 $obj->MyFloat = 123.45; 32 $obj->MyBool = true; 33 $obj->MyNull = null; 34 $obj->MyString = "Hello World"; 86 /*27*/ $obj
|
/PHP-5.3/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() 145 ce = Z_OBJCE_P(obj); in PHP_FUNCTION() 365 zval *obj; member 372 if (alfi->obj) { in autoload_func_info_dtor() 546 alfi.obj = NULL; in PHP_FUNCTION() 700 if (alfi->obj) { in PHP_FUNCTION() [all …]
|