3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $defaultTicker = '{ "ticker":"SPY", "startDay":1, "endDay":30}'; ?> <?php echo $defaultTicker; ?> <?=$defaultTicker?>
Output for 5.4.0 - 7.1.0
{ "ticker":"SPY", "startDay":1, "endDay":30} { "ticker":"SPY", "startDay":1, "endDay":30}
Output for 4.3.0 - 5.3.29
{ "ticker":"SPY", "startDay":1, "endDay":30} <?=$defaultTicker?>