/PHP-7.4/Zend/tests/weakrefs/ |
H A D | weakrefs_001.phpt | 5 $std = new stdClass; 7 debug_zval_dump($std); 9 $wr = WeakReference::create($std); 10 $wr2 = WeakReference::create($std); 12 debug_zval_dump($std); 19 unset($std);
|
/PHP-7.4/Zend/tests/type_declarations/ |
H A D | typed_properties_001.phpt | 10 public stdClass $std; 13 public function __construct(int $int, float $float, bool $bool, array $array, stdClass $std) { 18 $this->std = $std; 36 ["std"]=>
|
H A D | typed_properties_005.phpt | 8 public stdClass $std; 11 $this->std = $dummy; 16 Fatal error: Uncaught TypeError: Typed property class@anonymous::$std must be an instance of stdCla…
|
/PHP-7.4/Zend/ |
H A D | zend_weakrefs.c | 26 zend_object std; member 32 #define zend_weakref_from(o) ((zend_weakref*)(((char*) o) - XtOffsetOf(zend_weakref, std))) 58 zend_object_std_init(&wr->std, zend_ce_weakref); in zend_weakref_new() 60 wr->std.handlers = &zend_weakref_handlers; in zend_weakref_new() 62 return &wr->std; in zend_weakref_new() 72 GC_ADDREF(&wr->std); in zend_weakref_find() 73 ZVAL_OBJ(return_value, &wr->std); in zend_weakref_find() 109 zend_object_std_dtor(&wr->std); in zend_weakref_free() 202 zend_weakref_handlers.offset = XtOffsetOf(zend_weakref, std); in zend_register_weakref_ce()
|
H A D | zend_iterators.c | 84 zend_object_std_init(&iter->std, &zend_iterator_class_entry); in zend_iterator_init() 85 iter->std.handlers = &iterator_object_handlers; in zend_iterator_init() 90 if (GC_DELREF(&iter->std) > 0) { in zend_iterator_dtor() 94 zend_objects_store_del(&iter->std); in zend_iterator_dtor()
|
H A D | zend_config.w32.h | 53 #define zend_isnan std::isnan 54 #define zend_isinf std::isinf 55 #define zend_finite std::isfinite
|
/PHP-7.4/ext/dom/ |
H A D | xml_common.h | 31 zend_object std; member 35 return (dom_object*)((char*)(obj) - XtOffsetOf(dom_object, std)); in php_dom_obj_from_obj() 68 ZSTR_VAL(__intern->std.ce->name));\ 77 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", __intern->std.ce->name);\
|
H A D | php_dom.c | 508 clone->std.handlers = dom_get_obj_handlers(); in dom_objects_store_clone_obj() 529 zend_objects_clone_members(&clone->std, &intern->std); in dom_objects_store_clone_obj() 531 return &clone->std; in dom_objects_store_clone_obj() 1010 zend_object_std_dtor(&intern->dom.std); in dom_xpath_objects_free_storage() 1040 zend_object_std_dtor(&intern->std); in dom_objects_free_storage() 1094 return &intern->std; in dom_objects_new() 1112 return &intern->dom.std; in dom_xpath_objects_new() 1147 zend_object_std_dtor(&intern->std); in dom_nnodemap_objects_free_storage() 1168 return &intern->std; in dom_nnodemap_objects_new() 1198 GC_ADDREF(&intern->std); in php_dom_create_object() [all …]
|
/PHP-7.4/ext/date/ |
H A D | php_date.h | 135 zend_object std; member 139 return (php_date_obj*)((char*)(obj) - XtOffsetOf(php_date_obj, std)); in php_date_obj_from_obj() 152 zend_object std; member 156 return (php_timezone_obj*)((char*)(obj) - XtOffsetOf(php_timezone_obj, std)); in php_timezone_obj_from_obj() 164 zend_object std; member 168 return (php_interval_obj*)((char*)(obj) - XtOffsetOf(php_interval_obj, std)); in php_interval_obj_from_obj() 182 zend_object std; member 186 return (php_period_obj*)((char*)(obj) - XtOffsetOf(php_period_obj, std)); in php_period_obj_from_obj()
|
/PHP-7.4/ext/xmlwriter/ |
H A D | php_xmlwriter.h | 47 zend_object std; member 51 return (ze_xmlwriter_object *)((char*)(obj) - XtOffsetOf(ze_xmlwriter_object, std)); in php_xmlwriter_fetch_object()
|
/PHP-7.4/ext/gmp/ |
H A D | php_gmp_int.h | 21 zend_object std; member 25 return (gmp_object *)( ((char *)zobj) - XtOffsetOf(gmp_object, std) ); in php_gmp_object_from_zend_object()
|
/PHP-7.4/ext/xmlreader/ |
H A D | php_xmlreader.h | 49 zend_object std; member 53 return (xmlreader_object *)((char*)(obj) - XtOffsetOf(xmlreader_object, std)); in php_xmlreader_fetch_object()
|
/PHP-7.4/ext/xsl/ |
H A D | php_xsl.c | 71 zend_object_std_dtor(&intern->std); in ZEND_GET_MODULE() 112 zend_object_std_init(&intern->std, class_type); in xsl_objects_new() 113 object_properties_init(&intern->std, class_type); in xsl_objects_new() 117 intern->std.handlers = &xsl_object_handlers; in xsl_objects_new() 118 return &intern->std; in xsl_objects_new() 130 xsl_object_handlers.offset = XtOffsetOf(xsl_object, std); in PHP_MINIT_FUNCTION()
|
H A D | php_xsl.h | 70 zend_object std; member 74 return (xsl_object *)((char*)(obj) - XtOffsetOf(xsl_object, std)); in php_xsl_fetch_object()
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | bug70389.phpt | 18 $std = new StdClass(); 19 $std->flags = $flags;
|
/PHP-7.4/ext/pdo/ |
H A D | php_pdo_int.h | 42 void pdo_dbstmt_free_storage(zend_object *std); 51 void pdo_row_free_storage(zend_object *std);
|
H A D | php_pdo_driver.h | 522 zend_object std; member 526 …return (pdo_dbh_t *)(((pdo_dbh_object_t *)((char*)(obj) - XtOffsetOf(pdo_dbh_object_t, std)))->inn… in php_pdo_dbh_fetch_inner() 530 return (pdo_dbh_object_t *)((char*)(obj) - XtOffsetOf(pdo_dbh_object_t, std)); in php_pdo_dbh_fetch_object() 650 zend_object std; member 654 return (pdo_stmt_t *)((char*)(obj) - XtOffsetOf(pdo_stmt_t, std)); in php_pdo_stmt_fetch_object() 660 zend_object std; member
|
/PHP-7.4/ext/spl/ |
H A D | spl_heap.c | 75 zend_object std; member 392 zend_object_std_dtor(&intern->std); in spl_heap_object_free_storage() 406 zend_object_std_init(&intern->std, class_type); in spl_heap_object_new_ex() 407 object_properties_init(&intern->std, class_type); in spl_heap_object_new_ex() 411 intern->std.handlers = other->std.handlers; in spl_heap_object_new_ex() 423 return &intern->std; in spl_heap_object_new_ex() 429 intern->std.handlers = &spl_handler_SplPriorityQueue; in spl_heap_object_new_ex() 439 intern->std.handlers = &spl_handler_SplHeap; in spl_heap_object_new_ex() 462 return &intern->std; in spl_heap_object_new_ex() 515 if (!intern->std.properties) { in spl_heap_object_get_debug_info() [all …]
|
H A D | spl_fixedarray.c | 59 zend_object std; member 75 return (spl_fixedarray_object*)((char*)(obj) - XtOffsetOf(spl_fixedarray_object, std)); in spl_fixed_array_from_obj() 204 zend_object_std_dtor(&intern->std); in spl_fixedarray_object_free_storage() 219 zend_object_std_init(&intern->std, class_type); in spl_fixedarray_object_new_ex() 220 object_properties_init(&intern->std, class_type); in spl_fixedarray_object_new_ex() 234 intern->std.handlers = &spl_handler_SplFixedArray; in spl_fixedarray_object_new_ex() 293 return &intern->std; in spl_fixedarray_object_new_ex() 365 …zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_get, "offsetGet", rv, … in spl_fixedarray_object_read_dimension() 460 …zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_del, "offsetUnset", NU… in spl_fixedarray_object_unset_dimension() 530 zend_call_method_with_0_params(object, intern->std.ce, &intern->fptr_count, "count", &rv); in spl_fixedarray_object_count_elements() [all …]
|
H A D | spl_array.c | 73 zend_object std; member 86 if (!intern->std.properties) { in spl_array_get_hash_table_ptr() 87 rebuild_object_properties(&intern->std); in spl_array_get_hash_table_ptr() 89 return &intern->std.properties; in spl_array_get_hash_table_ptr() 159 zend_object_std_dtor(&intern->std); in spl_array_object_free_storage() 264 return &intern->std; in spl_array_object_new_ex() 832 if (!intern->std.properties) { in spl_array_get_debug_info() 833 rebuild_object_properties(&intern->std); in spl_array_get_debug_info() 945 !(ht1 == intern1->std.properties && ht2 == intern2->std.properties)) { in spl_array_compare_objects() 1683 if (!intern->std.properties) { in SPL_METHOD() [all …]
|
H A D | spl_directory.h | 102 zend_object std; member 106 return (spl_filesystem_object*)((char*)(obj) - XtOffsetOf(spl_filesystem_object, std)); in spl_filesystem_from_obj()
|
H A D | spl_iterators.h | 159 zend_object std; member 163 return (spl_dual_it_object*)((char*)(obj) - XtOffsetOf(spl_dual_it_object, std)); in spl_dual_it_from_obj()
|
H A D | spl_dllist.c | 96 zend_object std; member 352 zend_object_std_dtor(&intern->std); in spl_dllist_object_free_storage() 378 zend_object_std_init(&intern->std, class_type); in spl_dllist_object_new_ex() 379 object_properties_init(&intern->std, class_type); in spl_dllist_object_new_ex() 409 intern->std.handlers = &spl_handler_SplDoublyLinkedList; in spl_dllist_object_new_ex() 412 intern->std.handlers = &spl_handler_SplDoublyLinkedList; in spl_dllist_object_new_ex() 416 intern->std.handlers = &spl_handler_SplDoublyLinkedList; in spl_dllist_object_new_ex() 450 return &intern->std; in spl_dllist_object_new_ex() 504 if (!intern->std.properties) { in spl_dllist_object_get_debug_info() 505 rebuild_object_properties(&intern->std); in spl_dllist_object_get_debug_info() [all …]
|
/PHP-7.4/ext/tidy/ |
H A D | tidy.c | 208 zend_object std; member 698 zend_object_std_dtor(&intern->std); in tidy_object_free_storage() 750 intern->std.handlers = handlers; in tidy_object_new() 752 return &intern->std; in tidy_object_new() 857 if (!obj->std.properties) { in tidy_doc_update_properties() 858 rebuild_object_properties(&obj->std); in tidy_doc_update_properties() 867 if (!obj->std.properties) { in tidy_doc_update_properties() 868 rebuild_object_properties(&obj->std); in tidy_doc_update_properties() 887 if (!obj->std.properties) { in tidy_add_default_properties() 888 rebuild_object_properties(&obj->std); in tidy_add_default_properties() [all …]
|
/PHP-7.4/ext/reflection/tests/ |
H A D | parameters_002.phpt | 6 function test($nix, Array $ar, &$ref, stdClass $std, 13 function method($nix, Array $ar, &$ref, stdClass $std, 107 getName: string(3) "std" 173 getName: string(3) "std"
|