3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text="ála"; for($d=0;$d<mb_strlen($text);$d++) { echo $aa[$d]; print "<br>"; }
Output for 8.0.1 - 8.0.19, 8.1.0 - 8.1.6
Warning: Undefined variable $aa in /in/EAuFS on line 8 Warning: Trying to access array offset on value of type null in /in/EAuFS on line 8 <br> Warning: Undefined variable $aa in /in/EAuFS on line 8 Warning: Trying to access array offset on value of type null in /in/EAuFS on line 8 <br> Warning: Undefined variable $aa in /in/EAuFS on line 8 Warning: Trying to access array offset on value of type null in /in/EAuFS on line 8 <br>
Output for 7.4.0 - 7.4.29
Notice: Undefined variable: aa in /in/EAuFS on line 8 Notice: Trying to access array offset on value of type null in /in/EAuFS on line 8 <br> Notice: Undefined variable: aa in /in/EAuFS on line 8 Notice: Trying to access array offset on value of type null in /in/EAuFS on line 8 <br> Notice: Undefined variable: aa in /in/EAuFS on line 8 Notice: Trying to access array offset on value of type null in /in/EAuFS on line 8 <br>

preferences:
23.26 ms | 411 KiB | 5 Q