3v4l.org

run code in 300+ PHP versions simultaneously
<?php $page=array(); $matches = array(1=>'ololo'); preg_match('#([A-Za-z0-9\-\_]*)#', $page, $matches); $file = '../views/' . $matches[1] . '.html'; var_dump($file);

preferences:
40.79 ms | 402 KiB | 5 Q