We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4db4b2 commit c49b8a5Copy full SHA for c49b8a5
1 file changed
ext/soap/php_encoding.c
@@ -252,13 +252,13 @@ void whiteSpace_collapse(xmlChar* str)
252
253
static encodePtr find_encoder_by_type_name(sdlPtr sdl, const char *type)
254
{
255
- size_t type_len = strlen(type);
256
257
if (sdl && sdl->encoders) {
258
encodePtr enc;
259
260
ZEND_HASH_FOREACH_PTR(sdl->encoders, enc) {
261
if (type[0] == '{') {
+ size_t type_len = strlen(type);
262
if (enc->details.clark_notation
263
&& zend_string_equals_cstr(enc->details.clark_notation, type, type_len)) {
264
return enc;
0 commit comments