Dmitry Stogov
ed9c8a23ba
More accurate reference counting on closures
2015-03-10 23:04:41 +03:00
Nikita Popov
00985a975d
Merge branch 'PHP-5.6'
...
Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2015-03-10 18:26:09 +01:00
Nikita Popov
49bd45a2c1
Merge branch 'PHP-5.5' into PHP-5.6
2015-03-10 18:19:27 +01:00
Nikita Popov
bc9f2fb8df
Fixed bug #69212
2015-03-10 18:17:56 +01:00
Dmitry Stogov
5d0bacfe67
Merge branch 'PHP-5.6'
...
* PHP-5.6:
We don't cache custom strems with callbacks anymore
Conflicts:
ext/opcache/ZendAccelerator.c
2015-03-10 19:32:38 +03:00
Dmitry Stogov
b52a2940af
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
We don't cache custom strems with callbacks anymore
2015-03-10 19:30:32 +03:00
Dmitry Stogov
c814b3294a
We don't cache custom strems with callbacks anymore
2015-03-10 19:25:30 +03:00
Dmitry Stogov
a53d82daa6
Prevent possible double inheritance (ext/opcache/tests/bug67215.phpt)
2015-03-10 18:50:07 +03:00
Anatol Belski
61406a527f
C89 compat
2015-03-10 12:11:52 +01:00
Dmitry Stogov
fad8fe94a8
Fixed access on uninitialized data in Zend/tests/closure_019.phpt
2015-03-10 14:05:14 +03:00
Xinchen Hui
4f51f40bf1
Merge branch 'master' of https://git.php.net/repository/php-src
2015-03-10 17:26:15 +08:00
Xinchen Hui
0714e027d0
Merge branch 'PHP-5.6'
2015-03-10 17:24:29 +08:00
Anatol Belski
fd0a66528e
correct tests as the issue is only reproduceable with cgi/fpm
2015-03-10 10:21:22 +01:00
Xinchen Hui
25050e3b00
Merge branch 'PHP-5.5' into PHP-5.6
2015-03-10 17:18:47 +08:00
Xinchen Hui
f074870f4e
Typo
2015-03-10 17:18:39 +08:00
Xinchen Hui
d4c1dca98c
Merge branch 'master' of https://git.php.net/repository/php-src
2015-03-10 17:09:41 +08:00
Xinchen Hui
7df8a68327
Merge branch 'PHP-5.6'
2015-03-10 17:09:28 +08:00
Xinchen Hui
b5589d3fb4
Merge branch 'PHP-5.5' into PHP-5.6
2015-03-10 17:06:05 +08:00
Xinchen Hui
6f4af2da29
Fixed test
2015-03-10 17:05:47 +08:00
Anatol Belski
388c4e7436
added more exception tests
2015-03-10 09:10:25 +01:00
Anatol Belski
ea2e197224
fix leaking registry key handle
2015-03-10 09:10:24 +01:00
Anatol Belski
fca341699e
don't pass zero to malloc()
2015-03-10 09:10:23 +01:00
Xinchen Hui
a5317e9d41
Merge branch 'PHP-5.6'
...
Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2015-03-10 15:49:02 +08:00
Xinchen Hui
0584b2df3f
Update NEWS
2015-03-10 15:38:34 +08:00
Xinchen Hui
abb09693ac
Merge branch 'PHP-5.5' into PHP-5.6
2015-03-10 15:37:14 +08:00
Xinchen Hui
6a6c273893
Fixed bug #66609 (php crashes with __get() and ++ operator in some cases)
2015-03-10 15:36:42 +08:00
Dmitry Stogov
a30d328671
Errors converted to exceptions are not "recoverable" anymore.
2015-03-10 10:31:55 +03:00
Xinchen Hui
56eed39e04
Fixed phar test segfault after merged engine exception
2015-03-10 15:04:01 +08:00
Xinchen Hui
d25acb5fd0
Revert "Fixed phar file action failure after engine exception rfc been merged"
...
This reverts commit f174859acd
.
2015-03-10 15:03:15 +08:00
Daniel Lowrey
dd16a7c820
Update NEWS/UPGRADING
2015-03-09 23:15:57 -06:00
Daniel Lowrey
c5c4d22c10
Deprecate "session_meta_capture" SSL context option
...
Meta data about encrypted streams is now available as part of the
"crypto" key in the array returned by stream_get_meta_data(). This
update deprecates the use of the "session_meta_capture" ssl
context option in encrypted streams.
2015-03-09 23:15:57 -06:00
Daniel Lowrey
2dec21634c
Revert "Add stream_socket_crypto_info() function"
...
This reverts commit 13acb7ec65
.
With the added capability to negotiate application layer protocols
via the TLS ALPN extension userland needs a method to access the
negotiated protocol on a given stream. The reverted commit added
a new stream_socket_crypto_info() function for this purpose.
This original approach was discarded in favor of using the
already-existing stream_get_meta_data() API which specifically
exists for just such purposes and requires the addition of no new
functions.
2015-03-09 23:15:57 -06:00
Daniel Lowrey
676a5059b2
Add crypto info to stream_get_meta_data() result on encrypted streams
...
A "crypto" key is added to the output of stream_get_meta_data() calls
when invoked using a stream on which crypto is currently active. The
new key's associated array contains the following keys:
- protocol (string e.g. TLSv1.2, TLSv1.1, etc)
- cipher_name (string)
- cipher_bits (int)
- cipher_version (string)
If the TLS ALPN extension was used to successfully negotiate an
application protocol that protocol's identifier is stored in the
following key:
- alpn_protocol
If no ALPN protocol was negotiated the "alpn_protocol" key is not
present in the crypto meta data array. More meta information
concerning the stream's active encryption state may be added in the
future.
2015-03-09 23:15:57 -06:00
Xinchen Hui
f6762192d2
Merge branch 'PHP-5.5' into PHP-5.6
2015-03-10 10:44:07 +08:00
Xinchen Hui
22894e74c2
Fix is reverted (test fails in all branches)
2015-03-10 10:43:05 +08:00
Xinchen Hui
f678c14a6c
Merge branch 'fixed-build' of https://github.com/zxcvdavid/php-src
2015-03-10 10:31:36 +08:00
Daniel Lowrey
748433e7bc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix crypto stream timeout regressions
Conflicts:
ext/openssl/xp_ssl.c
2015-03-09 16:02:04 -06:00
Daniel Lowrey
69691cc8ca
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fix crypto stream timeout regressions
2015-03-09 15:55:33 -06:00
Daniel Lowrey
bbfd4a5e62
Fix crypto stream timeout regressions
2015-03-09 15:53:26 -06:00
Reeze Xia
f174859acd
Fixed phar file action failure after engine exception rfc been merged
2015-03-09 17:07:18 +00:00
Xinchen Hui
47f2e42fc9
Remove PHAR_GLOBALS (make it respect ZEND_ENABLE_STATIC_TSRMLS_CACHE)
2015-03-09 23:00:56 +08:00
Wei Dai
3f3e34040a
Fixed compile warnings
2015-03-09 21:25:43 +08:00
Nikita Popov
b0055678bf
Fix CLI test and drop some now unnecessary code
2015-03-09 14:09:34 +01:00
Dmitry Stogov
1c94ff0595
Implement engine exceptions
...
RFC: https://wiki.php.net/rfc/engine_exceptions_for_php7
Pending changes regarding naming of BaseException and whether it
should be an interface.
2015-03-09 14:01:32 +01:00
Nikita Popov
2f156c61f1
Add UPDRADING note about yield operator behavior
...
Fixes bug #69160 .
[ci skip]
2015-03-09 12:41:33 +01:00
Nikita Popov
a4262827ea
Fix ReflectionFunction::isDeprecated() test
...
We currently don't have deprecated functions ... so just switch
this to testing a non-deprecated function.
2015-03-09 12:27:06 +01:00
Nikita Popov
7810659cc3
Removed deprecated mcrypt_ecb() etc
2015-03-09 11:37:13 +01:00
Nikita Popov
c488a45701
Remove deprecated mcrypt_generic_end() alias
2015-03-09 11:10:52 +01:00
Nikita Popov
a81e65a501
Remove xsl.security_prefs ini option
...
Conflicts:
ext/xsl/php_xsl.c
ext/xsl/xsltprocessor.c
2015-03-09 11:06:18 +01:00
Nikita Popov
b5184ef336
Remove unsafe curl file uploads
...
The option CURLOPT_SAFE_UPLOAD still exists, but cannot be disabled.
2015-03-09 11:00:04 +01:00