3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $result = (preg_match("/^\/[A-Za-z]*$/", $result[$i]['page'])); var_dump($result);
Output for 5.4.0 - 5.6.21, 7.0.0 - 7.1.0
Notice: Undefined variable: result in /in/UTo2p on line 2 Notice: Undefined variable: i in /in/UTo2p on line 2 int(0)
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: result in /in/UTo2p on line 2 int(0)
Output for 5.0.4 - 5.3.29
Notice: Undefined variable: i in /in/UTo2p on line 2 Notice: Undefined variable: result in /in/UTo2p on line 2 int(0)
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: i in /in/UTo2p on line 2 Notice: Undefined variable: result in /in/UTo2p on line 2 int(0)