* PHP-7.0: (103 commits)
Add more tests for closure binding
Forbid "fake" closure rebinding
increase API versions
fork test for ICU 56.1
fork test for ICU-56.1
fix test for ICU-56.1
fix test
Double declaration
fix stack overflow
Generally run all tests in sapi folder by default
Fixed bug #70685
Normalize rebinding failures
Implemented file_cache_fallback mechanism
Improve previous fix
Fixed bug #70681
update NEWS
update NEWS
Fixed bug #70630 (Closure::call/bind() crash with ReflectionFunction->getClosure())
Fixed reference cuntmting for closures (previously we didn't increment reference counter for "internal" closures)
Fixed infinity recurion if we create closure on top of other closure.
...
* PHP-7.0: (129 commits)
Removed or simplified incorrect SEPARATE_*() macros usage.
Add upgrading info about the tick functions internal API change
Remove makedev() check.
Different error message if makedev check fails
Add support for getrandom(2), add type check on file descriptor
fix test
Better fix for bug #70433
fix memory leak
FIx bug #70433 - Uninitialized pointer in phar_make_dirstream when zip entry filename is "/"
Fix bug #69720: Null pointer dereference in phar_get_fp_offset()
Fix bug #70480 (php_url_parse_ex() buffer overflow read)
Add support for parameters to tick functions, on C level. This is only for extensions that want to use register tick functions. Userland tick functions are unaffected.
Add NEWS entry for #70533 (credits to Anatol)
fix phpdbg's -h switch
Fixed bug #70572 segfault in mysqlnd_connect
Spread the news about 70384
Allow an experimental VM with tail call dispatch technique (disabled by default). This VM may work only if all tail calls are optimized, otherwaise it will crach because of stack overflow. Unfortunately, we can't guarantee tail call optimization in C.
check for test requirement
fix data type and warning
Extended zend_extension API to allow storing additional data associated with op_arrays in opcache SHM. (op_array->reserved[])
...
* PHP-7.0: (102 commits)
add missing NEWS entry
Improve row fetch changes for PHP7. Update test SKIPIFs. Add test for 11g client (Senthil)
Enabled placing PHP code segment into huge pages
Enable file based cache compilation by default
Use shorter php.ini directive name "opcache.huge_code_pages" and disable it by default.
Removed useless include
Avoid reallocations
Use memcpy() instead of mmap() to keep modifyed code (e.g. gdb breakpoints)
Fix bug #70487
Added an experemental ability to move PHP code pages (PHP TEXT segment) into HUGE pages. PHP should be configured and built with --enable-huge-code-pages, OS should be configured to provide huge pages. It's possible to enable/disable this future in php.ini through opcache.enable_huge_code_pages=0/1. The feature was tested on Linux and provided 2% improvement on real-life apps, because of 2-3 times reduction in number of iTLB misses.
Fix mem leak in PHP7
Add support for **= in opcache optimizer
add overflow check
fix data types
add range checks
Final diff fixes for PHP7 on base platform (some mem leaks still to be fixed). Update driver name. Improve test portability (Senthil)
Fixed bug #70478 (**= does no longer work)
Manual CSE to avoid double read
Change this as sixd suggested
Add test XFAIL for bug #70470
...
* master: (201 commits)
sync NEWS
Add missing variable from birdstep_commit() which got removed in e8fcd52ef
Align NEWS entries format
Add CVE for #70140 (PHP 7.0.0 Beta 3)
Seems master is not affected
We should keep one refcount to resource
Fixed bug #70398 (SIGSEGV, Segmentation fault zend_ast_destroy_ex)
Fixed test
Partially fix bug #67167 - Wrong return value...
move the phpdbg NEWS entry to the correct version
add missing news entries
Skip if ext/filter isn't loaded
Merge branch 'PHP-5.6'
5.5.30 next
Use ZSTR_VAL
fix dir separators in test
use correct api
fix leak
cleanup an atavism
add overflow check
...
Define __STDC_LIMITS_MACROS and __STDC_CONSTANT_MACROS
prior to including stdint.h for the first time so that it
defines the INT64_MAX / INT64_C / etc... macros we use elsewhere
when building for C++ (C already gets these).
* master: (211 commits)
Fixed bug #70272 (Segfault in pdo_mysql)
Improved fix for bug #70262
It should not be skip
Skip the test with valgrind
Revert "Do not truncate exception traces upon anon class name"
fix inheritance of internal interfaces with constants
fix printzv (refcount)
Do not truncate exception traces upon anon class name
fix test
TSRM_TLS should be usable in NTS build
no need to skip this test if no dictionaries are installed
new test for enchant pwl file
Check and use correct signature_len type for EVP_VerifyFinal
updated NEWS
fixed changed error message in test
updated NEWS
Removed dead code
Renamed struct member
Fix#70277: new DateTimeZone($foo) is ignoring text after null byte
Fixed bug #70262 (Accessing array crashes PHP 7.0beta3)
...
* master: (174 commits)
Fixed possible access to uninitialized data (prevents valgrind issues in Zend/tests/bug70089.phpt)
Added NEWS entry
Get rid of ZEND_FAST_CALL_UNBOUND
Move most "finally" related code-generation from pass_two() to compiler.
Try to fix finally issue
Fix further leaks
Fix valgrind errors in phpdbg
Fix last invalid read Also revert debugging run-tests.php changes...
Fix a few valgrind errors in phpdbg
Fix breaking on HANDLE_EXCEPTION (opline_before_exception)
Remove unneded space(s)
Fixed tests (system dependent numbers are replaced with %d)
Fixed test
updated UPGRADING
Give better credit in NEWS
Fixed bug #70182 (Segfault in ZEND_ASSIGN_OP handlers)
more info for UPGRADING.INTERNALS
updated NEWS
Fixed bug #70183 null pointer deref (segfault) in zend_eval_const_expr
fix inconsistent dll linkage
...
* master: (204 commits)
Reverted ad4533fdba
update UPGRADING
updated NEWS
fix comment
libwebp support for linux
Replaced libvpx by libwebp (first draft; Windows only)
update news with bug #70022
Change E_ERROR and some E_WARNING to E_RECOVERABLE_ERROR.
Add tests for json_last_error()/json_last_error_msg() failures
updated NEWS
updated NEWS
Exclude opcache from a few opcode related tests
updated NEWS
updated NEWS
Fix#66387: Stack overflow with imagefilltoborder
Fix various Windows issues (e.g. dir separators)
Remove bogus exception_save() from FETCH_CLASS
Fix readline/libedit build
Do not use readline when not having a tty This is important for e.g. run-tests.php
Add show_unexecuted option to phpdbg_end_oplog()
...
Conflicts:
Zend/tests/temporary_cleaning_001.phpt
Zend/tests/temporary_cleaning_003.phpt
Zend/tests/temporary_cleaning_004.phpt
Zend/tests/temporary_cleaning_005.phpt
Zend/zend_compile.c
Zend/zend_compile.h
sapi/phpdbg/phpdbg_opcode.c
spprintf now always creates a buffer and strpprintf always returns
a zend_string. Previously, if the result of the format happened to
be empty, the spprintf buffer would be set to NULL and strpprintf
would return NULL.
If SG(request_info).request_body can't be completely written (e.g. due to a
full drive), only parts of the POST data will be available. This patch changes
this, so that SG(request_info).request_body will be reset in this case, and a
warning will be thrown.