3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array( 1,2,3); $array2 = array( 3,4,5); $_checked = isset( $array ) ? array_map( 'absint', $array ) : array_map( 'absint', $array2 ); print_r($_checked);
Output for 5.3.0 - 7.1.0
Warning: array_map() expects parameter 1 to be a valid callback, function 'absint' not found or invalid function name in /in/6A8Qv on line 5
Output for 4.3.2 - 5.2.17
Warning: array_map(): The first argument, 'absint', should be either NULL or a valid callback in /in/6A8Qv on line 5
Output for 4.3.0 - 4.3.1
Warning: array_map() [http://www.php.net/function.array-map]: The first argument, 'absint', should be either NULL or a valid callback in /in/6A8Qv on line 5