Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Yes, PHP is faster than C#. Parent comment
> To read in binary, you open with 'rb' and not just 'r'.
No. "The default translation mode is 'b'." [1] And even in 't' mode, it's still reading bytes in PHP vs UCS-2 characters in C#.
[1] https://www.php.net/manual/en/function.fopen.php
There are no comments on this comment yet.
> To read in binary, you open with 'rb' and not just 'r'.
No. "The default translation mode is 'b'." [1] And even in 't' mode, it's still reading bytes in PHP vs UCS-2 characters in C#.
[1] https://www.php.net/manual/en/function.fopen.php