3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $number = sscanf('ABC123121234ABC', '%s%3s%2s%4s%s'); var_dump(vsprintf('%s%s-%s-%s%s', $number));
based on 17hE3
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
string(17) "ABC123121234ABC--"
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid argument: arguments: (too few) in /in/GIWa9 on line 4 bool(false)