Dmitry Stogov
49a4e69584
Fixed ability to call plain functions through zend_call_method()
2018-06-25 23:01:21 +03:00
Dmitry Stogov
b89ce98129
typo
2018-06-25 22:43:19 +03:00
Dmitry Stogov
7f67513ca3
Lazy function copying from op_cache SHM into process memory
2018-06-25 19:53:58 +03:00
Christoph M. Becker
30f7997762
[ci skip] Remove obsolete task
...
INSTALL points to the online docs and win32/install.txt is removed as
of commit 1e9e7d4[1].
[1] http://git.php.net/?p=php-src.git;a=commit;h=1e9e7d4dc4949b67908e55ab3f3e44528923c029
2018-06-25 18:00:26 +02:00
Dmitry Stogov
c8f355b12c
Micro-optimization
2018-06-25 17:32:13 +03:00
Nikita Popov
73f07738b9
Fix off-by-one error
2018-06-25 15:26:10 +02:00
Nikita Popov
2543e61aed
Fixed bug #76509
...
In PHP static properties are shared between inheriting classes,
unless they are explicitly overwritten. However, because this
functionality was implemented using reference, it was possible
to break the implementation by reassigning the static property
reference.
This is fixed by switching the implementation from using references
to using INDIRECTs, which cannot be affected by userland code.
2018-06-25 15:04:09 +02:00
Nikita Popov
102bcb5c05
Update array_element_type inference for previous change
...
LIST_R and DIM_IS return value can't be MAY_BE_REF anymore.
2018-06-25 14:27:02 +02:00
Nikita Popov
490a49d0bb
Use COPY_DEREF for DIM_IS and LIST_R as well
...
Also add an upgrading note for the behavior change, not that we
expect anyone to be affected...
2018-06-25 14:23:06 +02:00
Markus Staab
a0a4232ae3
[ci skip] fixed typos
2018-06-25 13:14:55 +02:00
Dmitry Stogov
ecce21169e
Added note about zend_function.reserved[] fields usage
2018-06-25 13:35:14 +03:00
Dmitry Stogov
7793bc8ee6
Improved type inference. Result of opcodes using ZVAL_COPY_DEREF can't be MAY_BE_REF.
2018-06-25 13:07:44 +03:00
Christoph M. Becker
0778359223
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix arginfo wrt. optional/required parameters
2018-06-25 11:57:25 +02:00
Christoph M. Becker
2458dab466
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix arginfo wrt. optional/required parameters
2018-06-25 11:54:45 +02:00
Christoph M. Becker
6b5597f7d8
Fix arginfo wrt. optional/required parameters
...
All parameters of phpdbg_color(), phpdbg_exec() and phpdbg_prompt() are
required. We mark them as such.
2018-06-25 11:52:17 +02:00
Christoph M. Becker
d169d06d30
Remove useless PHPDBG_* constants
...
The sole purpose of `PHPDBG_FILE`, `PHPDBG_METHOD`, `PHPDBG_LINENO` and
`PHPDBG_FUNC` has been to be passed as first argument to `phpdbg_break`.
However, this functions is replaced as of PHP 5.6.3 by
`phpdbg_break_file`, `phpdbg_break_method` and 'phpdbg_break_func`,
respectively. Therefore, we're finally removing the useless constants.
2018-06-25 11:42:54 +02:00
Anatol Belski
836f329114
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Prepare tests for ICU 62.1
2018-06-25 11:32:03 +02:00
Anatol Belski
096fd88dcb
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Prepare tests for ICU 62.1
2018-06-25 11:31:21 +02:00
Anatol Belski
5af0db88fa
Prepare tests for ICU 62.1
2018-06-25 11:30:14 +02:00
Nikita Popov
61d00a6cf3
Use COPY_DEREF instead of COPY_UNREF
...
This fixes the behavior when the storage location of the fetch is
modified before the operand is dereferenced by the using VM opcode.
Furthermore it elimiates references as a possible return value from
*_R opcodes, which will give us more opportunities for inferences,
in particular in regard to typed properties.
2018-06-25 11:23:59 +02:00
Dusta
da82719f20
Update http to https
2018-06-25 08:31:32 +02:00
COFFEE
19b42bd6b3
numner => number
2018-06-25 08:29:36 +02:00
Nikita Popov
4abf423d75
Merge branch 'PHP-7.2'
2018-06-24 22:29:19 +02:00
Nikita Popov
14b22704c7
Merge branch 'PHP-7.1' into PHP-7.2
2018-06-24 22:28:57 +02:00
Nikita Popov
701460ba84
Fixed bug #76502
2018-06-24 22:26:45 +02:00
Nikita Popov
66cf76ee54
Remove expr_without_variable
...
We no longer need this distinction.
2018-06-24 13:44:54 +02:00
Anatol Belski
e03739d4ab
Remove obsolete version checks in tests
2018-06-22 17:56:18 +02:00
Anatol Belski
8c92318677
[ci skip] Update NEWS
2018-06-22 17:33:57 +02:00
Anatol Belski
aa92d42018
If there's no setlocale, char tables are not used
2018-06-22 17:31:26 +02:00
Nikita Popov
b592cd7b98
Merge branch 'PHP-7.2'
2018-06-22 16:23:25 +02:00
Nikita Popov
ed9d1b708b
Fixed bug #76520
2018-06-22 16:22:04 +02:00
Anatol Belski
8b58b2aac6
Don't discard char tables just generated
2018-06-22 15:18:39 +02:00
Remi Collet
3b9ecb2d65
add note about php_url struct changes
2018-06-22 14:58:30 +02:00
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.
2018-06-22 14:45:29 +02:00
Dmitry Stogov
34e58a6447
Reduced overhead of magic method calls (__get/__set/__unset/__isset/__dectructor/__clone).
2018-06-22 14:29:54 +03:00
Dmitry Stogov
3c600e2d61
retval shouldn't be NULL
2018-06-22 14:28:29 +03:00
Dmitry Stogov
9b2d708f21
Reduce spl_autoload() overhead
2018-06-22 13:19:53 +03:00
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.
2018-06-22 11:05:30 +02:00
Dmitry Stogov
71e18471f2
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Added parenthesis
2018-06-22 12:04:49 +03:00
Dmitry Stogov
4a4c72a82a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Added parenthesis
2018-06-22 12:04:39 +03:00
Dmitry Stogov
1f726c9925
Added parenthesis
2018-06-22 12:04:23 +03:00
Dmitry Stogov
73b675a988
Avoid duplication of "shadow" property_info
2018-06-22 02:46:59 +03:00
Christoph M. Becker
23ca95aa3e
Fix line endings in new PHPT
2018-06-22 00:01:51 +02:00
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 >
2018-06-21 22:45:08 +02:00
Jakub Zelenka
c2a3ab070b
Merge branch 'PHP-7.2'
2018-06-21 17:03:07 +01:00
Jakub Zelenka
d95ee27551
Make new openssl ext tests in 7.2 consitent
2018-06-21 17:02:44 +01:00
Jakub Zelenka
5f349b728e
Merge branch 'PHP-7.2'
2018-06-21 16:50:45 +01:00
Jakub Zelenka
77bd405959
Merge branch 'PHP-7.1' into PHP-7.2
2018-06-21 16:47:08 +01:00
Jakub Zelenka
b20bcbc363
Use unix NL in all openssl ext tests
2018-06-21 16:43:32 +01:00
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.
2018-06-21 16:38:19 +01:00