3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(ini_get("default_mimetype"), "html"); ini_set("default_mimetype", "text/a"); var_dump(ini_get("default_mimetype"), "a"); ini_set("default_mimetype", "text/b"); var_dump(ini_get("default_mimetype"), "b"); ini_restore("default_mimetype"); var_dump(ini_get("default_mimetype"), "a"); ini_restore("default_mimetype"); var_dump(ini_get("default_mimetype"), "html");
Output for git.master, git.master_jit, rfc.property-hooks
string(9) "text/html" string(4) "html" string(6) "text/a" string(1) "a" string(6) "text/b" string(1) "b" string(9) "text/html" string(1) "a" string(9) "text/html" string(4) "html"

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:
52.38 ms | 1531 KiB | 4 Q