History log of /PHP-7.4/ (Results 91751 – 91775 of 92142)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
d73c638526-May-1999 Andrey Hristov

Added preg_split. Same syntax as regular split().

ff29e85726-May-1999 Andrey Hristov

Fixing a couple of long standing bugs.

0062ae6226-May-1999 Andrey Hristov

A few changes here.

First of all, as per extensive discussion on the list, the functions are now
prefixed with "preg" instead of "pcre".

Secondly, global matching is now possibl

A few changes here.

First of all, as per extensive discussion on the list, the functions are now
prefixed with "preg" instead of "pcre".

Secondly, global matching is now possible using preg_match_all. Please, give
suggestions on a better name if this one doesn't sit well with you. Possible
names are preg_global_match and preg_gmatch.

preg_match_all takes 4 arguments: a regex pattern, a subject string,
the array for capturing subpatterns, and a parameter that tells how the results
in the subpatterns array are arranged.

Basically, preg_match_all will go through the subject string and try to capture
all the matches that it finds, not just the first one like preg_match.

4th parameter can be PREG_PATTERN_ORDER (default) or PREG_SET_ORDER.

Example:
preg_match_all("|</?([^>]+)>|", "<div align=left>a test</div>", $out, PREG_PATTERN_ORDER);

This returns results so that $out[0] is an array of full pattern matches, $out[1] is an array
of first captured subpattern matches, and so on.

$out[0] -> ("<div align=left>", "</div>")
$out[1] -> ("div align=left", "div")

Example:
preg_match_all("|</?([^>]+)>|", "<div align=left>a test</div>", $out, PREG_SET_ORDER);

This returns results so that $out[0] is an array of first full pattern match and subpatterns,
$out[1] is an array of second full pattern match and subpatterns.

$out[0] -> ("<div align=left>", "div align=left")
$out[1] -> ("</div>", "div")

If anyone has a better name for these PREG_ constants and also which one should be the default,
I'd like to hear it.

show more ...

033858e125-May-1999 Zeev Suraski

Avoid crashing if an error occurs before we open the first file.

cf58b7ef25-May-1999 Zeev Suraski

Add container for file-upload. It's not quite implemented yet.

6155d91e25-May-1999 Andrey Hristov

Just a little sanity check.

4f545f9c25-May-1999 Zeev Suraski

Allow unregistering content types as well.

72f6e82325-May-1999 Zeev Suraski

* Add generic POST content-type support. Only application/x-www-form-urlencoded
supported at this time, but the framework allows for any other types, including
runtime addition of types.

7b98592224-May-1999 Zeev Suraski

include regex in Win32 build

e115fdc624-May-1999 Zeev Suraski

The last fix was wrong

cbcd462d24-May-1999 Zeev Suraski

Another operators fix

97107dc423-May-1999 Zeev Suraski

boolean comparison didn't work with smaller-than and greater-than, something that
fucked up berber's site a bit. fixed.

0eb500ce23-May-1999 Zeev Suraski

Thou shalt use the API, and thou shalt be safe

57b22c8b22-May-1999 Andrey Hristov

Some comments.

3165710b22-May-1999 Sascha Schumann

- add -lregex
- change module name to php4

912f17d222-May-1999 Andrey Hristov

Added ability to pass array parameters to pcre_replace.

ee7032f022-May-1999 Zeev Suraski

Sigh, another leak bites the dust. FREE_OP missing in case of a SEND_VAR.

84bb91d722-May-1999 Zeev Suraski

I'm on a roll. Fix a nasty yet stupid AiCount bug

05f6cf5422-May-1999 Zeev Suraski

Warn about AiCount not zeroing out

7b58930422-May-1999 Sascha Schumann

add a $(srcdir)

13c3c40122-May-1999 Sascha Schumann

fix compile issues in LDAP/XML exts

1250c43a22-May-1999 Zeev Suraski

* Add struct name to all typedef's so that they can be debugged with MSVC
* Fix an AiCount bug - list(...) = $var was using $var multiple times, and thus
causing AiCount to be decreased multi

* Add struct name to all typedef's so that they can be debugged with MSVC
* Fix an AiCount bug - list(...) = $var was using $var multiple times, and thus
causing AiCount to be decreased multiple times even though it was increased only
once for $var. Mark all FETCH_DIM's so that they won't decrease AiCount, and only
decrease AiCount on the last FETCH_DIM.
* Fix a stupid bug - forgot to pass CLS_C to some compiler function. For some reason
MSVC doesn't report these :I

show more ...

1652802622-May-1999 Sascha Schumann

fix APXS compile

d62a739c22-May-1999 Zeev Suraski

More fixes. Should hopefully work well now.

9df57a2222-May-1999 Zeev Suraski

php_ini fixes

1...<<3671367236733674367536763677367836793680>>...3686