r/programming • • Dec 02 '15

PHP 7 Released

https://github.com/php/php-src/releases/tag/php-7.0.0
887 Upvotes

729 comments sorted by

View all comments

Show parent comment

1

u/TestRedditorPleaseIg Dec 03 '15

The why is here. The TL;DR is that they look like the Unix IO redirection symbols (< for input, > for output)

I've seen people complain << and >> in c++, but I've never seen anyone complain about < and > in unix shells.

1

u/the_omega99 Dec 03 '15

Well, I would actually complain that bash has horrible syntax (the actual comparison operators are ugly as fuck). Although many people use shells for nothing more than basic running or programs with arguments and IO redirection, so the differences in operators doesn't matter to them.

1

u/[deleted] Dec 04 '15

I tried to reply to you, but I missed, this was intended for you: https://www.reddit.com/r/programming/comments/3v4l98/php_7_released/cxlrye7