3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(array_map(intval, array("1")));
based on f6MUq
Output for 7.2.0
Warning: Use of undefined constant intval - assumed 'intval' (this will throw an Error in a future version of PHP) in /in/lpWAS on line 3 array(1) { [0]=> int(1) }
Output for 5.3.22 - 7.1.10
Notice: Use of undefined constant intval - assumed 'intval' in /in/lpWAS on line 3 array(1) { [0]=> int(1) }