]>
granicus.if.org Git - php/log
Dmitry Stogov [Thu, 28 Jan 2016 15:00:06 +0000 (18:00 +0300)]
Use special type IS_ERROR instread of EG(error_zval). (we still need EG(error_zval) for SPL support).
Dmitry Stogov [Thu, 28 Jan 2016 08:54:48 +0000 (11:54 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed bug #71474 (Crash because of VM stack corruption on Magento2).
Dmitry Stogov [Thu, 28 Jan 2016 08:41:15 +0000 (11:41 +0300)]
Fixed bug #71474 (Crash because of VM stack corruption on Magento2).
Yasuo Ohgaki [Thu, 28 Jan 2016 06:05:21 +0000 (15:05 +0900)]
Update error message. Missed to include in previous commit
46d4a371054f43fe8aeca14b83ba722adc84ac10
Mikko [Tue, 26 Jan 2016 03:34:19 +0000 (03:34 +0000)]
Session regenerate id seems to malfunction with 3rd party session handlers
Fixed bug #71472 session_regenerate_id malfunctions with certain session handlers
Stanislav Malyshev [Wed, 27 Jan 2016 06:55:20 +0000 (22:55 -0800)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Use safe alloc functions when calculations are made on sizes.
Stanislav Malyshev [Wed, 27 Jan 2016 06:10:43 +0000 (22:10 -0800)]
Use safe alloc functions when calculations are made on sizes.
Fixes bug #71449, bug #71450
Anatol Belski [Tue, 26 Jan 2016 15:41:00 +0000 (16:41 +0100)]
fix typo
Xinchen Hui [Tue, 26 Jan 2016 08:22:55 +0000 (16:22 +0800)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed bug #71439 (OpenSSL-dependent test fails to skip when openssl not enabled)
Xinchen Hui [Tue, 26 Jan 2016 08:22:31 +0000 (16:22 +0800)]
Fixed bug #71439 (OpenSSL-dependent test fails to skip when openssl not enabled)
Xinchen Hui [Tue, 26 Jan 2016 07:59:32 +0000 (15:59 +0800)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Added test for bug #71443
Xinchen Hui [Tue, 26 Jan 2016 07:59:18 +0000 (15:59 +0800)]
Added test for bug #71443
Xinchen Hui [Tue, 26 Jan 2016 07:58:14 +0000 (15:58 +0800)]
Merge branch 'master' of git.php.net:/php-src
* 'master' of git.php.net:/php-src:
add note on readline support
check for NULL and avoid crashes
Xinchen Hui [Tue, 26 Jan 2016 07:57:49 +0000 (15:57 +0800)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed bug #71443 (Segfault using built-in webserver with intl using symfony)
Fix memory leak with not freeing OpenSSL errors
check for NULL and avoid crashes
Update libmagic.patch for PHP-5.6
Fixed bug #7143 (finfo throws notice for specific python file)
Xinchen Hui [Tue, 26 Jan 2016 07:57:39 +0000 (15:57 +0800)]
Fixed bug #71443 (Segfault using built-in webserver with intl using symfony)
Anatol Belski [Tue, 26 Jan 2016 07:55:49 +0000 (08:55 +0100)]
add note on readline support
Jakub Zelenka [Mon, 25 Jan 2016 17:20:05 +0000 (17:20 +0000)]
Merge branch 'PHP-7.0'
Jakub Zelenka [Mon, 25 Jan 2016 17:19:18 +0000 (17:19 +0000)]
Merge branch 'PHP-5.6' into PHP-7.0
Jakub Zelenka [Mon, 25 Jan 2016 16:50:16 +0000 (16:50 +0000)]
Fix memory leak with not freeing OpenSSL errors
Antony Dovgal [Mon, 25 Jan 2016 11:29:51 +0000 (14:29 +0300)]
check for NULL and avoid crashes
Antony Dovgal [Mon, 25 Jan 2016 11:29:51 +0000 (14:29 +0300)]
check for NULL and avoid crashes
Xinchen Hui [Mon, 25 Jan 2016 08:00:10 +0000 (16:00 +0800)]
Improve the names
Xinchen Hui [Mon, 25 Jan 2016 04:13:35 +0000 (12:13 +0800)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed bug #71442 (forward_static_call crash)
Xinchen Hui [Mon, 25 Jan 2016 04:13:22 +0000 (12:13 +0800)]
Fixed bug #71442 (forward_static_call crash)
Xinchen Hui [Mon, 25 Jan 2016 03:46:42 +0000 (11:46 +0800)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Update libmagic.patch for PHP-7.0
Fixed compiler warnings
Fixed bug #71434 (finfo throws notice for specific python file)
Xinchen Hui [Mon, 25 Jan 2016 03:45:20 +0000 (11:45 +0800)]
Update libmagic.patch for PHP-7.0
Xinchen Hui [Mon, 25 Jan 2016 03:42:36 +0000 (11:42 +0800)]
Fixed compiler warnings
Xinchen Hui [Mon, 25 Jan 2016 03:40:08 +0000 (11:40 +0800)]
Fixed bug #71434 (finfo throws notice for specific python file)
Xinchen Hui [Mon, 25 Jan 2016 03:25:04 +0000 (11:25 +0800)]
Update libmagic.patch for PHP-5.6
Xinchen Hui [Mon, 25 Jan 2016 03:20:48 +0000 (11:20 +0800)]
Fixed bug #7143 (finfo throws notice for specific python file)
There seems be a bug while it was changed from regexec to
preg_match_impl:
https://github.com/php/php-src/commit/
46906925 #diff-56e765972d18c84894ea061cfe58076aR1757
Nikita Popov [Sat, 23 Jan 2016 16:58:36 +0000 (17:58 +0100)]
Remove dead code
OP_DATA isn't used in that way anymore
Nikita Popov [Sat, 23 Jan 2016 15:56:27 +0000 (16:56 +0100)]
Respect RC_INFERENCE during DFG construction
To avoid inserting phis that are only relevant with rc inference
enabled. Suprisingly, this affects only 0.8% of phis.
Nikita Popov [Sat, 23 Jan 2016 15:27:19 +0000 (16:27 +0100)]
Don't insert duplicate predecessors
Otherwise we'll get corrupt phis
Nikita Popov [Fri, 22 Jan 2016 14:38:38 +0000 (15:38 +0100)]
Fix SSA for ZEND_YIELD
Yield-by-ref defs a ref var, yield-by-var only defs an rc1/rcn var
if rc inference is used.
Also move BIND_LEXICAL where it belongs in DFG construction.
Bob Weinand [Sun, 24 Jan 2016 18:55:31 +0000 (19:55 +0100)]
Merge branch 'PHP-7.0'
Bob Weinand [Sun, 24 Jan 2016 18:55:16 +0000 (19:55 +0100)]
Fixed bug #71441 (Typehinted Generator with return in try/finally crashes)
Xinchen Hui [Sun, 24 Jan 2016 11:57:17 +0000 (03:57 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Sun, 24 Jan 2016 11:56:47 +0000 (03:56 -0800)]
Fixed Bug #71435 (Reproducible crash using opcache.file_cache_only=1 and class constant)
Xinchen Hui [Sun, 24 Jan 2016 06:49:15 +0000 (22:49 -0800)]
Fixed warning of incompatible pointer
Bob Weinand [Sat, 23 Jan 2016 17:17:18 +0000 (18:17 +0100)]
Merge branch 'PHP-7.0'
Bob Weinand [Sat, 23 Jan 2016 17:16:57 +0000 (18:16 +0100)]
Use uint64_t for flags (warning)
Jakub Zelenka [Fri, 22 Jan 2016 19:39:16 +0000 (19:39 +0000)]
Update NEWS and UPGRADING for PR #1701
Eddie Kohler [Tue, 29 Dec 2015 00:05:09 +0000 (19:05 -0500)]
json_encode: Escape U+2028 and U+2029 more often.
These characters are illegal in Javascript, so leaving them unescaped
is risky. The default encoder ($flags = 0) is fine, but the encoder
with JSON_UNESCAPED_UNICODE flag is not.
In case anyone wants the ability to leave these characters unescaped,
provide JSON_UNESCAPED_LINE_TERMINATORS.
Dmitry Stogov [Fri, 22 Jan 2016 10:32:20 +0000 (13:32 +0300)]
More accurate handling of isset() and unset()
Dmitry Stogov [Fri, 22 Jan 2016 10:30:34 +0000 (13:30 +0300)]
Added optimization constraint (don't optimize result of NEW, because constructor may throw exception)
Xinchen Hui [Fri, 22 Jan 2016 07:34:56 +0000 (15:34 +0800)]
Return meaningful value
Xinchen Hui [Fri, 22 Jan 2016 03:22:37 +0000 (11:22 +0800)]
We don't need to dup zend_class_constant here.
quote why the internal class is still using duplication:
```
for internal classes, the zend_class_constant is malloc-ed. we need to
free it.
if (const->ce == ce) {
zval_ptr_dtor(&const->value);
free(const)
}
so, if two classes share one const, and it(parent class) was freed
before, this read(in child class, const->ce) is invalid..
and destroy_zend_class is called via zend_hash_destroy(class_table).
which is not in reverse order... so, parent classes are dtor first.
if we want this work, we should change that order.
```
Nikita Popov [Thu, 21 Jan 2016 20:28:02 +0000 (21:28 +0100)]
Make op1/op2 decoding in phpdbg more complete
Nikita Popov [Thu, 21 Jan 2016 20:52:50 +0000 (21:52 +0100)]
Don't print try-catch offset for FAST_RET w/o ev
Nikita Popov [Thu, 21 Jan 2016 20:30:45 +0000 (21:30 +0100)]
Mark op1 of INIT_FCALL as NUM
Nikita Popov [Thu, 21 Jan 2016 20:13:43 +0000 (21:13 +0100)]
Consolidate op1/op2 vm flags
Andrey Hristov [Thu, 21 Jan 2016 11:59:23 +0000 (12:59 +0100)]
Add missing macro
Xinchen Hui [Thu, 21 Jan 2016 07:27:53 +0000 (15:27 +0800)]
Typo (SKIPF -> SKIPIF)
Xinchen Hui [Thu, 21 Jan 2016 06:37:54 +0000 (14:37 +0800)]
Empty line
Xinchen Hui [Thu, 21 Jan 2016 06:31:03 +0000 (14:31 +0800)]
Cover overloaded functions
Xinchen Hui [Thu, 21 Jan 2016 05:53:29 +0000 (13:53 +0800)]
Let's add a class entry for testing
Xinchen Hui [Thu, 21 Jan 2016 05:32:08 +0000 (13:32 +0800)]
Merge branch 'master' of git.php.net:/php-src
* 'master' of git.php.net:/php-src:
re-arrange NEWS
5.6.19 will be next
Fix test when run with openssl < 1.0.2 (reorder so no more SSLv2 message) Fix skip message to work
fix ReflectionClass::__toString doc block omitted
fix ReflectionClass::__toString doc block omitted
improve fix for bug #71201
improve fix for bug #71201
Xinchen Hui [Thu, 21 Jan 2016 05:30:41 +0000 (13:30 +0800)]
Fixed bug #71413 (Crash with constants on internal interfaces)
Ferenc Kovacs [Thu, 21 Jan 2016 01:25:39 +0000 (02:25 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
re-arrange NEWS
Ferenc Kovacs [Thu, 21 Jan 2016 01:25:23 +0000 (02:25 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
re-arrange NEWS
Ferenc Kovacs [Thu, 21 Jan 2016 01:24:51 +0000 (02:24 +0100)]
re-arrange NEWS
Ferenc Kovacs [Wed, 20 Jan 2016 14:43:49 +0000 (15:43 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
5.6.19 will be next
Ferenc Kovacs [Wed, 20 Jan 2016 14:43:15 +0000 (15:43 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
5.6.19 will be next
Ferenc Kovacs [Wed, 20 Jan 2016 14:39:05 +0000 (15:39 +0100)]
5.6.19 will be next
Remi Collet [Wed, 20 Jan 2016 12:11:13 +0000 (13:11 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fix test when run with openssl < 1.0.2 (reorder so no more SSLv2 message) Fix skip message to work
fix ReflectionClass::__toString doc block omitted
Remi Collet [Wed, 20 Jan 2016 12:10:56 +0000 (13:10 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix test when run with openssl < 1.0.2 (reorder so no more SSLv2 message) Fix skip message to work
Remi Collet [Wed, 20 Jan 2016 12:08:58 +0000 (13:08 +0100)]
Fix test when run with openssl < 1.0.2 (reorder so no more SSLv2 message)
Fix skip message to work
Joe Watkins [Wed, 20 Jan 2016 10:55:09 +0000 (10:55 +0000)]
Merge branch 'master' of https://github.com/php/php-src
Joe Watkins [Wed, 20 Jan 2016 10:52:27 +0000 (10:52 +0000)]
fix ReflectionClass::__toString doc block omitted
Joe Watkins [Wed, 20 Jan 2016 10:52:57 +0000 (10:52 +0000)]
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
Joe Watkins [Wed, 20 Jan 2016 10:52:27 +0000 (10:52 +0000)]
fix ReflectionClass::__toString doc block omitted
Anatol Belski [Wed, 20 Jan 2016 08:46:58 +0000 (09:46 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
improve fix for bug #71201
improve fix for bug #71201
Anatol Belski [Wed, 20 Jan 2016 08:46:09 +0000 (09:46 +0100)]
improve fix for bug #71201
Anatol Belski [Wed, 20 Jan 2016 08:45:49 +0000 (09:45 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
improve fix for bug #71201
Anatol Belski [Wed, 20 Jan 2016 08:44:28 +0000 (09:44 +0100)]
improve fix for bug #71201
Nikita Popov [Tue, 19 Jan 2016 21:25:21 +0000 (22:25 +0100)]
Mark isset($$var) as INDIRECT_VAR_ACCESS
Nikita Popov [Sat, 9 Jan 2016 17:42:07 +0000 (18:42 +0100)]
Add support for Pi type constraints
Supports TYPE_CHECK and IS_IDENTICAL for now.
Dmitry Stogov [Tue, 19 Jan 2016 12:54:44 +0000 (15:54 +0300)]
Typo (ASSESS->ACCESS)
Dmitry Stogov [Tue, 19 Jan 2016 12:33:08 +0000 (15:33 +0300)]
Use ZEND_FUNC_INDIRECT_VAR_ASSESS instead of ZEND_FUNC_TOO_DYNAMIC. Handle function with exceptions handlers and generators separately.
Anatol Belski [Tue, 19 Jan 2016 11:14:59 +0000 (12:14 +0100)]
vc doesn't support #warning
Anatol Belski [Tue, 19 Jan 2016 08:04:52 +0000 (09:04 +0100)]
reorder comments
Anatol Belski [Tue, 19 Jan 2016 08:02:12 +0000 (09:02 +0100)]
get rid of win32_ prefix
Anatol Belski [Tue, 19 Jan 2016 07:57:58 +0000 (08:57 +0100)]
check return values and cleanup the job object on exit
Anatol Belski [Tue, 19 Jan 2016 07:04:40 +0000 (08:04 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
add 7.0.4 block to NEWS
bump version to 7.0.4-dev
Anatol Belski [Tue, 19 Jan 2016 07:03:44 +0000 (08:03 +0100)]
add 7.0.4 block to NEWS
Anatol Belski [Tue, 19 Jan 2016 07:02:39 +0000 (08:02 +0100)]
bump version to 7.0.4-dev
Anatol Belski [Mon, 18 Jan 2016 19:52:17 +0000 (20:52 +0100)]
trap also children exits on shutdown to avoid unhandled exceptions
Anatol Belski [Mon, 18 Jan 2016 17:31:04 +0000 (18:31 +0100)]
integrate the /Gw compiler switch
Anatol Belski [Mon, 18 Jan 2016 17:08:49 +0000 (18:08 +0100)]
fix compiler version check
Anatol Belski [Mon, 18 Jan 2016 17:05:34 +0000 (18:05 +0100)]
integrate /Zc:inline switch
Anatol Belski [Mon, 18 Jan 2016 16:35:23 +0000 (17:35 +0100)]
add proper noinline specifier for VC
Anatol Belski [Mon, 18 Jan 2016 17:24:42 +0000 (18:24 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
fix test for 7.0, OpenSSL >= 1.0.2 disables SSLv2 by default
Anatol Belski [Mon, 18 Jan 2016 17:23:07 +0000 (18:23 +0100)]
fix test for 7.0, OpenSSL >= 1.0.2 disables SSLv2 by default
Anatol Belski [Mon, 18 Jan 2016 16:02:58 +0000 (17:02 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
fork test
fix test
fork test
fork test for win32
fork test
Anatol Belski [Mon, 18 Jan 2016 16:02:23 +0000 (17:02 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fork test
fix test
fork test
fork test for win32
fork test
Anatol Belski [Mon, 18 Jan 2016 15:59:17 +0000 (16:59 +0100)]
fork test
Anatol Belski [Mon, 18 Jan 2016 15:52:48 +0000 (16:52 +0100)]
fix test
Anatol Belski [Mon, 18 Jan 2016 15:45:35 +0000 (16:45 +0100)]
fork test
Anatol Belski [Mon, 18 Jan 2016 15:37:04 +0000 (16:37 +0100)]
fork test for win32
Anatol Belski [Mon, 18 Jan 2016 15:34:20 +0000 (16:34 +0100)]
fork test