summaryrefslogtreecommitdiff
path: root/ext/standard/php_string.h
Commit message (Collapse)AuthorAgeFilesLines
* Constify char * arguments of APIstwosee2020-06-081-6/+6
| | | | Closes GH-5676.
* Remove now unnecessary PHP_FUNCTION() declarationsNikita Popov2020-04-031-73/+0
|
* Drop wchar header check as always defined since C95George Peter Banyard2020-03-311-5/+2
|
* Add str_contains() functionPhilipp Tanlak2020-03-161-0/+1
| | | | | | RFC: https://wiki.php.net/rfc/str_contains Closes GH-5179.
* Avoid used of "named fn" in ext/standardNikita Popov2020-02-251-2/+2
|
* Remove state pointer argument from php_strip_tagsNikita Popov2020-01-271-2/+2
|
* Remove support for mixing parameter order in implode()Máté Kocsis2019-12-121-1/+1
|
* Remove money_format() functionMáté Kocsis2019-12-051-3/+0
|
* Remove hebrevc() functionMáté Kocsis2019-12-051-1/+0
|
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Remove HAVE_STRCOLL checkPeter Kokot2019-06-281-2/+0
| | | | | | | | | The strcoll function is defined in the C89 standard and should be on today's systems always available via the <string.h> header. https://port70.net/~nsz/c/c89/c89-draft.html#4.11.4.3 - Remove also SKIPIF strcoll check in test
* Remove HAVE_STRERRORPeter Kokot2019-04-081-5/+0
| | | | | | | | | | | Checking for the strerror function presence is no longer needed since it is part of the C89 standard [1] and can be safely assumed that all current systems have it. Check in the configure.ac and Windows defined symbol are still left until the file library (libmagic) will be updated. [1]: https://port70.net/~nsz/c/c89/c89-draft.html
* Remove checks for locale.h, setlocale, localeconvPeter Kokot2019-04-071-5/+1
| | | | | | | | | | | | | | | | | | | The `<loccale.h>` header file, setlocale, and localeconv are part of the standard C89 [1] and on current systems can be used unconditionally. Since PHP 7.4 requires at least C89 or greater, the `HAVE_LOCALE_H`, `HAVE_SETLOCALE`, and `HAVE_LOCALECONV` symbols defined by Autoconf in configure.ac [2] can be ommitted and simplifed. The bundled libmagic (file) has also been patched already in version 5.35 and up in upstream location so when it will be patched also in php-src the check for locale.h header is still left in the configure.ac and in windows headers definition file. [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.4 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 Omit the bundled libmagic files
* Make ABI of SIMD optimized functions independent of compiler flagsNikita Popov2019-02-141-5/+0
| | | | | Always export these as normal functions and only use function pointers internally if necessary.
* Remove yearly range from copyright noticeZeev Suraski2019-01-301-1/+1
|
* 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
| |