Xinchen Hui
4633a6f5d6
unused var
2015-01-16 12:18:59 +08:00
Xinchen Hui
e49f763482
unused variable
2015-01-16 12:16:44 +08:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Xinchen Hui
8a0bc38535
Merge branch 'zend_sort' of https://github.com/laruence/php-src
2015-01-14 22:15:41 -05:00
Dmitry Stogov
e0155d536f
Avoid string reallocation in strtr()
2015-01-14 20:58:41 +03:00
Dmitry Stogov
588e803e85
Ipmrove strtr() by maintaining a set of characters that may start a matched pattern and avoid zend_hash_find() calls for other paterns.
2015-01-14 15:04:04 +03:00
Xinchen Hui
2193de0d18
Faster sorting algo
2015-01-14 18:02:41 +08:00
Dmitry Stogov
ade7a41040
Optimized str_[i]replace to aviod reallocations and repeatable conversions to lowercase
2015-01-13 23:23:50 +03:00
Dmitry Stogov
a7ce679578
Fixed type (case sensetive/insensetive mess)
2015-01-12 22:30:55 +03:00
Dmitry Stogov
c5047d1f11
Use FAST_ZPP in few more frequently used functions
2015-01-12 19:26:12 +03:00
Dmitry Stogov
8d2a7e98db
Added special optimized cases when strtr() called with zero or one search/replace pair.
2015-01-12 16:51:59 +03:00
Xinchen Hui
2f1ddff2a5
Faster strrpos implementation
2015-01-12 17:24:37 +08:00
Stanislav Malyshev
b7a7b1a624
trailing whitespace removal
2015-01-10 15:07:38 -08:00
Dmitry Stogov
7b4808a647
Fixed bug #68636 (setlocale no longer returns current value per category).
2015-01-09 01:41:13 +03:00
Stanislav Malyshev
b946621333
fix "comparing size_t to <0" warning
2014-12-28 23:46:28 -08:00
Xinchen Hui
94d26ad4b9
Add php_string_tolower/toupper which is locale depened
2014-12-25 11:29:11 +08:00
Xinchen Hui
f26c50e320
Revert "Use zend_string_tolower in zif_strtolower"
...
This reverts commit 06abeab50c
.
2014-12-25 10:41:10 +08:00
Xinchen Hui
06abeab50c
Use zend_string_tolower in zif_strtolower
2014-12-24 08:16:17 -05:00
Dmitry Stogov
6ec5ab77df
Improved trim/ltrim/rtrim functions.
...
Now php_trim() operates on zend_string and returns zend_string (it may return the same zend_string).
2014-12-23 04:29:41 +03:00
Dmitry Stogov
ffc49acabc
Avoid NULL pointer dereferencing
2014-12-19 18:20:55 +03:00
Dmitry Stogov
4514ba016f
Improved setlocale(). Eliminated locale comparison in ext/pcre if it's not necessary.
2014-12-19 18:00:16 +03:00
Dmitry Stogov
989c6ecfb5
Improved chr() function. Use FAST_ZPP, use interned strings.
2014-12-19 05:05:30 +03:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Nikita Popov
204e3f8d5a
Drop unnecessary zval containers
2014-12-06 12:38:56 +01:00
Anatol Belski
653bba5e60
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
Fixed bug #65769 localeconv() broken in TS builds
2014-12-05 11:09:27 +01:00
Anatol Belski
0e09e5e6fa
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed bug #65769 localeconv() broken in TS builds
2014-12-05 11:08:55 +01:00
Anatol Belski
7943f944c2
Fixed bug #65769 localeconv() broken in TS builds
2014-12-05 11:06:06 +01:00
Veres Lajos
4b9535341a
typo fixes - https://github.com/vlajos/misspell_fixer
2014-11-19 20:23:00 +00:00
Anatol Belski
0a5b7d1316
refix the broken place
...
typecast from signed to unsigned of a bigger size
2014-10-25 02:13:44 +02:00
Anatol Belski
010f4b7979
fix infinite loop
2014-10-25 00:32:45 +02:00
Anatol Belski
2af99b1866
fix datatype mismatch warnings
2014-10-24 20:50:03 +02:00
Xinchen Hui
f03100cb80
Better convert
2014-10-22 17:25:41 +08:00
Nikita Popov
a3b880364f
Directly use zend_string for php_implode/php_explode
...
Also drop some unnecessary zval separations and copies
2014-10-09 12:05:56 +02:00
Nikita Popov
142a01db92
Fix a couple compile warnings
2014-09-29 20:57:17 +02:00
Nikita Popov
a770d29df7
Add smart_str_append for appending zend_strings
...
Also replaces usages in Zend/ and ext/standard
2014-09-21 20:58:31 +02:00
Nikita Popov
e33f3d3b7c
Move smart_str implementation into Zend/
...
So we can use it there as well...
For now I've retained the zend_smart_str_public.h header, though
it would probably be better to just move that one struct into
zend_types.h.
2014-09-21 20:49:39 +02:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Dmitry Stogov
bccc653185
Avoid double IS_INTERNED() check
2014-09-19 17:32:50 +04:00
Dmitry Stogov
3bc8a958c5
Fixed useless or duplicated IS_INTERNED() checks
2014-09-19 15:41:01 +04:00
Anatol Belski
dda7a01480
fix signed/unsigned mismatch
2014-09-17 00:56:40 +02:00
Anatol Belski
f2e728616c
fix signed/unsigned mismatch warnings
2014-09-17 00:56:38 +02:00
Anatol Belski
7ba43ea052
fix signed/unsigned mismatch
2014-09-16 22:15:27 +02:00
Nikita Popov
2b133e9149
Separate php_mb_reset() from php_mblen()
...
Instead of fighting against warnings ...
2014-09-03 20:37:04 +02:00
Anatol Belski
898e1570a2
fixed trim() and strtok() to work with big strings
2014-08-28 21:59:00 +02:00
Anatol Belski
8e05b9104b
fixed strip_tags() and hebrev() to work with big strings
2014-08-28 19:35:37 +02:00
Anatol Belski
6db8d4f829
's' works with size_t round 3
2014-08-27 20:49:36 +02:00
Anatol Belski
257ed4061a
's' works with size_t round 2
2014-08-27 20:49:33 +02:00
Anatol Belski
3234480827
first show to make 's' work with size_t
2014-08-27 20:49:31 +02:00
Anatol Belski
af59e92b24
master renames phase 7
2014-08-25 21:51:49 +02:00
Anatol Belski
4d997f63d9
master renames phase 3
2014-08-25 20:22:49 +02:00