David Coallier
|
b837f8c8b3
|
- Good proto message and description of function
|
2008-01-29 01:44:38 +00:00 |
|
Antony Dovgal
|
596403f226
|
fix #42861 (strtr() crashes in Unicode mode when $from argument is empty)
|
2008-01-21 14:37:19 +00:00 |
|
David Coallier
|
f6267ce134
|
- Wrong icu call, now using u_strToLower correctly
|
2008-01-19 19:47:41 +00:00 |
|
David Coallier
|
7a66695286
|
- Added lcfirst() function. The sister function of ucfirst()
- Test #1 for lcfirst()
|
2008-01-19 19:23:25 +00:00 |
|
Antony Dovgal
|
d5b7556d46
|
fix #43863 (str_word_count() breaks on cyrillic "ya" in locale cp1251)
patch by phprus at gmail dot com
|
2008-01-16 08:34:06 +00:00 |
|
David Coallier
|
bdd2668aef
|
- Make sure ucfirst is using the new zend-parse-parameters api
- added php_ucfirst for non-unicode calls
|
2008-01-16 03:09:01 +00:00 |
|
Antony Dovgal
|
335728651f
|
fix #43750 (stristr() modifies string)
patch by Felipe Pena
|
2008-01-10 14:31:11 +00:00 |
|
Sebastian Bergmann
|
9b620d50b4
|
Bump copyright year, 2 of 2.
|
2007-12-31 07:12:20 +00:00 |
|
Dmitry Stogov
|
0c75772f68
|
Additional fix for bug #42868
|
2007-12-24 18:10:20 +00:00 |
|
Antony Dovgal
|
8849402818
|
add workaround for glibc issue
|
2007-12-13 22:29:15 +00:00 |
|
Stanislav Malyshev
|
3c0869343f
|
fix #42866, from Claudio Cherubino
|
2007-11-21 02:27:07 +00:00 |
|
Yiduo (David) Wang
|
95da0dc570
|
Added macros for managing zval refcounts and is_ref statuses
|
2007-10-07 05:15:07 +00:00 |
|
Antony Dovgal
|
da50804c67
|
make strcspn() behave the same way in both Unicode and native mode (bug #42731)
|
2007-10-02 11:35:26 +00:00 |
|
Jani Taskinen
|
59580f57d4
|
MFB: fix bug #42142 and cs+ws
|
2007-10-01 13:41:57 +00:00 |
|
Jani Taskinen
|
d762757ee5
|
- Fixed bug #42789 (join() warning messages are not proper & different
return value on php5/6)
# For consistency between 5/6 also made the return value be NULL like it
# has been for ages when invalid stuff is passed.
|
2007-10-01 12:04:09 +00:00 |
|
Ilia Alshanetsky
|
b9071080f8
|
Added missing safety checks for 2nd parameter of setlocale() function
|
2007-09-07 02:28:26 +00:00 |
|
Jani Taskinen
|
8eaa978e97
|
- Fixed str_pad() when passed huge negative pad_length
|
2007-07-23 13:27:34 +00:00 |
|
Jani Taskinen
|
7bfd857fa1
|
MFB: Fixed "Floating point exception" inside wordwrap()
|
2007-07-23 11:47:44 +00:00 |
|
Jani Taskinen
|
41c6375840
|
- Moved the old regex functions to it's own extension: ereg
|
2007-07-15 19:50:07 +00:00 |
|
Dmitry Stogov
|
644c0c6a51
|
Fixed limit warnings in non-unicode mode
|
2007-07-10 14:16:40 +00:00 |
|
Dmitry Stogov
|
8ff24e8728
|
ord() must not convert binary data to unicode in unicode mode
|
2007-06-29 14:53:02 +00:00 |
|
Dmitry Stogov
|
33e5346a5a
|
Fixed error message
|
2007-06-18 13:54:59 +00:00 |
|
Dmitry Stogov
|
af598946f1
|
Fixed crash in substr_compare()
Fixed error messages
|
2007-06-18 13:39:02 +00:00 |
|
Dmitry Stogov
|
a4db7a40c5
|
MTH: Fixed bug #40432 (strip_tags() fails with greater than in attribute).
|
2007-06-18 11:50:41 +00:00 |
|
Antony Dovgal
|
6a67784d22
|
improve the check
|
2007-06-06 21:55:18 +00:00 |
|
Stanislav Malyshev
|
b7cf37c3e1
|
MF5: Fix chunk_split fix - avoid using floats
MF5: Fix money_format - don't give strfmon more arguments then supplied
MF5: Fix str[c]spn integer overflow
|
2007-06-06 20:06:43 +00:00 |
|
Antony Dovgal
|
43a99cebe2
|
fix folding
|
2007-06-05 13:37:05 +00:00 |
|
Ilia Alshanetsky
|
9cfd000ba3
|
MFB: Corrected fix for CVE-2007-2872
|
2007-06-03 18:53:51 +00:00 |
|
Ilia Alshanetsky
|
8cd0541be1
|
MFB: Fixed an interger overflow inside chunk_split(), identified by
Gerhard Wagner
|
2007-05-30 00:38:00 +00:00 |
|
Rasmus Lerdorf
|
8b1466fdbe
|
MFB 5_2
|
2007-05-24 21:31:35 +00:00 |
|
Rasmus Lerdorf
|
5f5563da38
|
MFB 5_2
|
2007-05-24 20:56:20 +00:00 |
|
Antony Dovgal
|
483c3034bc
|
fix segfault in strripos() when offset == INT_MAX+1
identified and repoted by Joxean Koret
|
2007-05-10 22:08:35 +00:00 |
|
Antony Dovgal
|
2f9871787e
|
fix [l]trim() in unicode mode
|
2007-04-22 19:22:19 +00:00 |
|
Antony Dovgal
|
c9b1ff5080
|
fix #40915 (addcslashes unexpected behavior with binary input)
|
2007-03-26 10:23:50 +00:00 |
|
Marcus Boerger
|
20a40063c5
|
- avoid sprintf
|
2007-02-24 16:25:58 +00:00 |
|
Antony Dovgal
|
2fd25026ea
|
fix off-by-one accidentally introduced by safe_emalloc() patch
|
2007-02-10 00:48:17 +00:00 |
|
Ilia Alshanetsky
|
e33869d395
|
MFB: Use safe_emalloc() rather then emalloc()
|
2007-01-08 14:25:49 +00:00 |
|
Sebastian Bergmann
|
3717df72ae
|
Bump year.
|
2007-01-01 09:29:37 +00:00 |
|
Andrei Zmievski
|
6212288bea
|
Unicode support in sscanf() and fscanf(). (Tony, Andrei)
|
2006-12-26 22:34:05 +00:00 |
|
Andrei Zmievski
|
757fb1e01f
|
Bite the bullet and port the natural comparison algorithm to support
UChar strings. Also, simplify the original code.
# Argggghh, post-incremented iteration sucks. That means you, U16_* stuff.
|
2006-12-21 21:47:56 +00:00 |
|
Antony Dovgal
|
d0e2e6dfe2
|
fix potential leak, improve length checks
|
2006-12-20 23:36:43 +00:00 |
|
Antony Dovgal
|
ddd8d7f3ef
|
do not allocate the return value if it wasn't requested
|
2006-12-20 23:30:11 +00:00 |
|
Andrei Zmievski
|
e722dce575
|
- Marcus was too quick. Let's put type before zstr in the macros.
- Also mark get_include_path() and restore_include_path() with U.
|
2006-12-19 21:38:59 +00:00 |
|
Ilia Alshanetsky
|
e96275d8a7
|
MFB: Less hackish support for spaces at the start of tags within
strip_tags()
|
2006-12-18 15:04:36 +00:00 |
|
Ilia Alshanetsky
|
0471dd1d94
|
MFB: Filter fixes:
Fixed possible double encoding problem with sanitizing filters
Make use of space-strict strip_tags() function
|
2006-12-18 04:24:38 +00:00 |
|
Andrei Zmievski
|
c46832a1d5
|
Make hebrev(c) support only binary strings.
|
2006-12-12 18:17:56 +00:00 |
|
Sara Golemon
|
982af2061f
|
Use proper zstr for str_getcsv() and add documentation for Andrei's peace of mind
|
2006-12-06 23:14:15 +00:00 |
|
Sara Golemon
|
fac71c77c1
|
Add str_getcsv() and fix a couple cases in recent fgetcsv() reimplementation
|
2006-12-05 04:52:44 +00:00 |
|
Stanislav Malyshev
|
40b496d63f
|
Merge from 5.2:
Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.
|
2006-12-05 02:55:27 +00:00 |
|
Andrei Zmievski
|
411f6ca0fb
|
Unicode support in var_export().
|
2006-12-04 18:55:40 +00:00 |
|