3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace teachme; function ApiError($ErrorCode, $ErrorMsg) { header("X-API-Status: ".$ErrorCode." ".$ErrorMsg); if($ErrorCode != 40000) { $Message = $ErrorCode." ".$ErrorMsg."" . " - [".$_SERVER["HTTP-USER-AGENT"]."]" . " - [".$_SERVER["REMOTE_ADDR"]."]" . " - (User: ".(($_SESSION["TeachMe-Server"]["loggedin"] === true) ? $_SESSION["TeachMe-Server"]["User"]["ID"] : "<none>").")"; error_log($Message, 3, '../data/api_error.log'); } die(); }
Output for git.master, git.master_jit, rfc.property-hooks

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
33.6 ms | 401 KiB | 8 Q