3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php <?php $num = mt_rand ( 0, 0xffffff ); // trust the library, love the library... $output = sprintf ( "%06x" , $num ); // muchas smoochas to you, PHP! echo $output;
Output for 5.3.7 - 5.4.30
Parse error: syntax error, unexpected '<' in /in/u6W3M on line 2
Process exited with code 255.