3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "hello melon"; echo strtok($str, 'lo') . "\n"; echo strtok();
Output for 5.3.0 - 7.2.0
he Warning: strtok() expects at least 1 parameter, 0 given in /in/TZL4B on line 6
Output for 4.3.0 - 5.2.17
he Warning: Wrong parameter count for strtok() in /in/TZL4B on line 6