3 ms·
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 langua
by oneweekwonder 10y ago
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.
[0]: http://pastebin.com/raw/P6BTmceL http://pastebin.com/raw/P6BTmceL
- oneweekwonder 10y agoFor 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/3e93d7d21e16b6eb8266ee1ccbdf77f8 https://gist.github.com/Morabaraba/3e93d7d21e16b6eb8266ee1cc... ps. can you not edit your comment anymore... could you ever edit your comment?
- grzm 10y agoOnce the comment gets to a certain age (an hour?), it's no longer editable.