3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo mt_rand(oid);
based on E599F
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Use of undefined constant oid - assumed 'oid' in /in/6hLff on line 3 Warning: mt_rand() expects exactly 2 parameters, 1 given in /in/6hLff on line 3
Output for hhvm-3.10.0 - 3.12.0
Notice: Use of undefined constant oid - assumed 'oid' in /in/6hLff on line 3 Warning: mt_rand() expects parameter 1 to be integer, string given in /in/6hLff on line 3