3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for($i=1; $i<=100; $i++){ $f = $i%3; $b = $i%5; $o = null; $o .= ($f == 0) ? "Fizz":null; $o .= ($b == 0) ? "Buzz":null; echo (o ?: $i)."\n"; }
based on Wc562
Output for 7.2.0
Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o Warning: Use of undefined constant o - assumed 'o' (this will throw an Error in a future version of PHP) in /in/7nvIr on line 10 o
Output for 5.3.20 - 7.1.10
Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o Notice: Use of undefined constant o - assumed 'o' in /in/7nvIr on line 10 o