summaryrefslogtreecommitdiff
path: root/ext/standard/string.c
Commit message (Collapse)AuthorAgeFilesLines
* Update the license with the new clause 6Zeev Suraski2000-05-181-2/+2
|
* TODO update and fix for C++ comments.Andrei Zmievski2000-04-271-1/+1
|
* Small proto fix.Sterling Hughes2000-04-261-1/+1
|
* @Added substr_count() from Peter Kovacs. (Andrei)Andrei Zmievski2000-04-261-0/+53
| | | | | # also some todo stuff
* Added natural comparison/sorting routines using code from Martin Pool.Andrei Zmievski2000-04-121-0/+26
| | | | | | | | | @- 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)
* @- Fixed return of stristr() to no longer always be lowercased. (Andrei)Andrei Zmievski2000-03-301-1/+9
|
* - Change new -> result. Using C++ keywords isn't too hotZeev Suraski2000-03-261-27/+27
|
* @- stristr() no longer modifies it's arguments. (Thies)Thies C. Arntzen2000-03-221-0/+5
| | | | | fix #3890
* Will watch the diffs as much as I can.Egon Schmid2000-02-241-8/+6
|
* the pipe is breaking all the timeZeev Suraski2000-02-191-2/+2
|
* - Not sure if len can be zero but it's better to check it once thenAndi Gutmans2000-02-131-2/+5
| | | | | rechecking for it every loop and having an extra variable do nothing.
* - Beautify a bit.Andi Gutmans2000-02-131-5/+8
|
* - Hopefully fix strip_tags bugZeev Suraski2000-02-131-2/+2
| | | | | @- Fix overrun in strip_tags (Stas, Zend library)
* @- Fixed crash in strip_tags() and related functions. (Thies)Thies C. Arntzen2000-02-131-2/+2
|
* Fine tune Andi's patchZeev Suraski2000-02-111-4/+4
|
* - Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32Andi Gutmans2000-02-101-4/+4
|
* SAPIfication, Episode VI: Return of the SAPIZeev Suraski2000-02-101-3/+1
| | | | | | | | | | | | | | | 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-34/+34
| | | | | | | can't look inside variables named 'string'.
* @- Fixed memory corruption in fgetss(), strip_tags() and gzgetss() (Zeev)Zeev Suraski2000-02-081-3/+8
|
* Compile fixesZeev Suraski2000-02-051-1/+0
|
* (PHP wddx_deserialize) Fixed a problem with deserializing empty values.Andrei Zmievski2000-02-021-2/+7
| | | | | (php_addslashes) Guard against NULL data.
* @- Fixed a crash bug in strtr() working on large input strings (Zeev)Zeev Suraski2000-01-291-2/+2
|
* Tried to centralize global variable registration as much as possible:Zeev Suraski2000-01-281-1/+1
| | | | | | | | | | | | - Added $HTTP_ENV_VARS[] and $HTTP_SERVER_VARS[] support, which similarly to $HTTP_GET_VARS[], contain environment and server variables. Setting register_globals to Off will now also prevent registration of the environment and server variables into the global scope (Zeev) - Renamed gpc_globals to register_globals (Zeev) - Introduced variables_order that deprecates gpc_order, and allows control over the server and environment variables, in addition to GET/POST/Cookies (Zeev)
* post.c really had nothing to do with POST anymore, and it belongs to the top ↵Zeev Suraski2000-01-281-1/+1
| | | | level directory
* (php_setlocale) Fixed memory leak (bug #3105).Jouni Ahto2000-01-051-1/+1
| | | | | # Must have been thinking something else when originally wrote this.
* @- str_repeat() now returns correct length. (Thies)Thies C. Arntzen2000-01-041-1/+1
|
* Happy Y2K patch! Happy new year (or the new millennium, depending on whetherSascha Schumann2000-01-011-1/+1
| | | | | you start counting at 0 or 1).
* Move include into source fileSascha Schumann1999-12-281-0/+1
|
* - Get rid of two warningsAndi Gutmans1999-12-251-2/+2
|
* pval->zvalThies C. Arntzen1999-12-231-39/+39
|
* @- strrev() no longer modifies arg1. (Thies)Thies C. Arntzen1999-12-231-7/+7
|
* Made quotemeta() binary-safe.Andrei Zmievski1999-12-201-4/+7
| | | | | @ Made quotemeta() binary-safe. (Andrei)
* Use zend_sprintf by default (which is defined to sprintf, if the system'sSascha Schumann1999-12-191-1/+1
| | | | | sprintf is useable).
* Use workaround function for sprintf, if the return value of sprintf is neededSascha Schumann1999-12-191-1/+1
|
* - The tree compiles againZeev Suraski1999-12-181-47/+47
|
* More php3_ annihilationZeev Suraski1999-12-181-1/+1
|
* @- implemented count_chars(). (Thies)Thies C. Arntzen1999-12-141-6/+76
|
* Boo.Andrei Zmievski1999-12-141-1/+1
|
* Made strspn() and strcspn() binary-safe.Andrei Zmievski1999-12-131-3/+37
| | | | | | | # Please test if you can, especially cases with embedded chr(0). @ Made strspn() and strcspn() binary-safe.
* (PHP php_implode) Made binary-safe.Andrei Zmievski1999-12-111-13/+13
| | | | | @ Made implode() binary-safe (Andrei)
* Made strstr(), stristr(), and ucwords() binary-safe(). Also correctedAndrei Zmievski1999-12-111-32/+42
| | | | | | stristr() behavior to match that of strstr() if needle is not a string. @ Made strstr(), stristr(), and ucwords() binary-safe() (Andrei)
* A few more fixes for php_strtolower().Andrei Zmievski1999-12-101-1/+2
|
* (PHP strtoupper, strtolower, substr_replace) Made binary-safe.Andrei Zmievski1999-12-091-10/+12
| | | | | @Made strtoupper(), strtolower(), substr_replace() binary-safe. (Andrei)
* (explode) fixed newly introduced bug (them shall check twice *before* ↵Thies C. Arntzen1999-12-071-6/+8
| | | | committing!)
* fixed warningThies C. Arntzen1999-12-061-1/+1
|
* @- explode() is now binary-safe. (Thies)Thies C. Arntzen1999-12-061-13/+17
| | | | | we save one buffer-copy as well (hehe)
* @- strpos() is now binary-safe. (Thies)Thies C. Arntzen1999-12-061-2/+21
|
* More maintainer-mode cleanupsRasmus Lerdorf1999-12-051-0/+2
|
* Clean up php3.*\.h files. The files itself are renamed, and references in allSascha Schumann1999-12-041-1/+1
| | | | | | .*\.[ch] files were changed. There is a slight chance that my script missed a few changes, please correct them manually.
* Make array.c thread-safeSascha Schumann1999-12-011-6/+0
|