Browse Source

Fixed unicode support for ltrim()

migration/RELEASE_1_0_0
Dmitry Stogov 21 years ago
parent
commit
e404ee456b
  1. 2
      ext/standard/string.c

2
ext/standard/string.c

@ -715,6 +715,8 @@ static UChar *php_u_trim(UChar *c, int32_t len, UChar *what, int32_t what_len, z
}
}
end = i;
} else {
--end;
}
if ( start < len ) {

Loading…
Cancel
Save