3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php include_once("content.php"); $_SESSION['lang'] = 'nl'; if(isset($_GET['done']) && isset($_GET['ord'])) { include_once("funadmin/class/class.db.php"); global $db_object; $db_object = new dbClassi(); $sql = "UPDATE orders SET status=1 WHERE id=".$_GET['ord']; $db_object->query($sql); } ?>
Output for 7.3.0rc3
Warning: include_once(): open_basedir restriction in effect. File(content.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/LmatA on line 2 Warning: include_once(content.php): failed to open stream: Operation not permitted in /in/LmatA on line 2 Warning: include_once(): Failed opening 'content.php' for inclusion (include_path='.:') in /in/LmatA on line 2
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.10, 7.3.0alpha1 - 7.3.0beta1
Warning: include_once(content.php): failed to open stream: No such file or directory in /in/LmatA on line 2 Warning: include_once(): Failed opening 'content.php' for inclusion (include_path='.:') in /in/LmatA on line 2
Output for 7.1.20 - 7.2.6
Warning: include_once(): open_basedir restriction in effect. File(content.php) is not within the allowed path(s): (/tmp:/in) in /in/LmatA on line 2 Warning: include_once(content.php): failed to open stream: Operation not permitted in /in/LmatA on line 2 Warning: include_once(): Failed opening 'content.php' for inclusion (include_path='.:') in /in/LmatA on line 2
Output for hhvm-3.22.0
Warning: include_once(content.php): File not found in /in/LmatA on line -1
Output for hhvm-3.18.5 - 3.21.3
Warning: include_once(content.php): File not found in /in/LmatA on line 2