| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
locale.h. Should work well under non-ZTS as well as ZTS.
|
| |
|
| |
|
|
|
|
| |
encoding using iconv().
|
| |
|
|
|
|
|
| |
in all compilation units (note the static linkage).
|
| |
|
|
|
|
|
|
|
|
|
| |
Added a few RCS $Id$ tags.
# Note: I have avoided changing any .h files if the corresponding .c file
# had not already been changed as I am not sure if there are any legal
# issues here. So some extensions still have PHP 3 headers.
|
|
|
|
|
|
|
|
|
|
|
|
| |
differences from his patch:
- wordwrap width and wrap-string now optional parameters
(default to 75 and "\n" respectively)
- wordwrap_byte is now just an automatic special case of wordwrap
- Zend API compliant
@- Added new function "wordwrap" to wordwrap long strings from Chris
@ Russel <russel@yorku.ca> (David Croft)
|
| |
|
|
|
|
|
|
|
| |
rule is:
macro_name=`echo $filename|tr a-z A-Z|sed 's/\./_/'`
|
|
|
|
|
|
|
|
|
| |
@ 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
(although i bet we'll get a levenstein() alias some day)
|
|
|
|
|
|
| |
that will calculate the Levenshtein distance between two
strings (faster and possibly more accurate than similar_text())
|
|
|
|
|
| |
added optional 3rd parameter 'limit' to explode() as in split()
|
| |
|
|
|
|
|
| |
(due to feature request in bug id #3251)
|
|
|
|
|
| |
# also some todo stuff
|
|
|
|
|
|
|
|
|
| |
@- 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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
can't look
inside variables named 'string'.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
# Please test if you can, especially cases with embedded chr(0).
@ Made strspn() and strcspn() binary-safe.
|
|
|
|
|
| |
Optimized it to use php_memnstr() directly.
|
|
|
|
|
| |
@Made strtoupper(), strtolower(), substr_replace() binary-safe. (Andrei)
|
|
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
|