Anatol Belski
684ce24eec
Improve locale character tables handling and reduce pattern cache size
If a locale other than C is active, character tables are saved into the
compile context. Every compiled pattern will have a pointer to the
character table, that was present in the context at the time of the
pattern compilation. Thus, the cache entries don't need to carry char
tables pointer, which reduces their size to 8 bytes on 64-bit. Instead,
the generated character tables are tracked in a separate HashTable. If a
character table was generated before, it'll be assigned to the compile
context when the locale changes. Otherwise a new char table will be
generated and cached.
8 years ago
Dmitry Stogov
34e58a6447
Reduced overhead of magic method calls (__get/__set/__unset/__isset/__dectructor/__clone).
8 years ago
Dmitry Stogov
3c600e2d61
retval shouldn't be NULL
8 years ago
Dmitry Stogov
9b2d708f21
Reduce spl_autoload() overhead
8 years ago
Anatol Belski
bb2f1a6830
Fixed bug #76514 Regression in preg_match makes it fail with PREG_JIT_STACKLIMIT_ERROR
Looks like some patterns might require more stack for JIT execution. It
is a regression, as the same pattern was passing using JIT.
8 years ago
Dmitry Stogov
71e18471f2
Merge branch 'PHP-7.2'
* PHP-7.2:
Added parenthesis
8 years ago
Dmitry Stogov
4a4c72a82a
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Added parenthesis
8 years ago
Dmitry Stogov
1f726c9925
Added parenthesis
8 years ago
Dmitry Stogov
73b675a988
Avoid duplication of "shadow" property_info
8 years ago
Christoph M. Becker
23ca95aa3e
Fix line endings in new PHPT
8 years ago
Christoph M. Becker
71d16feebb
Fix #76512 : \w no longer includes unicode characters
The migration from PCRE to PCRE2 missed to rename once occurrence of
`PCRE_UCP` to `PCRE2_UCP`. We fix that. We also revert the changes to
bug52971.phpt which had been incorrectly made in commit a5bc5ae[1].
[1] <http://git.php.net/?p=php-src.git;a=commit;h=a5bc5aed71f7a15f14f33bb31b8e17bf5f327e2d >
8 years ago
Jakub Zelenka
c2a3ab070b
Merge branch 'PHP-7.2'
8 years ago
Jakub Zelenka
d95ee27551
Make new openssl ext tests in 7.2 consitent
8 years ago
Jakub Zelenka
5f349b728e
Merge branch 'PHP-7.2'
8 years ago
Jakub Zelenka
77bd405959
Merge branch 'PHP-7.1' into PHP-7.2
8 years ago
Jakub Zelenka
b20bcbc363
Use unix NL in all openssl ext tests
8 years ago
Jakub Zelenka
3c42f64e6e
Make code in openssl ext tests more consistent
Mainly use spaces for indent and fix some other CS issues. Also
drop checks for unsupported OpenSSL library versions.
8 years ago
Charles R. Portwood II
55277a6684
RFC: Argon2 Password Hash Enhancements Implementation of Argon2id per RFC https://wiki.php.net/rfc/argon2_password_hash_enhancements
- m4 and Windows configure scripts now forces Argon2 reference library version >= 20161029
- Implementation tested against 20161029 and 20171227 for Argon2id support
- Updates Argon2 ext/standard/password/tests to run tests for both Argon2i and Argon2id
8 years ago
Peter Kokot
3f96f01e9e
Bump phar and hash extension version to match PHP version
8 years ago
Dmitry Stogov
4418d61ca3
Avoid reusing zend_function.common.prototype for magic things (use reserved fields instead).
8 years ago
Anatol Belski
f87cc89f4d
Gereralize VA macro expansion mechanism
Avoids code duplication and makes in usable elsewhere.
8 years ago
Xinchen Hui
4bd6be8a5f
Update NEWS
8 years ago
Xinchen Hui
8b2f40724b
Merge branch 'PHP-7.2'
* PHP-7.2:
Update NEWS
Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys)
8 years ago
Xinchen Hui
e62c6e7dbe
Update NEWS
8 years ago
Xinchen Hui
939e1095f2
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys)
8 years ago
Xinchen Hui
6531719da5
Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys)
8 years ago
Stanislav Malyshev
3f53b02a53
Merge branch 'PHP-7.2'
* PHP-7.2:
Revert "ICU 59+ requires C++11 and errors out without the option"
8 years ago
Stanislav Malyshev
011be49dda
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Revert "ICU 59+ requires C++11 and errors out without the option"
8 years ago
Stanislav Malyshev
bcf2e10ae7
Revert "ICU 59+ requires C++11 and errors out without the option"
This reverts commit 5dd1ef90ca .
8 years ago
Nikita Popov
22ce955b95
Remove unnnecessary DEREF parameter
8 years ago
Nikita Popov
e357f67faf
Remove code duplication
And fix indentation
8 years ago
Nikita Popov
8e2f0824f7
Merge branch 'PHP-7.2'
8 years ago
Nikita Popov
44f4d2be01
Merge branch 'PHP-7.1' into PHP-7.2
8 years ago
Nikita Popov
69dee5c732
Fixed bug #73342
Directly listen on socket, instead of duping it to STDIN and
listening on that.
8 years ago
Stanislav Malyshev
2825c82076
Merge branch 'pull-request/3281'
* pull-request/3281:
Revert braces inside condition
Use .= where possible
Remove unncecessary parantheses
Remove unused variable old_php
Fix property name
8 years ago
Stanislav Malyshev
3346659f2a
Merge branch 'pull-request/3274'
* pull-request/3274:
Added const modifier
76363: added jsm extension to list of mime types
8 years ago
Stanislav Malyshev
f61e1d28fe
Merge branch 'pull-request/3288'
* pull-request/3288:
Fix bug #75481 : makedev warning
8 years ago
Stanislav Malyshev
30bdc09129
Merge branch 'pull-request/3309'
* pull-request/3309:
phar module, unsignedness check changes. while at it, correcting seemingly subtle bug when checking extension validity.
8 years ago
Sara Golemon
1108b5a19b
Move class constant definition to the right enum file
8 years ago
Christoph M. Becker
963998f0ab
Update NEWS for 7.3.0alpha3
8 years ago
Gabriel Caruso
fc775f6915
Report unknown variables passed to compact()
8 years ago
Robert Lu
ecc1a7c582
Fix bug #44217 : Output after stdout/stderr closed cause immediate exit with status 0
We exit with status 255 instead.
8 years ago
David Carlier
80bb649ad1
phar module, unsignedness check changes.
while at it, correcting seemingly subtle bug when checking
extension validity.
8 years ago
Dmitry Stogov
84d7d4e1cc
Fixed bug #76466 (Loop variable confusion)
8 years ago
Xinchen Hui
83a77f5a28
Fixed typo
8 years ago
Xinchen Hui
7f196c45ef
use defined macro
8 years ago
Xinchen Hui
4d69bbeee7
Fixed bug #76437 (token_get_all with TOKEN_PARSE flag fails to recognise close tag)
8 years ago
Stanislav Malyshev
24f7096154
Merge branch 'PHP-7.2'
* PHP-7.2:
ICU 59+ requires C++11 and errors out without the option
Fix #76300 - Dont attempt to change visibility of a parent private
8 years ago
Stanislav Malyshev
61a4fc4e44
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
ICU 59+ requires C++11 and errors out without the option
8 years ago
Stanislav Malyshev
5dd1ef90ca
ICU 59+ requires C++11 and errors out without the option
8 years ago