summaryrefslogtreecommitdiff
path: root/ext/standard/string.c
Commit message (Collapse)AuthorAgeFilesLines
* - Fix crashbug in php_chunk_split()Derick Rethans2001-09-271-1/+1
|
* Another leak bites the dust?Zeev Suraski2001-09-271-2/+2
|
* - nl2br now handles different styles of line endings in one string. (PatchDerick Rethans2001-09-261-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'sJeroen van Wolffelaar2001-09-251-2/+2
| | | | | I've got pretty much everything now...
* Back-substitute for Z_* macro's. If it breaks some extension (the script ↵Jeroen van Wolffelaar2001-09-251-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 Rethans2001-09-241-0/+5
|
* Make chop the alias and rtrim the main function, in order to get automagicallyJeroen van Wolffelaar2001-09-231-4/+4
| | | | | generated alias-listings correct.
* proto fixes "double" -> "float"Hartmut Holzgraefe2001-09-211-1/+1
|
* don't use boyer_str_to_str. It is experimentalSascha Schumann2001-09-211-1/+1
|
* fix strtr() when called with two parameters. this has been broken for some time!Thies C. Arntzen2001-09-131-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 nowDerick Rethans2001-09-091-13/+15
|
* - Fix for bug 11904Derick Rethans2001-09-091-2/+15
| | | | | #- This is possibly not the best solution... feel free to improve
* I should really learn how to spellSterling Hughes2001-09-061-2/+2
|
* avoid lowercasing the stringSterling Hughes2001-09-061-0/+4
|
* Fixed some protos.Egon Schmid2001-09-041-42/+42
|
* Thanks sebastianSterling Hughes2001-09-041-1/+1
| | | | | # I really like this whole qa team thingy
* update php_trim as well...Sterling Hughes2001-09-041-1/+1
|
* fix crash bugSterling Hughes2001-09-041-7/+7
|
* tabs -> spacesSterling Hughes2001-09-041-2/+2
|
* Begin cleanup, api wise...Sterling Hughes2001-09-041-410/+421
|
* stray tabsSterling Hughes2001-09-031-3/+3
|
* cleanup sscanf() just a tiny bit, just so it looks like the rest of the codeSterling Hughes2001-09-031-21/+15
| | | | | in the string.c file.
* Fixed buffer overflow issue.Gavin Sherry2001-08-221-5/+12
|
* Changed php_strip_tags() to check if <? was XML code.Gavin Sherry2001-08-221-3/+11
|
* API updateZeev Suraski2001-08-211-1/+2
|
* WhitespaceZeev Suraski2001-08-111-57/+57
|
* Fix some build probs on *bsdWez Furlong2001-08-101-0/+30
|
* more tsrm cleanupSascha Schumann2001-08-061-23/+20
|
* Removed some duplicate code out of addclashesJeroen van Wolffelaar2001-08-051-8/+3
| | | | | | | # Not TSRM-safe, I am afraid... @- addcslashes now warns when charlist is invalid. The returned string @ remained the same (Jeroen)
* Fix ZTS build.Sebastian Bergmann2001-08-051-3/+5
|
* Error-handling for the second parameter of [l|r]trimJeroen van Wolffelaar2001-08-051-5/+31
|
* fix possible crash - we should never keep the zval** as they might pointThies C. Arntzen2001-08-041-2/+2
| | | | | somewhere into the Engine. (there's still a new bug in strtok - hunting;-)
* #- Fix silly bug that caused segfaultJeroen van Wolffelaar2001-08-031-3/+3
|
* Un-revert patchJeroen van Wolffelaar2001-08-031-69/+131
|
* Reverting last patch, segfaults.Jeroen van Wolffelaar2001-08-031-131/+69
|
* - Added new parameter to [l|r]trim, to specify _what_ to trimJeroen van Wolffelaar2001-08-031-29/+65
| | | | | | @- Added optional second parameter to trim, chop and ltrim. You can @ now specify which characters to trim (jeroen)
* Don't copy the strtok parameterSascha Schumann2001-08-031-2/+6
|
* Replace our strtok implementation with a binary-safe one which codeSascha Schumann2001-08-031-40/+62
| | | | | does not cause headaches when reading it. Also happens to be a bit quicker.
* Zend compatibility patchZeev Suraski2001-07-301-8/+7
|
* More TSRMLS_FETCH work, and a bit of cleanupZeev Suraski2001-07-301-2/+0
|
* Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on ↵Zeev Suraski2001-07-301-1/+0
| | | | the way
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-10/+5
|
* - Get rid of ELS_*(), and use TSRMLS_*() instead.Zeev Suraski2001-07-271-2/+2
| | | | | | | - Move to the new ts_allocate_id() API This patch is *bound* to break some files, as I must have had typos somewhere. If you use any uncommon extension, please try to build it...
* Add optional support for using boyer-moore to str_replace.Sascha Schumann2001-07-201-10/+104
|
* __USE_GNU should not be defined by an application.Sascha Schumann2001-07-091-1/+0
|
* More ifdefs, just in case.Wez Furlong2001-07-051-0/+10
|
* Added loads of #ifdefs; should fix Bug #11889.Wez Furlong2001-07-051-0/+33
|
* Fix build on linuxJason Greene2001-07-051-0/+1
| | | | | Heads up Wez
* (PHP nl_langinfo) Added function when provided by OSWez Furlong2001-07-041-0/+119
| | | | | | | | | (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-8/+31
| | | | | | added optional suffix removal parameter to basename() this makes it more simmilar to the basename command