3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = date('Y-m-d'); $poem = <<<HTML I think that I Shall never pay As much as I Have for $today HTML; echo $poem;
Output for 7.0.21 - 7.0.23, 7.1.8 - 7.1.20, 7.2.6 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.27, 8.0.0 - 8.0.15, 8.1.0 - 8.1.2
I think that I Shall never pay As much as I Have for 2017-09-07
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.30, 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
I think that I Shall never pay As much as I Have for 2017-01-18

preferences:
51.9 ms | 535 KiB | 13 Q