3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i=100; for($i=0; $i<=count($i); $i++) { echo $i; }
Output for 7.2.0
Warning: count(): Parameter must be an array or an object that implements Countable in /in/EREDI on line 5 0 Warning: count(): Parameter must be an array or an object that implements Countable in /in/EREDI on line 5 1 Warning: count(): Parameter must be an array or an object that implements Countable in /in/EREDI on line 5
Output for 4.3.0 - 7.1.7
01