3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start_date = date('Y-m-d'); $json_string = file_get_contents("https://www.quandl.com/api/v3/datasets/WSJ/AU_HHB.json?start_date=$start_date"); echo $start_date echo $json_string ?>
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16, 7.0.0 - 7.0.1
Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting ',' or ';' in /in/iUUjK on line 7
Process exited with code 255.

preferences:
165.34 ms | 1395 KiB | 25 Q