3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo mt_rand(oid);
based on E599F
Output for 7.2.0
Warning: Use of undefined constant oid - assumed 'oid' (this will throw an Error in a future version of PHP) in /in/6hLff on line 3 Warning: mt_rand() expects exactly 2 parameters, 1 given in /in/6hLff on line 3
Output for 4.3.0 - 7.1.7
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