3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for( $i =1 ; $i<=5 ; $i++) { if( $i == 3) { continue; } echo $i . “,”; }
Output for 7.2.0
Warning: Use of undefined constant “ - assumed '“' (this will throw an Error in a future version of PHP) in /in/ZhouX on line 6 1“ Warning: Use of undefined constant ” - assumed '”' (this will throw an Error in a future version of PHP) in /in/ZhouX on line 6 ” Warning: Use of undefined constant “ - assumed '“' (this will throw an Error in a future version of PHP) in /in/ZhouX on line 6 2“ Warning: Use of undefined constant ” - assumed '”' (this will throw an Error in a future version of PHP) in /in/ZhouX on line 6 ” Warning: Use of undefined constant “ - assumed '“' (this will throw an Error in a future version of PHP) in /in/ZhouX on line 6 4“ Warning: Use of undefined constant ” - assumed '”' (this will throw an Error in a future version of PHP) in /in/ZhouX on line 6 ” Warning: Use of undefined constant “ - assumed '“' (this will throw an Error in a future version of PHP) in /in/ZhouX on line 6 5“ Warning: Use of undefined constant ” - assumed '”' (this will throw an Error in a future version of PHP) in /in/ZhouX on line 6 ”
Output for 5.3.20 - 7.1.10
Notice: Use of undefined constant “ - assumed '“' in /in/ZhouX on line 6 1“ Notice: Use of undefined constant ” - assumed '”' in /in/ZhouX on line 6 ” Notice: Use of undefined constant “ - assumed '“' in /in/ZhouX on line 6 2“ Notice: Use of undefined constant ” - assumed '”' in /in/ZhouX on line 6 ” Notice: Use of undefined constant “ - assumed '“' in /in/ZhouX on line 6 4“ Notice: Use of undefined constant ” - assumed '”' in /in/ZhouX on line 6 ” Notice: Use of undefined constant “ - assumed '“' in /in/ZhouX on line 6 5“ Notice: Use of undefined constant ” - assumed '”' in /in/ZhouX on line 6 ”