3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); // in PHP 4.x E_ALL ini_set('error_reporting', E_ALL); ini_set("display_errors", 1); ini_set("log_errors", 0); function add_points($player, $points) { $player->energy += $points; } function errorHandler($severity, $message, $filename, $line, $super_globals) { } set_error_handler('errorHandler'); add_points(NULL, 10); // Valgrind reports ?? echo 'ende'; ?>
Output for 4.3.0 - 7.1.0
ende