3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "abc"; for($x = 0; $x < count($str); $x++){ echo ord($str[$x]) . " "; }
based on mIJHM
Output for 7.2.0
Warning: count(): Parameter must be an array or an object that implements Countable in /in/hO5j0 on line 3 97 Warning: count(): Parameter must be an array or an object that implements Countable in /in/hO5j0 on line 3
Output for 5.3.20 - 7.1.10
97