History log of /PHP-7.0/ext/standard/string.c (Results 601 – 625 of 899)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f80a817f 25-Sep-2002 Andrey Hristov

Added common handler for strspn() and strcspn(). Almost of the code is
identical. Modified to accept up to 4 params. Last 2 optional start & len.
They are analogic to start & len of substr().

Added common handler for strspn() and strcspn(). Almost of the code is
identical. Modified to accept up to 4 params. Last 2 optional start & len.
They are analogic to start & len of substr(). So the behavior when start &
len are used is like
strspn(substr($s,$start,$len),$good_chars) and
strcspn(substr($s,$start,$len), $bad_chars)

show more ...


# fc46a46b 25-Sep-2002 Andrey Hristov

str_shuffle() function added. Like shuffle() for arrays - however the
algorithm for creating the permutation is quite simple. More like
the implementation of shuffle() for 4.2.1 .


# fd329d2c 23-Sep-2002 Sebastian Bergmann

Fix warning.


# 8fc94a08 21-Sep-2002 Ilia Alshanetsky

Fixed bug #7472 as well as many other bugs with strip_tags implementation.


# bc8eda53 20-Sep-2002 Ilia Alshanetsky

Fixed bugs #12989 and #12120


# f8358b44 18-Sep-2002 Hartmut Holzgraefe

setlocale() will now accept multiple locale arguments, first match wins


# 746c1476 11-Sep-2002 foobar

tok tok..


# daf6a5ab 11-Sep-2002 foobar

ws fix


# be523438 11-Sep-2002 foobar

fix proto


Revision tags: RELEASE_0_91, php-4.3.0dev_zend2_alpha3, php-4.2.3
# e560822f 05-Sep-2002 Dan Kalowsky

silence a windows build warning


# eb58557e 05-Sep-2002 Ilia Alshanetsky

Fixed a buffer overflow that occurs when wordwrap is unable to calculate
the correct number of times the multi-byte break needs to be inserted into
the string.


# 60dcc761 05-Sep-2002 Derick Rethans

- php_error -> php_error_docref
- corrected proto of implode() (to match the docs)


# 101d155b 05-Sep-2002 Hartmut Holzgraefe

in stristr:
this check was in the wrong place, the real version was some lines
below, this one assumed the type was 'string' in any case
now it looks like strstr


Revision tags: php-4.2.3RC2
# 64ef43ec 25-Aug-2002 Ilia Alshanetsky

Slight optimization of php_strtoupper & php_strtoupper functions.


# c7be7b55 25-Aug-2002 Wez Furlong

Add a "closing" parameter for filters to determine if a flush is the last
flush before the stream is closed. This allows filters to finish a chunk
and write footers etc.


# 149ad05b 24-Aug-2002 Marcus Boerger

php_error_docref
#New conversion available at: http://docref.txt.marcus-boerger.de


Revision tags: php-4.2.3RC1
# ea1bb5e1 21-Aug-2002 Ilia Alshanetsky

Added monetary.h to prevent compile warning.
Fixed a memory leak inside money_format function, which occures if the
parameters to the function are not valid.
Fixed a segmentation fault in

Added monetary.h to prevent compile warning.
Fixed a memory leak inside money_format function, which occures if the
parameters to the function are not valid.
Fixed a segmentation fault inside money_format in the event the value
to be formated is >1024 bytes.
Made the return value of money_format be null terminated.

show more ...


# 090e30a8 21-Aug-2002 Sebastian Bergmann

Fix ZTS build.


# 9d348ea8 20-Aug-2002 Wez Furlong

Implement filter API for streams.

Filters can be stacked onto a stream; more details will follow in docs and
on php-dev.

Implement "string.rot13" filter

Allows the foll

Implement filter API for streams.

Filters can be stacked onto a stream; more details will follow in docs and
on php-dev.

Implement "string.rot13" filter

Allows the following script:

$fp = fopen("file.txt", "r");
stream_filter_prepend($fp, "string.rot13");

// File contents will be subject to a rot13 transformation before
// being output.
fpassthru($fp);
fclose($fp);

show more ...


Revision tags: dev
# e5fa36ee 02-Aug-2002 Hartmut Holzgraefe

added money_format() function
this is similar to C-libs strfmon(), using the same format string
semantics but a different function prototype, so i decided to
give it a more speaking name

added money_format() function
this is similar to C-libs strfmon(), using the same format string
semantics but a different function prototype, so i decided to
give it a more speaking name similar to number_format()

show more ...


# 7527bf0c 02-Aug-2002 Rui Hirokawa

made sapi_register_treat_data() to support multibyte input encoding translation without MBSTR_ENC_TRANS and changed php_treat_data to php_default_treat_data.


# d56bc793 30-Jul-2002 Rasmus Lerdorf

Fix for #18638 (str_rot13 bug)


Revision tags: php-4.2.2
# 2f8dc7a4 13-Jul-2002 foobar

- Made the trim functions use same base function. (less code :)
- Renamed php_trim2 -> php_trim (not used anyplace else, yet)
- Made php_trim abit more usable for external use. (not necessary

- Made the trim functions use same base function. (less code :)
- Renamed php_trim2 -> php_trim (not used anyplace else, yet)
- Made php_trim abit more usable for external use. (not necessary to use
zvals with it anymore)

show more ...


Revision tags: INITIAL_IMPORT_SOURCEFORGE, xmlrpc_epi_0_51_merge_pt, php-4.3.0dev_zend2_alpha2
# ace4a23d 18-Jun-2002 Sander Roobol

Fixed stripslashes when magic_quotes_sybase is enabled, and add a test for
add- and stripslashes().
# this time without cvs messing up and aborting, hopefully :)


# 00b667b6 17-Jun-2002 Hartmut Holzgraefe

fixed return types for ucwords/ucfirst when passed an empty string


1...<<21222324252627282930>>...36