3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $number1=9; $str= "bijing"; $text=vsprintf(bc,('$number1')); echo $text; ?>
based on Ar8oU
Output for 7.2.0
Warning: Use of undefined constant bc - assumed 'bc' (this will throw an Error in a future version of PHP) in /in/OvLVF on line 4 bc
Output for 5.3.21 - 7.1.10
Notice: Use of undefined constant bc - assumed 'bc' in /in/OvLVF on line 4 bc