3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php require_once(dirname(__FILE__).'/core.class.php'); $core = new core(); if(isset($_GET['update'])) { if(!empty($_GET['update'])) { $args = explode(',',$_GET['update']); $core->update($args); } else { $core->update(); } } elseif(isset($_GET['get'])) { if(!empty($_GET['get'])) { $core->update($_GET['get']); header("Location: ".str_replace('index.php','',$_SERVER['PHP_SELF'])."cache/".$_GET['get'].".png"); } else { } } elseif(isset($_GET['author'])) { echo "Created by <a href='http://vk.com/ak1998'>Kachalov Alexey</a>(<a href='http://vk.com/kcraft'>KachalovCRAFT NET</a>)"; die; } elseif(isset($_GET['ver'])) { echo "v2.1"; die; } ?>
Output for 5.1.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: require_once(/in/core.class.php): failed to open stream: No such file or directory in /in/083ZC on line 2 Fatal error: require_once(): Failed opening required '/in/core.class.php' (include_path='.:') in /in/083ZC on line 2
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Fatal error: File not found: /in/core.class.php in /in/083ZC on line 2
Process exited with code 255.
Output for 4.3.2 - 5.0.5
Warning: main(/in/core.class.php): failed to open stream: No such file or directory in /in/083ZC on line 2 Fatal error: main(): Failed opening required '/in/core.class.php' (include_path='.:') in /in/083ZC on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: main(/in/core.class.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/083ZC on line 2 Fatal error: main() [http://www.php.net/function.main]: Failed opening required '/in/core.class.php' (include_path='.:') in /in/083ZC on line 2