MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3v4l98/php_7_released/cxkov7a?context=9999
r/programming • u/fnkrx • Dec 02 '15
729 comments sorted by
View all comments
146
For those wondering why there's a jump from 5 to 7, it's because the php 6 development branch was dedicated to full unicode support, but the work involved overwhelmed them, so they jumped to 7 to release new features without the unicode component.
49 u/NoahTheDuke Dec 02 '15 So after finishing unicode support in 6, will their next release be integrating 6 into 7 as PHP 8? 209 u/time-lord Dec 02 '15 No no no, this is PHP we're talking about. Sometime after releasing PHP 7, the Unicode support will eventually be completed and PHP 6 will be released. The release cycle will be 4, 5, 7, 6. 25 u/f4ktrh Dec 02 '15 edited Dec 02 '15 So PHP of them!May I suggest the future release cycle?34, 1022, 3.2.1.9.2, 65535, -1, ... 83 u/notsure1235 Dec 02 '15 How about 34, 34.0, "34", "34 ", " 34"... 9 u/oridb Dec 02 '15 Aren't those all the same? 28 u/NeuroXc Dec 02 '15 Mostly."34" != "34 " and " 34" != "34 ".But "34" == " 34".Wat. 3 u/alexanderpas Dec 02 '15 integer comparison vs. string comparison.http://php.net/manual/en/language.types.string.php#language.types.string.conversion → More replies (3) → More replies (1)
49
So after finishing unicode support in 6, will their next release be integrating 6 into 7 as PHP 8?
209 u/time-lord Dec 02 '15 No no no, this is PHP we're talking about. Sometime after releasing PHP 7, the Unicode support will eventually be completed and PHP 6 will be released. The release cycle will be 4, 5, 7, 6. 25 u/f4ktrh Dec 02 '15 edited Dec 02 '15 So PHP of them!May I suggest the future release cycle?34, 1022, 3.2.1.9.2, 65535, -1, ... 83 u/notsure1235 Dec 02 '15 How about 34, 34.0, "34", "34 ", " 34"... 9 u/oridb Dec 02 '15 Aren't those all the same? 28 u/NeuroXc Dec 02 '15 Mostly."34" != "34 " and " 34" != "34 ".But "34" == " 34".Wat. 3 u/alexanderpas Dec 02 '15 integer comparison vs. string comparison.http://php.net/manual/en/language.types.string.php#language.types.string.conversion → More replies (3) → More replies (1)
209
No no no, this is PHP we're talking about. Sometime after releasing PHP 7, the Unicode support will eventually be completed and PHP 6 will be released. The release cycle will be 4, 5, 7, 6.
25 u/f4ktrh Dec 02 '15 edited Dec 02 '15 So PHP of them!May I suggest the future release cycle?34, 1022, 3.2.1.9.2, 65535, -1, ... 83 u/notsure1235 Dec 02 '15 How about 34, 34.0, "34", "34 ", " 34"... 9 u/oridb Dec 02 '15 Aren't those all the same? 28 u/NeuroXc Dec 02 '15 Mostly."34" != "34 " and " 34" != "34 ".But "34" == " 34".Wat. 3 u/alexanderpas Dec 02 '15 integer comparison vs. string comparison.http://php.net/manual/en/language.types.string.php#language.types.string.conversion → More replies (3) → More replies (1)
25
So PHP of them!
May I suggest the future release cycle?
34, 1022, 3.2.1.9.2, 65535, -1, ...
83 u/notsure1235 Dec 02 '15 How about 34, 34.0, "34", "34 ", " 34"... 9 u/oridb Dec 02 '15 Aren't those all the same? 28 u/NeuroXc Dec 02 '15 Mostly."34" != "34 " and " 34" != "34 ".But "34" == " 34".Wat. 3 u/alexanderpas Dec 02 '15 integer comparison vs. string comparison.http://php.net/manual/en/language.types.string.php#language.types.string.conversion → More replies (3) → More replies (1)
83
How about 34, 34.0, "34", "34 ", " 34"...
9 u/oridb Dec 02 '15 Aren't those all the same? 28 u/NeuroXc Dec 02 '15 Mostly."34" != "34 " and " 34" != "34 ".But "34" == " 34".Wat. 3 u/alexanderpas Dec 02 '15 integer comparison vs. string comparison.http://php.net/manual/en/language.types.string.php#language.types.string.conversion → More replies (3) → More replies (1)
9
Aren't those all the same?
28 u/NeuroXc Dec 02 '15 Mostly."34" != "34 " and " 34" != "34 ".But "34" == " 34".Wat. 3 u/alexanderpas Dec 02 '15 integer comparison vs. string comparison.http://php.net/manual/en/language.types.string.php#language.types.string.conversion → More replies (3) → More replies (1)
28
Mostly.
"34" != "34 " and " 34" != "34 ".
"34" != "34 "
" 34" != "34 "
But "34" == " 34".
"34" == " 34"
Wat.
3 u/alexanderpas Dec 02 '15 integer comparison vs. string comparison.http://php.net/manual/en/language.types.string.php#language.types.string.conversion → More replies (3) → More replies (1)
3
integer comparison vs. string comparison.
http://php.net/manual/en/language.types.string.php#language.types.string.conversion
→ More replies (3)
146
u/johnasmith Dec 02 '15
For those wondering why there's a jump from 5 to 7, it's because the php 6 development branch was dedicated to full unicode support, but the work involved overwhelmed them, so they jumped to 7 to release new features without the unicode component.