/php-src/ext/spl/ |
H A D | spl_observer.c | 98 ZSTR_VAL(intern->std.ce->name), zend_zval_value_name(&rv)); in spl_object_storage_get_hash()
|
/php-src/ |
H A D | NEWS | 14 . Fixed bug GH-13142 (Undefined variable name is shortened when contains \0). 26 . Adjusted closure names to include the parent function's name. (timwolla) 200 . Implement GH-12908 (Show attribute name/class in ReflectionAttribute dump).
|
H A D | UPGRADING | 36 If you have a method or constant with the same name, you might encounter errors 182 . The output of Closure::__debugInfo() now includes the name, file, and line 261 . ReflectionAttribute now contains a $name property to improve the debugging 660 * Closure names have been adjusted to include the parent function's name
|
/php-src/ext/libxml/ |
H A D | libxml.c | 147 xmlHashRemoveEntry(table, name, NULL); in php_libxml_unlink_entity() 175 if (xmlHashLookup(dtd->entities, entity->name) == entity) { in php_libxml_unlink_entity_decl() 176 xmlHashRemoveEntry(dtd->entities, entity->name, NULL); in php_libxml_unlink_entity_decl() 178 if (xmlHashLookup(dtd->pentities, entity->name) == entity) { in php_libxml_unlink_entity_decl() 179 xmlHashRemoveEntry(dtd->pentities, entity->name, NULL); in php_libxml_unlink_entity_decl() 206 if (dict == NULL || !xmlDictOwns(dict, entity->name)) { in php_libxml_node_free() 207 xmlFree((xmlChar *) entity->name); in php_libxml_node_free() 232 if (node->name != NULL) { in php_libxml_node_free() 233 xmlFree((char *) node->name); in php_libxml_node_free() 928 if (sapi_module.name) { in PHP_MINIT_FUNCTION() [all …]
|
/php-src/ext/simplexml/ |
H A D | simplexml.c | 66 if (name) { in _node_as_zval() 67 subnode->iter.name = (xmlChar*)estrdup(name); in _node_as_zval() 142 if (xmlStrEqual(node->name, name)) { in sxe_find_element_by_name() 176 if (xmlStrEqual(node->name, (xmlChar *)name)) { in sxe_get_element_by_name() 192 char *name; in sxe_prop_dim_read() local 216 name = NULL; in sxe_prop_dim_read() 635 name = NULL; in sxe_property_get_adr() 1135 name = (char *) node->name; in sxe_get_prop_hash() 1136 if (!name) { in sxe_get_prop_hash() 2008 RETURN_STRINGL((char*)curnode->name, xmlStrlen(curnode->name)); in PHP_METHOD() [all …]
|
/php-src/ext/dom/ |
H A D | php_dom.h | 153 xmlNodePtr create_notation(const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID); 159 zend_string *dom_node_concatenated_name_helper(size_t name_len, const char *name, size_t prefix_len… 171 xmlAttrPtr php_dom_get_attribute_node(xmlNodePtr elem, const xmlChar *name, size_t name_len); 216 zend_throw_error(NULL, "Couldn't fetch %s", ZSTR_VAL(__intern->std.ce->name));\
|
H A D | php_dom.c | 268 zend_hash_del(doc_props->classmap, basece->name); in dom_set_doc_classmap() 331 dom_register_prop_handler(prop_handler, "" name, sizeof("" name) - 1, &hnd); \ 336 dom_overwrite_prop_handler(prop_handler, "" name, sizeof("" name) - 1, &hnd); \ 358 hnd = zend_hash_find_ptr(obj->prop_handler, name); in dom_read_property() 382 hnd = zend_hash_find_ptr(obj->prop_handler, name); in dom_write_property() 387 …error(NULL, "Cannot modify readonly property %s::$%s", ZSTR_VAL(object->ce->name), ZSTR_VAL(name)); in dom_write_property() 416 hnd = zend_hash_find_ptr(obj->prop_handler, name); in dom_property_exists() 1704 const xmlChar *node_local = nodep->name; in dom_match_qualified_name_according_to_spec() 1731 return xmlStrEqual(nodep->name, local); in dom_match_qualified_name_for_tag_name_equality() 2573 xmlChar *name_processed = BAD_CAST name; in php_dom_get_attribute_node() [all …]
|
H A D | attr.c | 42 char *name, *value = NULL; in PHP_METHOD() local 45 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &name, &name_len, &value, &value_len) == FAILURE… in PHP_METHOD() 51 name_valid = xmlValidateName(BAD_CAST name, 0); in PHP_METHOD() 57 nodep = xmlNewProp(NULL, BAD_CAST name, BAD_CAST value); in PHP_METHOD() 87 ZVAL_STRING(retval, (char *) attrp->name); in dom_attr_name_read()
|
H A D | document.c | 435 zend_string *name; in PHP_METHOD() local 438 Z_PARAM_STR(name) in PHP_METHOD() 465 zend_string *name; in PHP_METHOD() local 468 Z_PARAM_STR(name) in PHP_METHOD() 480 char *lower = zend_str_tolower_dup_ex(ZSTR_VAL(name), ZSTR_LEN(name)); in PHP_METHOD() 681 zend_string *name; in PHP_METHOD() local 685 Z_PARAM_PATH_STR(name) in PHP_METHOD() 696 char *lower = zend_str_tolower_dup_ex(ZSTR_VAL(name), ZSTR_LEN(name)); in PHP_METHOD() 723 char *name; in PHP_METHOD() local 900 zend_string *name, *uri; in PHP_METHOD() local [all …]
|
/php-src/main/ |
H A D | SAPI.c | 599 static void sapi_remove_header(zend_llist *l, char *name, size_t len) { in sapi_remove_header() argument 608 && !strncasecmp(header->header, name, len)) { in sapi_remove_header() 1022 SAPI_API char *sapi_getenv(const char *name, size_t name_len) in sapi_getenv() argument 1029 if (!strncasecmp(name, "HTTP_PROXY", name_len)) { in sapi_getenv() 1033 tmp = sapi_module.getenv(name, name_len); in sapi_getenv() 1039 if (strlen(sapi_module.name) == sizeof("cgi-fcgi") - 1 && !strcmp(sapi_module.name, "cgi-fcgi")) { in sapi_getenv() 1045 sapi_module.input_filter(PARSE_STRING, name, &value, strlen(value), NULL); in sapi_getenv()
|
/php-src/ext/standard/ |
H A D | array.c | 113 #define DEFINE_SORT_VARIANTS(name) \ argument 114 static zend_never_inline int php_array_##name##_unstable(Bucket *a, Bucket *b) { \ 115 return php_array_##name##_unstable_i(a, b); \ 117 static zend_never_inline int php_array_##name(Bucket *a, Bucket *b) { \ 118 RETURN_STABLE_SORT(a, b, php_array_##name##_unstable_i(a, b)); \ 120 static zend_never_inline int php_array_reverse_##name##_unstable(Bucket *a, Bucket *b) { \ 121 return php_array_##name##_unstable(a, b) * -1; \ 123 static zend_never_inline int php_array_reverse_##name(Bucket *a, Bucket *b) { \ 124 RETURN_STABLE_SORT(a, b, php_array_reverse_##name##_unstable(a, b)); \
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_ir.c | 255 {JIT_STUB_PREFIX #name, zend_jit_ ## name ## _stub, flags}, 335 const char *name; member 2739 if (name) fprintf(stderr, "%s: ; after folding\n", name); in zend_jit_ir_compile() 2758 if (name) fprintf(stderr, "%s: ; after SCCP\n", name); in zend_jit_ir_compile() 2767 if (name) fprintf(stderr, "%s: ; after CFG\n", name); in zend_jit_ir_compile() 2774 if (name) fprintf(stderr, "%s: ; after GCM\n", name); in zend_jit_ir_compile() 2781 if (name) fprintf(stderr, "%s: ; after schedule\n", name); in zend_jit_ir_compile() 2804 if (name) fprintf(stderr, "%s: ; codegen\n", name); in zend_jit_ir_compile() 2807 if (name) fprintf(stderr, "%s: ; final\n", name); in zend_jit_ir_compile() 16269 jit->name = zend_string_copy(name); [all …]
|
/php-src/ext/ffi/ |
H A D | ffi.c | 1637 if (name) { in zend_ffi_ctype_name() 2880 && (ZSTR_VAL(name)[0] == 'n' || ZSTR_VAL(name)[0] == 'N') in zend_ffi_get_func() 2881 && (ZSTR_VAL(name)[1] == 'e' || ZSTR_VAL(name)[1] == 'E') in zend_ffi_get_func() 2885 && (ZSTR_VAL(name)[0] == 'c' || ZSTR_VAL(name)[0] == 'C') in zend_ffi_get_func() 6282 if (name) { 6781 #define ATTR_ID(name) attr_ ## name, argument 6782 #define ATTR_NAME(name) {sizeof(#name)-1, #name}, argument 6804 name += 2; 6809 if (memcmp(name, names[id].name, name_len) == 0) { 6887 name += 2; [all …]
|
/php-src/ext/xml/ |
H A D | xml.c | 103 XML_Char *name; member 141 static void _xml_add_to_info(xml_parser *parser, const char *name); 479 static const xml_encoding *xml_get_encoding(const XML_Char *name) in xml_get_encoding() argument 483 while (enc && enc->name) { in xml_get_encoding() 484 if (strcasecmp((char *)name, (char *)enc->name) == 0) { in xml_get_encoding() 557 size_t name_len = strlen(name); in _xml_add_to_info() 598 tag_name = _xml_decode_tag(parser, name); in _xml_startElementHandler() 677 void _xml_endElementHandler(void *userData, const XML_Char *name) in _xml_endElementHandler() argument 685 zend_string *tag_name = _xml_decode_tag(parser, name); in _xml_endElementHandler() 1120 ZSTR_VAL(new_this_obj->ce->name), ZSTR_VAL(method_name)); \ [all …]
|
/php-src/.github/actions/build-libmysqlclient/ |
H A D | action.yml | 1 name: Build libmysqlclient
|
/php-src/.github/workflows/ |
H A D | nightly.yml | 1 name: Nightly 10 name: Generate Matrix 67 name: [''] 81 - name: apt 98 - name: make 104 - name: Test 173 - name: apt 314 - name: apt 555 name: "${{ matrix.branch.name }}_OPCACHE_VARIATION" 629 name: "${{ matrix.branch.name }}_MSAN" [all …]
|
H A D | push.yml | 1 name: Push 89 - name: apt 111 - name: ccache 127 - name: make 131 - name: Setup 134 - name: Test 166 - name: brew 177 - name: make 217 - name: Test 232 - name: apt [all …]
|
/php-src/ext/bcmath/ |
H A D | bcmath.c | 68 tmp = zend_ini_parse_quantity_warn(new_value, entry->name); in ZEND_GET_MODULE()
|
/php-src/.circleci/ |
H A D | config.yml | 30 name: apt 83 name: ./configure 155 name: make 158 name: make install 166 name: Test
|
/php-src/ext/sqlite3/ |
H A D | sqlite3.c | 412 (strcmp(sapi_module.name, "cli") != 0) && in PHP_METHOD() 1654 if (param->name) { in register_bound_parameter_to_sqlite() 1655 if (ZSTR_VAL(param->name)[0] != ':' && ZSTR_VAL(param->name)[0] != '@') { in register_bound_parameter_to_sqlite() 1659 memmove(ZSTR_VAL(temp) + 1, ZSTR_VAL(param->name), ZSTR_LEN(param->name) + 1); in register_bound_parameter_to_sqlite() 1660 param->name = temp; in register_bound_parameter_to_sqlite() 1662 param->name = zend_string_copy(param->name); in register_bound_parameter_to_sqlite() 1669 if (param->name) { in register_bound_parameter_to_sqlite() 1670 zend_string_release_ex(param->name, 0); in register_bound_parameter_to_sqlite() 1677 if (param->name) { in register_bound_parameter_to_sqlite() 2377 if (param->name) { in sqlite3_param_dtor() [all …]
|
/php-src/ext/sqlite3/tests/ |
H A D | sqlite3_trampoline_create_aggregate_no_leak.phpt | 11 public function __call(string $name, array $arguments) { 12 echo 'Trampoline for ', $name, PHP_EOL; 14 if ($name === 'finalize') { 76 TypeError: SQLite3::createAggregate(): Argument #1 ($name) must be of type string, stdClass given 78 …#3 ($finalCallback) must be a valid callback, function "no_func" not found or invalid function name 79 … #2 ($stepCallback) must be a valid callback, function "no_func" not found or invalid function name
|
H A D | sqlite3_trampoline_createcollation_no_leak.phpt | 11 public function __call(string $name, array $arguments) { 12 echo 'Trampoline for ', $name, PHP_EOL; 47 TypeError: SQLite3::createCollation(): Argument #1 ($name) must be of type string, stdClass given
|
H A D | sqlite3_trampoline_createfunction_no_leak.phpt | 11 public function __call(string $name, array $arguments) { 12 echo 'Trampoline for ', $name, PHP_EOL; 48 TypeError: SQLite3::createFunction(): Argument #1 ($name) must be of type string, stdClass given
|
H A D | sqlite3_trampoline_setauthorizer_no_leak.phpt | 9 public function __call(string $name, array $arguments) { 10 echo 'Trampoline for ', $name, PHP_EOL;
|
/php-src/ext/curl/tests/ |
H A D | curl_ssh_hostkey_trampoline.phpt | 17 public function __call(string $name, array $arguments) { 18 echo 'Trampoline for ', $name, PHP_EOL;
|