3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function f1() { echo sprintf("%s => %d", "blep", 1); } function f2() { echo vsprintf("%s => %d", ["blep", 1]); } echo f1(); echo "\n"; echo f2();
Output for 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.30 - 7.1.15, 7.1.17 - 7.3.0alpha1
blep => 1 blep => 1
Output for 7.1.16

Process exited with code 137.