summaryrefslogtreecommitdiff
path: root/ext/standard/string.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix ZTS build (broken by iconv-related changes).Sascha Schumann2001-01-081-0/+2
|
* added iconv_set_encoding() to change the encoding setting.Rui Hirokawa2001-01-081-1/+27
|
* added a output handler function ob_iconv_handler which tranforms output ↵Rui Hirokawa2001-01-081-25/+70
| | | | encoding using iconv().
* Make nl2br() output <br /> instead of <br> to be XHTML compliant.Jon Parise2000-12-281-1/+1
| | | | | Bug: 8390
* Heads up people!Zeev Suraski2000-12-221-2/+1
| | | | | | Updated the get_current_key() API - the relevant authors, please take a look at the updated code and make sure it's ok...
* @- Changed setlocale() to use LC_* constants. (Jani)foobar2000-12-211-22/+32
|
* Don't do anything, if the input string has a length of 0.Sascha Schumann2000-12-171-0/+4
| | | | | PR: #7686
* @Added iconv() function (using libc or libiconv) (Stig)Stig Bakken2000-12-151-0/+53
|
* Don't define LC_MESSAGES, if LC_MESSAGES is not defined.Sascha Schumann2000-12-141-1/+1
| | | | | PR: #8259
* Fix crash when first argument to strtr is emptyStanislav Malyshev2000-12-131-0/+5
|
* Fix Win32 buildZeev Suraski2000-12-111-1/+3
|
* Added constants for locale categories.foobar2000-12-101-0/+11
|
* Fixing bug 8061. Position counter starts a 0 but was compared with length.Frank M. Kromann2000-12-011-1/+1
| | | | | oops. the fix should be made twice.
* Fixing bug 8061. Position counter starts a 0 but was compared with length.Frank M. Kromann2000-12-011-1/+1
|
* removing '{' was certainly not intendedSascha Schumann2000-11-221-1/+1
|
* Don't access opt, if opt was not set.Sascha Schumann2000-11-221-3/+3
|
* Fix bug #7667.Andrei Zmievski2000-11-061-5/+3
|
* Let strtr() use smart_str to reduce complexitySascha Schumann2000-10-121-23/+10
|
* Rewrite php_str_to_str using the smart_str API.Sascha Schumann2000-10-121-43/+19
| | | | | | | | This removes much complexity from the function. Speed is improved by pre-allocating memory instead of reallocating the buffer each time the pattern is found.
* - Fix dirname()Andi Gutmans2000-10-031-29/+47
|
* - Fix VC++ warningAndi Gutmans2000-10-031-1/+2
|
* Move php_memnstr to the header file, so that the function body is availableSascha Schumann2000-09-271-14/+0
| | | | | in all compilation units (note the static linkage).
* Add empty string checks to add?slashesStanislav Malyshev2000-09-171-0/+14
|
* reversed chomp alias addition as per Andi Gutmans' requestDaniel Beckham2000-09-121-4/+0
|
* added chomp() alias for chop() for us Perl purists.Daniel Beckham2000-09-121-0/+4
|
* Make parse_str always register globals with 1 argument and never -Stanislav Malyshev2000-09-121-5/+6
| | | | | with 2 arguments
* A quick attempt to make parse_str($str,$arr) not register globals.Stanislav Malyshev2000-09-121-0/+3
|
* - Fix for bug #6673Derick Rethans2000-09-111-20/+37
| | | | | | | - Added a "cut" option to wordwrap (as per feature request #6429) @ Added an optional parameter to wordwrap that cuts a string if the length of a word is longer than the maximum allowed with (Derick)
* (PHP parse_str) ParameterPassedByReference() check is not necessary.Andrei Zmievski2000-09-111-10/+0
|
* Add additional parameter to parse_str for saving result (thanks toStanislav Malyshev2000-09-111-5/+32
| | | | | | John Bafford <dshadow@zort.net>) @ Added second parameter for parse_str to save result (John Bafford)
* (PHP pathinfo) Fixed more typos.Andrei Zmievski2000-09-111-3/+3
|
* (PHP pathinfo) Fixed leaks, saved some memory allocations, addedAndrei Zmievski2000-09-111-25/+29
| | | | | more error checking.
* @- Added the pathinfo() function. (Sterling)Sterling Hughes2000-09-101-4/+71
|
* str_repeat() should be able to handle multipliers of 0 gracefully, IMHO ...Colin Viebrock2000-09-051-2/+6
| | | | | Hope no one disagrees. :)
* #Its fixed this time, no really.Sterling Hughes2000-08-181-1/+1
|
* Fix #6234Sterling Hughes2000-08-181-0/+1
|
* Fix chunk_split (#6208)Stanislav Malyshev2000-08-171-3/+7
|
* Changed some protos.Egon Schmid2000-08-061-3/+3
|
* Fix bug in strip_tags function as per bug #5857Rasmus Lerdorf2000-07-301-0/+1
| | | | | @ Fix bug in strip_tags function as per bug #5857 (Rasmus)
* Protos fixed.Egon Schmid2000-07-261-3/+3
|
* wordwrap function from Chris Russel <russel@yorku.ca>David Croft2000-07-221-0/+138
| | | | | | | | | | | | differences from his patch: - wordwrap width and wrap-string now optional parameters (default to 75 and "\n" respectively) - wordwrap_byte is now just an automatic special case of wordwrap - Zend API compliant @- Added new function "wordwrap" to wordwrap long strings from Chris @ Russel <russel@yorku.ca> (David Croft)
* (php_addslashes) Fixed stop condition - it should only take into accountAndrei Zmievski2000-07-211-1/+2
| | | | | the length of the string, not the characters.
* fix for bug #5707Hartmut Holzgraefe2000-07-201-1/+7
|
* Shutup a gcc warningZeev Suraski2000-07-181-1/+1
|
* Fix crash in stripcslashes("") (#5628)Stanislav Malyshev2000-07-171-1/+4
|
* Fixed other protos.Egon Schmid2000-07-091-3/+3
|
* Eliminated a typo.Egon Schmid2000-07-081-1/+1
|
* @- Updated str_pad() to be able to pad on left/right/both sides. (Andrei)Andrei Zmievski2000-07-081-22/+62
|
* (implode), (strtr) no longer touch the internal array-pointer.Thies C. Arntzen2000-06-181-10/+12
|
* - Fix a couple of wranings in the FTP code and in parsedate.yZeev Suraski2000-06-171-1/+1
| | | | | | - Be safer with LC_MESSAGES - Align with the latest Zend change in call_user_function_ex()