Ilia Alshanetsky
|
60e20922eb
|
Use safe_emalloc() rather then emalloc()
|
2007-01-08 14:24:59 +00:00 |
|
Sebastian Bergmann
|
4223aa4d5e
|
MFH: Bump year.
|
2007-01-01 09:36:18 +00:00 |
|
Antony Dovgal
|
0abe62e027
|
MFH
|
2006-12-20 23:36:56 +00:00 |
|
Antony Dovgal
|
a0e2ccf490
|
MFH
|
2006-12-20 23:30:30 +00:00 |
|
Ilia Alshanetsky
|
090e14dfda
|
Less hackish support for spaces at the start of tags within strip_tags()
|
2006-12-18 15:02:16 +00:00 |
|
Ilia Alshanetsky
|
7d7248390c
|
Filter fixes:
Fixed possible double encoding problem with sanitizing filters
Make use of space-strict strip_tags() function
|
2006-12-18 04:22:05 +00:00 |
|
Ilia Alshanetsky
|
563221783a
|
Removed deadcode found by Ron Korving
|
2006-12-13 15:39:12 +00:00 |
|
Stanislav Malyshev
|
6b651f8e60
|
Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.
# Gives 10-18% speedup on bench.php
# Does not change behaviour for non-windows
|
2006-12-04 18:37:15 +00:00 |
|
Antony Dovgal
|
93fc85b2af
|
MFH: fix #39621 (str_replace() is not binary safe on strings with equal length)
|
2006-11-24 21:59:09 +00:00 |
|
Ilia Alshanetsky
|
07cdfefdee
|
Fixed bug #39350 (crash with implode("\n", array(false))).
|
2006-11-06 17:21:05 +00:00 |
|
Ilia Alshanetsky
|
a39201675f
|
Catch empty strings right away.
|
2006-10-11 14:19:55 +00:00 |
|
Antony Dovgal
|
9b7ba01618
|
MFH: avoid reading str[-1], add warning when invalid format specified
add test
|
2006-10-11 13:15:30 +00:00 |
|
Andrei Zmievski
|
e779c3aa36
|
Increment replace count value for case-sensitive single char searches.
|
2006-10-05 18:23:19 +00:00 |
|
Antony Dovgal
|
d8648eae57
|
MFH: fix #39032 (strcspn() stops on null character)
|
2006-10-04 11:14:32 +00:00 |
|
Ilia Alshanetsky
|
8581c7328f
|
optimize zend_hash_init() with known hash table sizes.
|
2006-10-03 17:41:47 +00:00 |
|
Andrei Zmievski
|
5c96544b7d
|
Use php_error_docref() instead.
|
2006-10-02 20:07:14 +00:00 |
|
Andrei Zmievski
|
007c6ff8d9
|
More offset fixes. Added E_NOTICE where appropriate.
|
2006-10-02 19:58:15 +00:00 |
|
Andrei Zmievski
|
c36d94aac2
|
Fix invalid memory access in strrpos().
|
2006-10-02 19:42:42 +00:00 |
|
Antony Dovgal
|
0c482b5c64
|
more z/Z fixes
|
2006-08-31 14:21:21 +00:00 |
|
Ilia Alshanetsky
|
1b9e18d471
|
Corrected problems introduced by previous commit.
# Issue found by Stefan
|
2006-08-29 19:50:04 +00:00 |
|
Ilia Alshanetsky
|
7c618c40bc
|
Finalize implode() patch
|
2006-08-29 14:32:16 +00:00 |
|
Antony Dovgal
|
ffc3d4a076
|
fix win32 build
EG(precision) can be changed in runtime, even in php_implode() (hint: __toString()), so please think twice before optimizing
|
2006-08-29 12:20:18 +00:00 |
|
Ilia Alshanetsky
|
914d362176
|
Adjust code to avoid TSRMLS_FETCH
|
2006-08-28 23:33:37 +00:00 |
|
Antony Dovgal
|
615f2d7295
|
fix ZTS build
|
2006-08-28 09:56:28 +00:00 |
|
Ilia Alshanetsky
|
78d7b0bf0e
|
Optimize the operation of implode() on non-string parameters
|
2006-08-27 19:06:09 +00:00 |
|
Antony Dovgal
|
d5c9b41db1
|
fix implode() function (see http://news.php.net/php.qa/26876)
add test
|
2006-08-22 19:55:56 +00:00 |
|
Ilia Alshanetsky
|
a4d2f04307
|
Fixed overflow on 64bit systems in str_repeat() and wordwrap().
Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are
enabled.
# Patches by Stefan E.
|
2006-08-10 14:40:13 +00:00 |
|
Antony Dovgal
|
1a4b715ef2
|
use memrchr/zend_memrchr instead of strrchr
|
2006-08-08 10:22:25 +00:00 |
|
Antony Dovgal
|
a28a95c11a
|
MFH: patch for #37846 (wordwrap() wraps incorrectly)
by Dmitry Kononov <ddk at krasn dot ru>
|
2006-07-28 12:23:18 +00:00 |
|
Michael Wallner
|
c0fcaa7acb
|
- fix bug #37945 pathinfo() cannot handle argument with special characters
like german "Umlaute"
|
2006-07-17 20:36:47 +00:00 |
|
Antony Dovgal
|
f3f44275f4
|
MFH
|
2006-07-17 06:45:08 +00:00 |
|
Marcus Boerger
|
f03f2c5eae
|
- MFH Pathinfo allows to get filename (Toby S, Christian S)
|
2006-07-16 10:37:24 +00:00 |
|
Antony Dovgal
|
3cce465528
|
fix invalid read - no need to compare strings if haystack is "" or shorter than needle
add test
|
2006-07-12 12:33:48 +00:00 |
|
Hannes Magnusson
|
ec420c3df8
|
Updated protos & vim folding
|
2006-06-26 18:48:56 +00:00 |
|
Ilia Alshanetsky
|
d74f9ff550
|
Improved performance of the implode() function on associated arrays by
200-300%.
|
2006-06-11 21:55:49 +00:00 |
|
Ilia Alshanetsky
|
37d88ca5a0
|
Improved performance of str_replace() when doing 1 char to 1 char or 1 char
to many chars replacement by 30-40%.
|
2006-06-10 15:29:06 +00:00 |
|
Ilia Alshanetsky
|
91bd50d1b0
|
Fixed bug #37394 (substr_compare() returns an error when offset equals
string length).
|
2006-05-10 13:07:15 +00:00 |
|
Antony Dovgal
|
896a5216d7
|
fix possible substr_compare() crash
add new tests
|
2006-04-25 12:48:42 +00:00 |
|
Antony Dovgal
|
bace0def1e
|
fix spelling in error messages:
greater/less thEn -> greater/less thAn
|
2006-04-03 09:14:33 +00:00 |
|
Antony Dovgal
|
ef3d879315
|
MFH: add brackets and clarity
|
2006-03-14 15:15:22 +00:00 |
|
Ilia Alshanetsky
|
0a076b11df
|
Fixed offset/length parameter validation in substr_compare() function.
|
2006-03-14 14:55:13 +00:00 |
|
Ilia Alshanetsky
|
80ea07d30c
|
Added overflow checks to wordwrap() function.
|
2006-03-13 14:37:10 +00:00 |
|
Marcus Boerger
|
5a69b29082
|
- Warning fixes by Steph
|
2006-02-26 10:57:00 +00:00 |
|
foobar
|
f80f58168c
|
nuke ws pollution
|
2006-01-29 17:54:45 +00:00 |
|
Pierre Joye
|
2bfe34e06d
|
- MFH: #36185 str_rot13(NULL) crash
|
2006-01-28 00:14:01 +00:00 |
|
Antony Dovgal
|
6fcc365c75
|
MFH: fix typo
|
2006-01-05 20:49:37 +00:00 |
|
foobar
|
5bd93221a8
|
bump year and license version
|
2006-01-01 12:51:34 +00:00 |
|
Antony Dovgal
|
1b7e3fe2a5
|
MFH: fix spelling and #35665
|
2005-12-14 00:54:29 +00:00 |
|
foobar
|
d0a54af4c5
|
MFH: Nuke php3 legacy
|
2005-12-05 22:54:01 +00:00 |
|
Ilia Alshanetsky
|
0242b892d2
|
Fixed bug #35427 (str_word_count() handles '-' incorrectly).
|
2005-11-29 16:14:19 +00:00 |
|