3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php list($min, $max) = array_map(intval, explode('-', '100-200')); var_dump($min); var_dump($max);
Output for 7.2.0 - 7.2.8
Warning: Use of undefined constant intval - assumed 'intval' (this will throw an Error in a future version of PHP) in /in/tSLj1 on line 2 int(100) int(200)
Output for 4.3.0 - 7.1.20
Notice: Use of undefined constant intval - assumed 'intval' in /in/tSLj1 on line 2 int(100) int(200)