History log of /PHP-5.4/ (Results 51801 – 51825 of 52196)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
16ec460827-May-1999 Sascha Schumann

add rfc1867.c

36947fc427-May-1999 Zeev Suraski

Fix pcre build

064a16c727-May-1999 Zeev Suraski

Moved all SET_ and RETURN_ macros to Zend
Fixed all RETVAL_ macros

66f850e526-May-1999 Andrey Hristov

-Added PCRE library source
-Updated configuration process

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

1...<<2071207220732074207520762077207820792080>>...2088