Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment orderThat's a weekend project and it turned out better than I expected. Thanks to nikic's php-parser, astexplorer.net and Babel infrastructure handling the gnarly bits (e.g. source maps just worked). I started it because I hoped it would speed up rewrites of projects from PHP to JS, but now that I've actually seen the results, I realised that bad PHP code makes only worse JS (and there's no point rewriting good PHP code). Still, I think it could be useful for…
This is cool, it's a tool to transpile it at build time so you are two steps removed from running PHP on the browser. I dissected this tool a while back and built another that lets you write and run PHP straight in the browser by doing the transformation on-the-fly. Wrote a blog post and all around it: https://francisco.io/blog/running-php-in-javascript/ Incidentally it's the #3 when you google "Run PHP in Javascript"
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 2
- Total points
- 237
- Total comments
- 101
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2017-07-11 | PHP7 to ES7 syntax translator | pornel | 2 | 0 |
| 2017-07-11 | Babel-preset-php: PHP7 to ES7 syntax translatorFirst breakout · Best thread | farhadhf | 130 | 63 |
| 2020-04-02 | PHP to JavaScript Syntax Translator | kbumsik | 2 | 0 |
| 2020-07-26 | PHP7 to ES7 Syntax Translator | tosh | 1 | 0 |
| 2020-07-26 | Run PHP in the browser through BabelLatest 20+ point return | tambourine_man | 102 | 38 |
