Commit Graph

511 Commits

Author SHA1 Message Date
Antony Dovgal
41fad0ad77 fix spelling and #35665 2005-12-14 00:54:04 +00:00
Antony Dovgal
749c6e3016 fix #35617
no need to separate zvals twice
2005-12-09 22:26:39 +00:00
Dmitry Stogov
7810872573 Support for 64-bit platforms 2005-12-09 13:41:06 +00:00
foobar
0ac2b74b0b - Nuke php3 legacy 2005-12-05 22:53:34 +00:00
Ilia Alshanetsky
7f66777bbf MFB51: Fixed bug #35427 (str_word_count() handles '-' incorrectly). 2005-11-29 16:14:47 +00:00
Derick Rethans
574a210973 - Fixed protos. 2005-11-12 14:56:35 +00:00
Frank M. Kromann
82c00c179d Make sure haystack_len is initialized before it's used 2005-10-28 19:29:29 +00:00
Rolland Santimano
37d12b82b3 - Unicode impl of strrchr() 2005-10-24 14:35:02 +00:00
Rolland Santimano
a948324778 - php_u_stristr: Remove leading back-slash ... sheesh 2005-10-22 13:36:55 +00:00
Rolland Santimano
68487a234e - php_u_stristr: s/codepts/codepoints/ - make Jani happy 2005-10-22 13:32:51 +00:00
Rolland Santimano
03b7fe7666 - Unicode impl of strpbrk() 2005-10-22 13:25:00 +00:00
Rolland Santimano
c36ac8de3d - php_u_stristr: Code comments 2005-10-22 05:52:53 +00:00
Rolland Santimano
5ca019aad3 - Unicode impl of stristr() 2005-10-20 19:25:54 +00:00
Rolland Santimano
8ed78ae796 - Unicode impl of str[c]spn() 2005-10-19 19:10:13 +00:00
Rolland Santimano
a9ce7d32e4 - Unicode impl of stripos() 2005-10-17 19:50:13 +00:00
Rolland Santimano
b277b1d1c0 - Unicode impl of strrpos() 2005-10-17 17:07:44 +00:00
Derick Rethans
a923f3d6f0 - Fixed folding markers. 2005-10-15 12:50:20 +00:00
Dmitry Stogov
7adf1a259c Fixed unicode support for strip_tags() 2005-10-12 11:00:47 +00:00
Rolland Santimano
07ff8d5632 - strip_tags(): some fixes, still AWiP 2005-10-05 12:16:02 +00:00
Dmitry Stogov
c8aa7f6088 Fixed compilation error (gcc-4). 2005-10-04 06:33:10 +00:00
Rolland Santimano
11d1574211 - Unicode impl of strip_tags() 2005-10-03 17:00:00 +00:00
Rolland Santimano
eea40f95d8 - Unicode impl of similar_text() 2005-10-03 06:14:10 +00:00
Rolland Santimano
2dc1c72917 - substr_replace(): call correct funcn for string conversion 2005-09-30 13:19:15 +00:00
Rolland Santimano
c893c70275 - Unicode impl of strtok() 2005-09-29 11:05:30 +00:00
Rolland Santimano
6f06e93237 - Updated addslashes(): add codepoints directly rather than with zend_codepoint_to_uchar() 2005-09-29 09:33:38 +00:00
Ilia Alshanetsky
146517684d Fixed possible GLOBALS variable override when register_globals are ON.
Fixed possible register_globals toggle via parse_str().
2005-09-28 22:31:29 +00:00
Rolland Santimano
c775c4cf83 - Updated substr_replace() to use:
- zend_get_unified_string_type()/convert_to_explicit_type() for type conversion
  - u_countChar32() for counting codepoints
2005-09-28 14:58:31 +00:00
Rolland Santimano
227791e5af - Unicode impl of {add,strip}slashes() 2005-09-28 09:22:08 +00:00
Ilia Alshanetsky
200d5924cf Allow substr_compare() to take a negative offset to facilitate start of the
comparison from the end of string.
2005-09-26 23:08:10 +00:00
Rolland Santimano
05e365bab3 - str_pad(): Use u_countChar32() for codepoint counting, eumalloc/eurealloc() for Unicode mallocs. 2005-09-09 19:07:18 +00:00
Derick Rethans
9d04a8e369 - Make ord() work on binary strings too. 2005-09-08 14:07:40 +00:00
Dmitry Stogov
b0b0f8147d Fixed craches in substr_replace() 2005-09-08 12:40:01 +00:00
Rolland Santimano
a441e78984 - Unicode impl of substr_replace() 2005-09-08 05:05:36 +00:00
Dmitry Stogov
18e259480e Fixed unicode support for substr_count() 2005-09-07 07:00:03 +00:00
Rolland Santimano
8404034552 Pointer arithmetic with char * rather than void * 2005-09-05 16:37:45 +00:00
Rolland Santimano
8d5d2125d0 - Unicode impl of str_pad() 2005-09-05 10:55:35 +00:00
Dmitry Stogov
a3b7eb2284 Fixed gcc 4 compatibility 2005-08-29 06:51:14 +00:00
Rolland Santimano
c7ad26fbf4 - Unicode impl of substr_count() 2005-08-27 19:14:05 +00:00
Rolland Santimano
c81d6d6cfd - Updated strrev() to handle base+combining sequences 2005-08-26 10:21:07 +00:00
Dmitry Stogov
8f6f97a77d Unicode support 2005-08-23 12:53:31 +00:00
Dmitry Stogov
f4b8f4e958 Unicode support cleanup 2005-08-23 09:33:46 +00:00
Dmitry Stogov
e404ee456b Fixed unicode support for ltrim() 2005-08-22 14:14:10 +00:00
Andrei Zmievski
23086f5f1c Unicode support for ord() and chr(). 2005-08-19 22:00:21 +00:00
Andrei Zmievski
676a3cf46e Use RETVAL_ASCII_STRINGL() here. 2005-08-19 17:53:03 +00:00
Rolland Santimano
973e98f51e - Unicode capable impl() of strrev() 2005-08-19 10:59:19 +00:00
Andrei Zmievski
0b036a8fdc Use u_totitle() instead of u_toupper() in ucwords(). 2005-08-18 22:37:22 +00:00
Rolland Santimano
fd4e6da642 - Removed 'proto' from description of internal funcns: ucfirst()/ucwords() 2005-08-18 05:53:46 +00:00
Rolland Santimano
412dac1576 Unicode-capable impl of ucwords() 2005-08-17 20:29:00 +00:00
Andrei Zmievski
202bb697fd Fix bin2hex() to work on binary data and return strings of correct type. 2005-08-17 17:39:04 +00:00
Rolland Santimano
ed370daef5 Unicode impl of ucfirst() 2005-08-17 17:33:19 +00:00