1
0
mirror of https://github.com/php/php-src.git synced 2026-04-13 02:52:48 +02:00
Anatol Belski 2a062f3c02 Rework magic data once more
The change reduces the input size on patterns using posix character
classes. It is still better than reverting to the patterns from the
older version, as the upstream data uses posix classes also in the later
versions. The input reduction speeds up the pattern matching in some
cases.

This patch is functionally almost same as upstream, but might show some diff
when the input is very long. While the magic data in the newer versions is
functionally an improvement, with jit=0 it might show a performance regression.
The slowdown is negligible in the normal usage and is still acceptable for the
malicious input. If some functional regressions show up, this patch should be
reverted and the tests timing should be adapted instead.
2018-11-14 22:23:24 +01:00
2018-10-20 09:54:00 +02:00
2018-11-14 22:23:24 +01:00
2018-11-01 18:35:32 +02:00
2018-11-01 18:35:32 +02:00
2018-10-31 10:43:45 -07:00
2018-11-01 18:35:32 +02:00
2018-11-01 18:35:32 +02:00
2018-11-13 12:31:00 +01:00
2018-10-19 00:10:22 +02:00
2018-10-20 09:54:00 +02:00
2018-10-23 12:15:30 +02:00
2018-01-06 21:12:12 +01:00
2018-06-25 08:31:32 +02:00
2018-11-01 18:35:32 +02:00
2018-07-25 00:53:25 +02:00
2018-06-25 08:31:32 +02:00
2018-10-20 09:54:00 +02:00
2018-11-14 14:59:30 +01:00
2018-10-28 12:48:07 +01:00
2016-08-11 08:08:26 +09:00

The PHP Interpreter

This is the github mirror of the official PHP repository located at https://git.php.net.

Build Status Build status

Pull Requests

PHP accepts pull requests via github. Discussions are done on github, but depending on the topic can also be relayed to the official PHP developer mailing list internals@lists.php.net.

New features require an RFC and must be accepted by the developers. See https://wiki.php.net/rfc and https://wiki.php.net/rfc/voting for more information on the process.

Bug fixes do not require an RFC, but require a bugtracker ticket. Always open a ticket at https://bugs.php.net and reference the bug id using #NNNNNN.

Fix #55371: get_magic_quotes_gpc() throws deprecation warning

After removing magic quotes, the get_magic_quotes_gpc function caused
a deprecate warning. get_magic_quotes_gpc can be used to detected
the magic_quotes behavior and therefore should not raise a warning at any
time. The patch removes this warning

We do not merge pull requests directly on github. All PRs will be pulled and pushed through https://git.php.net.

Guidelines for contributors

Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:25:23.756Z
Readme BSD-3-Clause 1 GiB
Languages
C 66%
PHP 31.3%
C++ 0.8%
Shell 0.5%
M4 0.4%
Other 0.8%