3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $bar = <<<EOL { "error": "%s", "token": "%s", "expires_at": %d } EOL; printf($bar, "", "9jd2eg3b2e8bhu3ddnudh3h9dbh", "123456789");
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
{ "error": "", "token": "9jd2eg3b2e8bhu3ddnudh3h9dbh", "expires_at": 123456789 }