3v4l.org

run code in 300+ PHP versions simultaneously
<?php $path_info = $_SERVER['PATH_INFO'] // If PATH_INFO isn't enabled, strip everything up to and including 'index.php/' off the full URI ?: substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], 'index.php') + 10); $uri_args = explode('/', $path_info);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined array key "PATH_INFO" in /in/iot98 on line 4 Warning: Undefined array key "REQUEST_URI" in /in/iot98 on line 6 Warning: Undefined array key "REQUEST_URI" in /in/iot98 on line 6 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /in/iot98 on line 6 Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /in/iot98 on line 6

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.27 ms | 402 KiB | 8 Q