4 ms·
> 1. Scheduled to come out in Q4 2015 Which won't happen, I can tell you. PHP's release dates always slip by at least a month, and that's without a very unstab
by TazeTSchnitzel 12y ago
> 1. Scheduled to come out in Q4 2015
Which won't happen, I can tell you. PHP's release dates always slip by at least a month, and that's without a very unstable master branch like PHP 7 has.
If it does happen, it'll take a few micro (7.0.x) releases until it reaches stability.
> 3. Return Type Declarations & Scalar Type Hints
Also strict scalar typing:
<?php
declare(strict_types=1);
sin(false); // error
strlen(2); // error
However, Zend not mentioning this is to be expected. The company's founders (Zeev Suraski, Andi Gutmans) and employees (Dmitry Stogov and some others) are some of the biggest opponents of strict typing in PHP.
-- disclaimer: I am a former PHP internals developer
- awalGarg 12y ago> biggest opponents of strict typing in PHP Umm, well I saw Zeev has voted in favor of scalar type hints on the RFC?
- TazeTSchnitzel 12y agoHe did vote in favour of the RFC. However, this was reluctantly, at the last minute, and under pressure. He is very much opposed to strict types, but he felt this was the only way scalar types would get into 7.