summaryrefslogtreecommitdiff
path: root/ext/standard/string.c
Commit message (Collapse)AuthorAgeFilesLines
...
* - Make Windows compileAndi Gutmans2000-06-171-1/+3
| | | | | - Windows doesn't support LC_MESSAGES
* setlocale didn't recognize LC_MESSAGES (BUG ID#3957)Hartmut Holzgraefe2000-06-171-0/+2
|
* (PHP str_pad) Terminate string with a null.Andrei Zmievski2000-06-121-2/+3
|
* @- Fixed stripcslashes() to remove to strip \ in unknown escapes instead ofAndrei Zmievski2000-06-091-1/+1
| | | | | @ leaving it. (Andrei)
* Make trim strip \0 to match php 3Rasmus Lerdorf2000-06-071-2/+2
| | | | | @ Make trim strip \0 to match php 3 (Rasmus)
* @- Added str_pad() for padding a string with an arbitrary string on left orAndrei Zmievski2000-06-061-0/+69
| | | | | | | | | @ 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-1/+45
|
* - ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patchAndi Gutmans2000-06-051-42/+42
|
* (ucwords) Remove unnecessary code.Jouni Ahto2000-06-011-4/+1
| | | | | # Didn't keep my promise to stop...
* (ucwords) Yet another fix for #4748.Jouni Ahto2000-06-011-1/+2
| | | | | # Last one from me today, I must have a beer now.
* Some tweaks.Andrei Zmievski2000-06-011-4/+4
|
* (ucwords) Fixed fix for fix for fix for #4748.Jouni Ahto2000-06-011-2/+4
| | | | | # Today's most fixed bug.
* uh, off by one?!! this time it's regression-tested, fast and compactHartmut Holzgraefe2000-06-011-13/+6
|
* (ucwords) Another try to fix #4748.Jouni Ahto2000-06-011-12/+19
|
* ucwords will now test against isspace() instead of just ==" "Hartmut Holzgraefe2000-06-011-6/+8
| | | | | (see BUG #4748)
* Need a PHPAPI version of basename for some stuff I am working on.Rasmus Lerdorf2000-05-231-18/+33
| | | | | | | | | | 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)
* Clean up the patch by Hartmut.Andrei Zmievski2000-05-231-10/+7
|
* again (due to feature request in bug id #3251)Hartmut Holzgraefe2000-05-231-6/+25
| | | | | added optional 3rd parameter 'limit' to explode() as in split()
* patch to explode (bug id #3251) suspended till 4.0.1Hartmut Holzgraefe2000-05-201-27/+8
|
* added optional 3rd parameter 'limit' to explode() as in split()Hartmut Holzgraefe2000-05-191-8/+27
| | | | | (due to feature request in bug id #3251)
* 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
|