3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $result = (preg_match("/^\/[A-Za-z]*$/", $result[$i]['page'])); var_dump($result);
Output for 5.4.0 - 7.2.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 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)