PHP 5.6.0 alpha1
The PHP development team has announced the start of the PHP 5.6.0 release cycle.
Some innovations:
- Phpdbg debugger
- Reuse php: // input
- Uploading files larger than 2GB
- Added hash algorithm gost-crypto
- Improved SSL / TLS, OpenSSL adds the openssl_x509_fingerprint function.
- Scalar expressions in constants
- Variable number of function arguments
Scalar expressions in constants
const THREE = TWO + 1; const ONE_THIRD = ONE / self::THREE; const SENTENCE = 'The value of '.THREE.' is 3';
Variable number of function arguments
function f($req, $opt = null, ...$params) {
')
The use statement now supports variables and functions.
use const Name\Space\FOO; use function Name\Space\f;
The next alpha release is scheduled for February 6th.
download page
List of changes
binary files for windowsSource: https://habr.com/ru/post/210206/
All Articles