Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added money_format() function | Hartmut Holzgraefe | 2002-08-02 | 1 | -0/+22 |
| | | | | | | | 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 sapi_register_treat_data() to support multibyte input encoding ↵ | Rui Hirokawa | 2002-08-02 | 1 | -2/+2 |
| | | | | translation without MBSTR_ENC_TRANS and changed php_treat_data to php_default_treat_data. | ||||
* | Fix for #18638 (str_rot13 bug) | Rasmus Lerdorf | 2002-07-30 | 1 | -14/+11 |
| | |||||
* | - Made the trim functions use same base function. (less code :) | foobar | 2002-07-13 | 1 | -60/+34 |
| | | | | | | | - 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) | ||||
* | Fixed stripslashes when magic_quotes_sybase is enabled, and add a test for | Sander Roobol | 2002-06-18 | 1 | -5/+11 |
| | | | | | | add- and stripslashes(). # this time without cvs messing up and aborting, hopefully :) | ||||
* | fixed return types for ucwords/ucfirst when passed an empty string | Hartmut Holzgraefe | 2002-06-17 | 1 | -2/+2 |
| | |||||
* | Adjust dirname() on Win32 to match CWD per drive semantics. | Preston L. Bannister | 2002-05-16 | 1 | -4/+18 |
| | |||||
* | Grr.. I keep leaving my debug in... | Rasmus Lerdorf | 2002-05-16 | 1 | -1/+0 |
| | |||||
* | Fix for #17271 | Rasmus Lerdorf | 2002-05-16 | 1 | -1/+3 |
| | | | | | @ Fix crash bug in stripslashes() when working in sybase mode (Rasmus) | ||||
* | block_ended/opposite_target were set but never used | Sascha Schumann | 2002-05-04 | 1 | -4/+1 |
| | |||||
* | fixed directory access problem when direcory name is encoded in japanese ↵ | Rui Hirokawa | 2002-04-25 | 1 | -5/+5 |
| | | | | Shift_JIS encoding. | ||||
* | fix for #16469 | Wez Furlong | 2002-04-07 | 1 | -1/+1 |
| | |||||
* | fix for Bug #16314 | Hartmut Holzgraefe | 2002-03-27 | 1 | -3/+19 |
| | |||||
* | - Fix bug 11244 (patch by "Tal Peer" <hazgul99@hotmail.com>). | Markus Fischer | 2002-03-26 | 1 | -0/+24 |
| | | | | | # Sorry for the delay :-) | ||||
* | Make state parameter of php_strip_tags passed by reference. | Wez Furlong | 2002-03-20 | 1 | -2/+8 |
| | | | | | Move state tracking to stream structure. | ||||
* | Fix calculation of output buffer size in wordwrap(). (Thanks to Wez.) | jim winstead | 2002-03-18 | 1 | -1/+1 |
| | |||||
* | Change php_addslashes() a little. | Yasuo Ohgaki | 2002-03-12 | 1 | -19/+31 |
| | | | | | | Since most users do not use magic_quote_sybase, be nicer to users not using magic_quote_sybase. | ||||
* | - Fix warning message for join(). | Derick Rethans | 2002-03-02 | 1 | -1/+2 |
| | |||||
* | Fix for bug #15130. Way too much effort for this bug, but cleaned up code | Sean Bright | 2002-01-22 | 1 | -35/+42 |
| | | | | | | a bit, use zend_parse_parameters(), etc, etc. We only look for extensions in the basename, not the full path. | ||||
* | More tweaking of wordwrap() with the cut parameter set. It was being a | jim winstead | 2002-01-05 | 1 | -2/+4 |
| | | | | | | little too aggressive and cutting words without breaking at spaces first. (A couple of tests were incorrect.) | ||||
* | New memcpy()-based wordwrap() implementation. The simple case | jim winstead | 2002-01-05 | 1 | -98/+75 |
| | | | | | | | | | | | | | (single-character break, no forced break) appears to be about 60% faster, and there's simply no comparison for non-simple cases with non-trivial amounts of text. The old algorithm was O(n^2) (with an unfortunately large constant factor) because of the use of strncat(), the new one is O(n). Added some more tests, too. @ - Made wordwrap() significantly faster. (Jim) # test case: $t = join('',file('ChangeLog')); $w = wordwrap($t,10,"\n",1); # new code completes in less than a second. i'm still waiting for the # old code to finish. | ||||
* | Fixed segfault in wordwrap() when wrapping to zero width and using | jim winstead | 2002-01-04 | 1 | -46/+26 |
| | | | | | | | | | | | multi-character break or trying to force cut (bug #12768, now fails and issues a warning because forcing a zero-width cut doesn't make sense). Also converted to new paramater-passing API and avoid making an extra copy of the return values. # also added tests. @- Fixed segfault in wordwrap() when wrapping to zero width and using @ multi-character break or trying to force cut (bug #12768). (Jim) | ||||
* | fix for bug #14832: basename with 2nd parm corrupts source string | Hartmut Holzgraefe | 2002-01-03 | 1 | -2/+5 |
| | |||||
* | Update headers. | Sebastian Bergmann | 2001-12-11 | 1 | -2/+2 |
| | |||||
* | renamed rot13 to str_rot13() | Hartmut Holzgraefe | 2001-12-06 | 1 | -2/+2 |
| | |||||
* | ported rot13() from php3 | Hartmut Holzgraefe | 2001-12-06 | 1 | -0/+26 |
| | |||||
* | - Fix a crash when passing e.g. NULL to basename(). (Patch by Markus | Derick Rethans | 2001-12-01 | 1 | -14/+5 |
| | | | | | | Fischer <mfischer@guru.josefine.at>) #- Simplyfied code using zend_parse_parameters(). | ||||
* | Fixed bug #13901. | Andrei Zmievski | 2001-11-10 | 1 | -7/+13 |
| | |||||
* | WS fix | James Moore | 2001-11-02 | 1 | -3/+3 |
| | |||||
* | @- Fix behaviour of strtok. Bug 13866 (jmoore) | James Moore | 2001-11-02 | 1 | -1/+5 |
| | | | | | | | | | | | # I have brought the behaviour of strtok into line with how the # libc strtok's behave. currently given # <string1><token><string2><token><token>string> # three recursive calls to strtok returns <string1>. <string2>, <token><string3> # it now returns <string1>, <string2>, <string3>. (there was some # debate in #php.bugs if it should return <string1>, <string2>, false, <string3> # but php's strtok now behaves the same way as the libc version. | ||||
* | - 'Fix' for bug #13543 | Derick Rethans | 2001-10-04 | 1 | -1/+1 |
| | |||||
* | - Fix crashbug in php_chunk_split() | Derick Rethans | 2001-09-27 | 1 | -1/+1 |
| | |||||
* | Another leak bites the dust? | Zeev Suraski | 2001-09-27 | 1 | -2/+2 |
| | |||||
* | - nl2br now handles different styles of line endings in one string. (Patch | Derick Rethans | 2001-09-26 | 1 | -21/+93 |
| | | | | | | | by Boian Bonev <boian@bonev.com>) @- nl2br now handles all styles of line-endings in one string. (Boian, @ Derick) | ||||
* | 2nd phase in back-substitution those macro's | Jeroen van Wolffelaar | 2001-09-25 | 1 | -2/+2 |
| | | | | | I've got pretty much everything now... | ||||
* | Back-substitute for Z_* macro's. If it breaks some extension (the script ↵ | Jeroen van Wolffelaar | 2001-09-25 | 1 | -62/+62 |
| | | | | isn't optimal, it parses for example var->zval.value incorrect) please let me know. | ||||
* | - Fix crash bug (patch by <chocolateboy@lunomail.com>) | Derick Rethans | 2001-09-24 | 1 | -0/+5 |
| | |||||
* | Make chop the alias and rtrim the main function, in order to get automagically | Jeroen van Wolffelaar | 2001-09-23 | 1 | -4/+4 |
| | | | | | generated alias-listings correct. | ||||
* | proto fixes "double" -> "float" | Hartmut Holzgraefe | 2001-09-21 | 1 | -1/+1 |
| | |||||
* | don't use boyer_str_to_str. It is experimental | Sascha Schumann | 2001-09-21 | 1 | -1/+1 |
| | |||||
* | fix strtr() when called with two parameters. this has been broken for some time! | Thies C. Arntzen | 2001-09-13 | 1 | -1/+1 |
| | | | | | | guys, when "optimizing" functions you _shoudl_ write a testcase for the working function and make _sure_ that it works afterwards! | ||||
* | - Really fix nl2br now... it's actaulyl faster now | Derick Rethans | 2001-09-09 | 1 | -13/+15 |
| | |||||
* | - Fix for bug 11904 | Derick Rethans | 2001-09-09 | 1 | -2/+15 |
| | | | | | #- This is possibly not the best solution... feel free to improve | ||||
* | I should really learn how to spell | Sterling Hughes | 2001-09-06 | 1 | -2/+2 |
| | |||||
* | avoid lowercasing the string | Sterling Hughes | 2001-09-06 | 1 | -0/+4 |
| | |||||
* | Fixed some protos. | Egon Schmid | 2001-09-04 | 1 | -42/+42 |
| | |||||
* | Thanks sebastian | Sterling Hughes | 2001-09-04 | 1 | -1/+1 |
| | | | | | # I really like this whole qa team thingy | ||||
* | update php_trim as well... | Sterling Hughes | 2001-09-04 | 1 | -1/+1 |
| | |||||
* | fix crash bug | Sterling Hughes | 2001-09-04 | 1 | -7/+7 |
| | |||||
* | tabs -> spaces | Sterling Hughes | 2001-09-04 | 1 | -2/+2 |
| |