summaryrefslogtreecommitdiff
path: root/ext/standard/php_string.h
Commit message (Collapse)AuthorAgeFilesLines
* MFH: - Fixed bug #33200 (preg_replace(): magic_quotes_sybase=On makes 'e' ↵foobar2005-05-311-0/+1
| | | | modifier misbehave)
* - MFH: 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()
* - Made the trim functions use same base function. (less code :)foobar2002-07-131-5/+1
| | | | | | | - Renamed php_trim2 -> php_trim (not used anyplace else, yet) - Made php_trim abit more usable for external use. (not necessary to use zvals with it anymore)
* Adding missing prototypeFrank M. Kromann2002-07-031-0/+4
|
* Make state parameter of php_strip_tags passed by reference.Wez Furlong2002-03-201-1/+1
| | | | | Move state tracking to stream structure.
* Maintain headers.Sebastian Bergmann2002-02-281-2/+2
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* Make chop the alias and rtrim the main function, in order to get automagicallyJeroen van Wolffelaar2001-09-231-1/+1
| | | | | generated alias-listings correct.
* - Really fix nl2br now... it's actaulyl faster nowDerick Rethans2001-09-091-1/+1
|
* update php_trim as well...Sterling Hughes2001-09-041-1/+1
|
* fix crash bugSterling Hughes2001-09-041-4/+4
|
* WhitespaceZeev Suraski2001-08-111-1/+1
|
* @- Added vprintf() and vsprintf() functions that allow passing all argumentsAndrei Zmievski2001-08-071-0/+2
| | | | | @ after format as an array. (Andrei)
* more tsrm cleanupSascha Schumann2001-08-061-5/+5
|
* Fix ZTS build.Sebastian Bergmann2001-08-051-1/+1
|
* Added proto for php_charmask in the .hJeroen van Wolffelaar2001-08-051-0/+1
|
* Fix Win32 (and maybe other ZTS) builds.Sebastian Bergmann2001-08-041-1/+1
|
* Un-revert patchJeroen van Wolffelaar2001-08-031-0/+1
|
* Reverting last patch, segfaults.Jeroen van Wolffelaar2001-08-031-1/+0
|
* - Added new parameter to [l|r]trim, to specify _what_ to trimJeroen van Wolffelaar2001-08-031-0/+1
| | | | | | @- Added optional second parameter to trim, chop and ltrim. You can @ now specify which characters to trim (jeroen)
* Drop memchr() in php_memnstr in favor of manual scanning. This reducesSascha Schumann2001-07-211-6/+12
| | | | | the complexity of the function and is about 20% faster on Linux/x86.
* (PHP nl_langinfo) Added function when provided by OSWez Furlong2001-07-041-0/+4
| | | | | | | | | (PHP htmlentities, htmlspecialchars) Uses nl_langinfo to determine charset @- Added nl_langinfo() (when OS provides it) that returns locale information. (Wez Furlong) # There are a lot of constants used by nl_langinfo; should we do something # along the lines of what we do for syslog?
* @added optional suffix removal parameter to basename() (Hartmut)Hartmut Holzgraefe2001-06-231-1/+1
| | | | | | added optional suffix removal parameter to basename() this makes it more simmilar to the basename command
* fixed a (C++) warning about implicit conversion from void*Stephen van Egmond2001-03-171-1/+1
|