3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_agent = $_SERVER['HTTP_USER_AGENT']; //user browser $ip_address = $_SERVER["REMOTE_ADDR"]; // user ip adderss $page_name = $_SERVER["SCRIPT_NAME"]; // page the user looking $query_string = $_SERVER["QUERY_STRING"]; // what query he used $current_page = $page_name."?".$query_string; ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined array key "HTTP_USER_AGENT" in /in/4lK5g on line 2 Warning: Undefined array key "REMOTE_ADDR" in /in/4lK5g on line 3 Warning: Undefined array key "QUERY_STRING" in /in/4lK5g on line 5

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:
44.34 ms | 401 KiB | 8 Q