Re:PHP 7 at Tumblr
by rampage101 on Friday November 11, 2016 @04:54AM
(#12929284)
PHP 7 is the next upgrade from PHP 5? I am very new to PHP and learning from a book which is PHP 5.
[ Parent
| on HN ]
Yes, but more or less everything you know about PHP 5 is still true and will work just fine in PHP 7.
Re:PHP 7 at Tumblr
by oneweekwonder on Friday November 11, 2016 @06:20AM
(#12929700)
Try `print false;` and see if you get the result you expect[0]. Because it differs compared to node, perl, python(Yes Yes first char uppercase) and other languages I can not think of.
Also good luck with the param ordering of `array_map` compared to `array_filter` and `array_reduce`. Actually get use to the word array. Because in 2009 the PHP developers did not think array is a important data type that needs a short hand array() vs [], and all their function names `array_` shows this ugliness.
I would advice rather spend your time learning python or javascript. But I acknowledge PHP became a de facto standard with MediaWiki, WordPress, Facebook, dragging the broken language into the 21st century.
Re:PHP 7 at Tumblr
by oneweekwonder on Friday November 11, 2016 @08:52AM
(#12930577)
For the down voters please see [Petty Issues I have with PHP!](petty); and please reply.
I would really like to talk about this constructively.
[petty]: https://gist.github.com/Morabaraba/3e93d7d21e16b6eb8266ee1cc...
ps. can you not edit your comment anymore... could you ever edit your comment?