3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data="a,b,c,d,e,f"; $run= explode("",$data); echo "data asli,$data"; for ($i=1; $i<=6; $i++){ echo "huruf ke,$i : ".$run[i]."br"; };
Output for 7.2.0
Warning: explode(): Empty delimiter in /in/K96m1 on line 4 data asli,a,b,c,d,e,f Warning: Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in /in/K96m1 on line 8 huruf ke,1 : br Warning: Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in /in/K96m1 on line 8 huruf ke,2 : br Warning: Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in /in/K96m1 on line 8 huruf ke,3 : br Warning: Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in /in/K96m1 on line 8 huruf ke,4 : br Warning: Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in /in/K96m1 on line 8 huruf ke,5 : br Warning: Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in /in/K96m1 on line 8 huruf ke,6 : br
Output for 5.3.21 - 7.1.10
Warning: explode(): Empty delimiter in /in/K96m1 on line 4 data asli,a,b,c,d,e,f Notice: Use of undefined constant i - assumed 'i' in /in/K96m1 on line 8 huruf ke,1 : br Notice: Use of undefined constant i - assumed 'i' in /in/K96m1 on line 8 huruf ke,2 : br Notice: Use of undefined constant i - assumed 'i' in /in/K96m1 on line 8 huruf ke,3 : br Notice: Use of undefined constant i - assumed 'i' in /in/K96m1 on line 8 huruf ke,4 : br Notice: Use of undefined constant i - assumed 'i' in /in/K96m1 on line 8 huruf ke,5 : br Notice: Use of undefined constant i - assumed 'i' in /in/K96m1 on line 8 huruf ke,6 : br