3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tartalom["index"] = "nyert2"; $lap = "index\0../../../"; if( preg_match( '[^a-zA-Z0-9\_\-]', $lap ) ) { echo "404.php"; } else { echo "nyert"; } if( empty($tartalom[$lap] ) ) { echo "404.php"; exit; } else { echo $tartalom[$lap]; }
based on Npsfo
Output for 4.3.0 - 7.2.0
nyert404.php