3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function foo( $n ) { echo '::call'; return $n*2; } for ( $i = 0; $i < foo(2); $i++){}
Output for 4.3.0 - 7.1.0
::call::call::call::call::call