History log of /php-src/ext/pcre/php_pcre.c (Results 101 – 125 of 656)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 43358cc7 04-Oct-2019 Nikita Popov

Merge branch 'PHP-7.4'


# 01b3cc4d 04-Oct-2019 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4


# 1d6e9da7 04-Oct-2019 Nikita Popov

Improve diagnostic on PCRE JIT mmap failure

Print a more informative message that indicates that this is
likely a permission issue, and also indicate that pcre.jit=0
can be used to w

Improve diagnostic on PCRE JIT mmap failure

Print a more informative message that indicates that this is
likely a permission issue, and also indicate that pcre.jit=0
can be used to work around it.

Also automatically disable the JIT, so that this message is
only shown once.

See bug #78630.

show more ...

Revision tags: php-7.4.0RC3
# 5d6e923d 24-Sep-2019 Gabriel Caruso

Remove mention of PHP major version in Copyright headers

Closes GH-4732.

Revision tags: php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1
# 8c927442 13-Aug-2019 Nikita Popov

Merge branch 'PHP-7.4'


# 20172984 13-Aug-2019 Nikita Popov

Mark PCRE locale key as local persistent

# 228bae7d 11-Aug-2019 Nikita Popov

Use TypeError for preg_replace type check

This is a type violation warning, and as such should use TypeError
in PHP 8.

# 66b750d0 10-Aug-2019 Stephen Reay

Add stubs for PCRE extension

Closes GH-4501.

Revision tags: php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1
# 05752d3a 17-Jul-2019 Sjon Hortensius

Ref #77388: Don't pass BAD_ESCAPE_IS_LITERAL

This option is considered dangerous and unwanted. To allow for more
graceful migration don't error on now ignored X modifier.

Closes

Ref #77388: Don't pass BAD_ESCAPE_IS_LITERAL

This option is considered dangerous and unwanted. To allow for more
graceful migration don't error on now ignored X modifier.

Closes GH-4430.

show more ...

Revision tags: php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3
# e3d35b64 04-Jul-2019 Dmitry Stogov

Split destructor

Revision tags: php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2
# ad1b62fc 17-Jun-2019 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4


# 11b354dd 17-Jun-2019 Nikita Popov

Merge branch 'PHP-7.2' into PHP-7.3


# 03db04c3 17-Jun-2019 Nikita Popov

Accept null for preg_quote delimiter argument

Related to bug #78163.

Revision tags: php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1, php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28
# 51fb8dc4 26-Mar-2019 Nikita Popov

Add specialized pair construction API

Closes GH-3990.

Revision tags: php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16
# a31f4642 26-Feb-2019 Nikita Popov

Allow exceptions in __toString()

RFC: https://wiki.php.net/rfc/tostring_exceptions

And convert some object to string conversion related recoverable
fatal errors into Error excep

Allow exceptions in __toString()

RFC: https://wiki.php.net/rfc/tostring_exceptions

And convert some object to string conversion related recoverable
fatal errors into Error exceptions.

Improve exception safety of internal code performing string
conversions.

show more ...

# e188e417 24-Apr-2019 Dmitry Stogov

Use ZEND_TRY_ASSIGN_REF_... macros for arguments passed to internal function by reference

# e06836a1 24-Feb-2019 Peter Kokot

Remove checks for locale.h, setlocale, localeconv

The `<loccale.h>` header file, setlocale, and localeconv are part of the
standard C89 [1] and on current systems can be used uncondition

Remove checks for locale.h, setlocale, localeconv

The `<loccale.h>` header file, setlocale, and localeconv are part of the
standard C89 [1] and on current systems can be used unconditionally.

Since PHP 7.4 requires at least C89 or greater, the `HAVE_LOCALE_H`,
`HAVE_SETLOCALE`, and `HAVE_LOCALECONV` symbols defined by Autoconf in
configure.ac [2] can be ommitted and simplifed.

The bundled libmagic (file) has also been patched already in version
5.35 and up in upstream location so when it will be patched also in
php-src the check for locale.h header is still left in the configure.ac
and in windows headers definition file.

[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.4
[2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4

Omit the bundled libmagic files

show more ...

# 2733420f 31-Mar-2019 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #77827: preg_match does not ignore \r in regex flags


# d8b7728b 31-Mar-2019 Christoph M. Becker

Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
Fix #77827: preg_match does not ignore \r in regex flags


# 88460c01 31-Mar-2019 Christoph M. Becker

Fix #77827: preg_match does not ignore \r in regex flags

# a9b01b60 25-Mar-2019 Nikita Popov

Make PCRE cache per-request on CLI

There will only be one request on the CLI SAPI, so there is no
advantage to having a persistent PCRE cache. Using a non-persistent
cache allows us

Make PCRE cache per-request on CLI

There will only be one request on the CLI SAPI, so there is no
advantage to having a persistent PCRE cache. Using a non-persistent
cache allows us to use arbitrary strings as cache keys.

show more ...

# e7e2056d 22-Mar-2019 Nikita Popov

Remove HAVE_PCRE/HAVE_BUNDLED_PCRE checks

PCRE is always available.

# 1cf84f15 21-Mar-2019 Nikita Popov

Try to create interned strings in preg_split as well

And convert last_match to last_match_offset, which is more
convenient now.

# 621b1f03 21-Mar-2019 Nikita Popov

Cleanup add_offset_pair API

Accept the two offsets directly, rather than doing length calculations
at all callsites. Also extract the logic to create a possibly interned
string.

Cleanup add_offset_pair API

Accept the two offsets directly, rather than doing length calculations
at all callsites. Also extract the logic to create a possibly interned
string.

Switch the split implementation to work on a char* subject internally,
because ZSTR_VAL(subject_str) is a mouthful...

show more ...

# 6311581a 19-Mar-2019 Nikita Popov

Fix bug #73948

If PREG_UNMATCHED_AS_NULL is used, make sure that unmatched capturing
groups at the end are also set to null, rather than just those in the
middle.

12345678910>>...27