3v4l.org

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

preferences:
20.18 ms | 412 KiB | 5 Q