summaryrefslogtreecommitdiff
path: root/ext/standard/php_string.h
Commit message (Collapse)AuthorAgeFilesLines
* 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?)
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* - MFH: Added str_getcsv()Felipe Pena2008-11-021-0/+1
|
* - MFH (lcfirst())David Coallier2008-01-191-0/+1
| | | | | - Initial test for lcfirst
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* Less hackish support for spaces at the start of tags within strip_tags()Ilia Alshanetsky2006-12-181-0/+1
|
* Adjust code to avoid TSRMLS_FETCHIlia Alshanetsky2006-08-281-1/+1
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* MFH: Nuke php3 legacyfoobar2005-12-051-2/+2
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* - Fixed bug #33200 (preg_replace(): magic_quotes_sybase=On makes 'e' ↵foobar2005-05-311-0/+1
| | | | modifier misbehave)
* - Fixed bug #30630: Added a BSD based strtod function that isDerick Rethans2004-11-031-1/+1
| | | | | locale-independent. (PHP part)
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-2/+2
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* Fixed ZTS build.Ilia Alshanetsky2003-12-101-1/+1
|
* Fix bug #26574 (basename() doesn't work properly with multibyte characters)Moriyoshi Koizumi2003-12-101-1/+1
|
* Expose the macro globallyMoriyoshi Koizumi2003-12-101-0/+10
|
* Added substr_compare().Ilia Alshanetsky2003-10-301-0/+1
|
* Fix Bug#24784 single character search keys not respecting case ↵Sara Golemon2003-07-251-0/+1
| | | | sensitivity/replace count parameters.
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* basename() now binary safe, testcases addedHartmut Holzgraefe2003-05-051-1/+1
|
* Modify str_replace/str_ireplace to report how many needles were matched. (FR ↵Sara Golemon2003-04-131-1/+1
| | | | #8218)
* Forgot about this one :)Moriyoshi Koizumi2003-04-121-1/+1
|
* Remove php_memnstr (it's in ZE now).Andrei Zmievski2003-04-081-25/+0
|
* * email address changeStig Bakken2003-03-181-1/+1
|
* Made strip_tags() binary safeMoriyoshi Koizumi2003-02-241-1/+1
|
* Added strpbrk(), which is essentially a wrapper around C's strpbrk functionIlia Alshanetsky2003-02-111-0/+1
| | | | | that allows searching through a string for a character list.
* Added str_split() function. This function can be used to break down aIlia Alshanetsky2003-02-071-0/+1
| | | | | string into an array.
* Feature Request # 5919 - Addition of str_ireplace()Sara Golemon2003-01-301-0/+3
| | | | | | Also removed deprecated BM str replace menthod Also rewrote php_str_to_str to use more processor/memory efficient method (ilia)
* Added part of strpos commit that never made it in for some reason.Ilia Alshanetsky2003-01-291-0/+2
| | | | | # Thanks Pollita.
* Move rot13 filter into a new filters.c source file.Wez Furlong2003-01-011-3/+0
| | | | | | | Tidy up some other filter related code. # win32 -> someone please add user_filters.c and filters.c to the .dsp
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* Renamed word_count to str_word_count to comply with naming conventions.Ilia Alshanetsky2002-10-171-1/+1
| | | | | Thanks Andi, for catching this oversight.
* Added word_count() function that allows counting of words inside a string.Ilia Alshanetsky2002-10-171-0/+1
| | | | | The function also allows the user to retrieve all the words from a string.
* Fixed bug #19865Ilia Alshanetsky2002-10-111-1/+1
|
* Optimizations to various php string functions substr_count(), strrev(),Ilia Alshanetsky2002-10-091-8/+13
| | | | | nl2br(), php_addslashes() and php_memnstr().
* str_shuffle() function added. Like shuffle() for arrays - however theAndrey Hristov2002-09-251-0/+1
| | | | | | algorithm for creating the permutation is quite simple. More like the implementation of shuffle() for 4.2.1 .
* Implement filter API for streams.Wez Furlong2002-08-201-0/+3
| | | | | | | | | | | | | | | | | | Filters can be stacked onto a stream; more details will follow in docs and on php-dev. Implement "string.rot13" filter Allows the following script: $fp = fopen("file.txt", "r"); stream_filter_prepend($fp, "string.rot13"); // File contents will be subject to a rot13 transformation before // being output. fpassthru($fp); fclose($fp);
* added money_format() functionHartmut Holzgraefe2002-08-021-1/+3
| | | | | | | this is similar to C-libs strfmon(), using the same format string semantics but a different function prototype, so i decided to give it a more speaking name similar to number_format()