3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match_all("/\//", $cwd, $matches); var_dump($matches);
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: cwd in /in/PepQ0 on line 3 array(1) { [0]=> array(0) { } }
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: cwd in /in/PepQ0 on line 3 array(1) { [0]=> array(0) { } }