3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $photoCount = 0; for($i = 0; $i < 5; $i++) { $photoCount++; echo "Inner count is : ".$photoCount; die; // It displays the count } echo "Count is : ".$photoCount; die; // It doesn't display the count(404 Not Found Error)
based on S5eQe
Output for 5.3.20 - 7.2.0
Inner count is : 1