summaryrefslogtreecommitdiff
path: root/ext/standard/php_string.h
Commit message (Collapse)AuthorAgeFilesLines
* @- Added str_pad() for padding a string with an arbitrary string on left orAndrei Zmievski2000-06-061-0/+1
| | | | | | | | | @ right. (Andrei) Added str_pad() for padding a string with an arbitrary string on left or right. # With all those macros, the code is starting to eerily resemble Perl's guts.
* Added sscanf() function.Clayton Collie2000-06-061-0/+1
|
* php_basename() prototype changed according to latest changes in string.cHartmut Holzgraefe2000-05-241-1/+1
|
* Need a PHPAPI version of basename for some stuff I am working on.Rasmus Lerdorf2000-05-231-0/+1
| | | | | | | | | | Also fixed a bug along the way in the basename function. If it was fed something like "filename.ext/////" it would return the string with all the slashes whereas if you fed it "/path/filename.ext////" it would get it right. @ Fixed basename() bug where "file.ext///" would not return the same @ as "/path/file.ext///" (Rasmus)
* name changed from levdist() to levenshtein()Hartmut Holzgraefe2000-05-231-1/+1
| | | | | (although i bet we'll get a levenstein() alias some day)
* added function "int levdist(string str1, string str2)"Hartmut Holzgraefe2000-05-231-0/+1
| | | | | | that will calculate the Levenshtein distance between two strings (faster and possibly more accurate than similar_text())
* again (due to feature request in bug id #3251)Hartmut Holzgraefe2000-05-231-1/+1
| | | | | added optional 3rd parameter 'limit' to explode() as in split()
* patch to explode (bug id #3251) suspended till 4.0.1Hartmut Holzgraefe2000-05-201-1/+1
|
* added optional 3rd parameter 'limit' to explode() as in split()Hartmut Holzgraefe2000-05-191-1/+1
| | | | | (due to feature request in bug id #3251)
* @Added substr_count() from Peter Kovacs. (Andrei)Andrei Zmievski2000-04-261-0/+1
| | | | | # also some todo stuff
* Added natural comparison/sorting routines using code from Martin Pool.Andrei Zmievski2000-04-121-0/+8
| | | | | | | | | @- Added natural comparison/sorting routines strnatcmp(), strnatcasecmp(), @ natsort(), and natcasesort(). These are useful for comparing and sorting @ strings that contain numbers. Based on the code from Martin Pool @ <mbp@humbug.org.au>. See http://www.linuxcare.com.au/projects/natsort/ @ for more info on natural sorting. (Andrei)
* SAPIfication, Episode VI: Return of the SAPIZeev Suraski2000-02-101-18/+23
| | | | | | | | | | | | | | | Remove mostly all references to APACHE and CGI_BINARY from the code. - Apache include files are no longer included by any PHP code, except for the Apache SAPI module. - No server specific code is in any of the base PHP code. Still left to be done: - Eliminate any references to APACHE from the few remaining modules. - Move request_info.c's logic to SAPI - Modify the regex function names, and globals, so that we can always include them, without having to fear any interference with Apache; Always use the bundled regex library
* Change string->str where possible; string is basic a C++ class, so gdb ↵Zeev Suraski2000-02-081-5/+5
| | | | | | | can't look inside variables named 'string'.
* @- Fixed memory corruption in fgetss(), strip_tags() and gzgetss() (Zeev)Zeev Suraski2000-02-081-1/+1
|
* Move include into source fileSascha Schumann1999-12-281-2/+0
|
* More php3_ annihilationZeev Suraski1999-12-181-1/+1
|
* @- implemented count_chars(). (Thies)Thies C. Arntzen1999-12-141-0/+1
|
* Made strspn() and strcspn() binary-safe.Andrei Zmievski1999-12-131-1/+3
| | | | | | | # Please test if you can, especially cases with embedded chr(0). @ Made strspn() and strcspn() binary-safe.
* get_meta_tags() was using php_stristr() so it needed to be changed.Andrei Zmievski1999-12-111-1/+2
| | | | | Optimized it to use php_memnstr() directly.
* (PHP strtoupper, strtolower, substr_replace) Made binary-safe.Andrei Zmievski1999-12-091-2/+2
| | | | | @Made strtoupper(), strtolower(), substr_replace() binary-safe. (Andrei)
* Clean up php3.*\.h files. The files itself are renamed, and references in allSascha Schumann1999-12-041-0/+106
.*\.[ch] files were changed. There is a slight chance that my script missed a few changes, please correct them manually.