summaryrefslogtreecommitdiff
path: root/ext/standard/php_string.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Changed php_add[c]slashes prototypes (removed should_free argument)Dmitry Stogov2018-06-291-3/+4
|
* Remove outdated comments about PHP 3Peter Kokot2018-06-271-2/+0
|
* Use const pointers where appropriateAnatol Belski2018-03-161-2/+2
|
* Fixed build (extern php_stripslashes)Bob Weinand2018-02-281-1/+1
|
* Optimized php_stripslash with SSSE3 instrXinchen Hui2018-02-211-1/+2
|
* Implement intrinsic function resolving per MINITAnatol Belski2018-01-241-0/+7
|
* Trailing whitespaces on ext/*Gabriel Caruso2018-01-041-3/+3
| | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
* year++Xinchen Hui2018-01-021-1/+1
|
* Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-2/+2
|
* Move utf8_encode and utf8_decode to ext/standardAndrea Faulds2016-10-171-0/+2
|
* reduce size of stream structAnatol Belski2016-10-051-2/+2
| | | | 32 bytes are spared on 64-bit build
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | Explicitly ignore mblen(NULL, 0) retvalNikita Popov2015-07-161-1/+1
| |
* | Cleanup (avoid reallocatios and side effects in php_strip_tags)Dmitry Stogov2015-07-011-2/+2
| |
* | fix mbrlen prototype availabilityAnatol Belski2015-05-181-0/+3
| |
* | Use zend_string in case we will optimize themXinchen Hui2015-01-201-3/+3
| |
* | Remove addslashes_strXinchen Hui2015-01-201-1/+0
| |
* | Optimized php_addslashesXinchen Hui2015-01-191-1/+2
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | Optimized str_[i]replace to aviod reallocations and repeatable conversions ↵Dmitry Stogov2015-01-131-4/+0
| | | | | | | | to lowercase
* | Add php_string_tolower/toupper which is locale depenedXinchen Hui2014-12-251-0/+2
| |
* | Improved trim/ltrim/rtrim functions.Dmitry Stogov2014-12-231-1/+1
| | | | | | | | Now php_trim() operates on zend_string and returns zend_string (it may return the same zend_string).
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-9/+9
| |
* | Directly use zend_string for php_implode/php_explodeNikita Popov2014-10-091-2/+2
| | | | | | | | Also drop some unnecessary zval separations and copies
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | Separate php_mb_reset() from php_mblen()Nikita Popov2014-09-031-5/+6
| | | | | | | | Instead of fighting against warnings ...
* | master renames phase 3Anatol Belski2014-08-251-14/+14
| |
* | master renames phase 1Anatol Belski2014-08-251-1/+1
| |
* | fixes to string functionsAnatol Belski2014-08-181-9/+9
| |
* | several fixes -Anatol Belski2014-08-161-6/+6
| | | | | | | | | | | | - param parsing Z_PARAM_STR vs Z_PARAM_STRING - some functions for new params - etc
* | Refactor php_addslashes using zend_stringXinchen Hui2014-02-241-1/+1
| |
* | Refactor php_str_to_str returning zend_stringXinchen Hui2014-02-231-4/+4
| |
* | Refactor basename using zend_stringXinchen Hui2014-02-231-1/+1
| |
* | Refactor php_addcslashes using zend_stringXinchen Hui2014-02-221-2/+2
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Fixed bug #65947 (basename is no more working after fgetcsv in certain ↵Xinchen Hui2013-11-081-1/+1
| | | | | | | | | | | | | | | situation) previous codes: "#define php_mblen(ptr, len) ((ptr) == NULL ? mbsinit(&BG(mblen_state)): (int)mbrlen(ptr, len, &BG(mblen_state)))# it use mbsinit there, seems try to initialize the mblen_state, but: "This function does not change the state identified by ps. Typical ways to make the state pointed by ps an initial state are: memset (ps,0,sizeof(*ps)); // ps points to zero-valued object " http://www.cplusplus.com/reference/cwchar/mbsinit/?kw=mbsinit
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* Fixed ZE specific compile warnings (Bug #55629)Dmitry Stogov2011-09-131-2/+2
|
* add support for SORT_NATURAL and SORT_FLAG_CASE in array sort functionsArpad Ray2011-08-291-0/+4
|
* - remove magic quotes support, functions are kept (see the NEWS entry for ↵Pierre Joye2011-07-221-1/+0
| | | | the details) for BC reasons but do not allow to set enable MQ
* Added fabled hex2bin() functionScott MacVicar2011-06-031-0/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* standardise and clean up string functions parameter parsingStanislav Malyshev2009-08-131-1/+1
|
* MFH: explode() stuff:Matt Wilmas2009-04-011-1/+1
| | | | | | | | | | - Fixed bug #47560 (explode()'s limit parameter odd behaviour) by reverting change for bug #47546 - Changed int to long where needed (should fix memory errors from overflow seen in bug #47854) - Simplified logic a bit with limit and its default value - php_explode_negative_limit(): removed safe_emalloc (not needed; plain erealloc is used later) - Moved declarations/allocation to optimize if the delimiter isn't found - Changed ALLOC_STEP size for less realloc's (and maybe better memory block alignment?)