3v4l.org

run code in 300+ PHP versions simultaneously
<?php const OK = true; const KO = false; const NIL = null; $ini = <<<'INI' a = TRUE b = FALSE c = null d = 9223372036854775807 INI; var_dump(parse_ini_string($ini, false, INI_SCANNER_NORMAL), parse_ini_string($ini, false, INI_SCANNER_TYPED)); $ini = <<<'INI' a = OK b = KO c = NIL d = PHP_INT_MAX INI; var_dump(parse_ini_string($ini, false, INI_SCANNER_NORMAL), parse_ini_string($ini, false, INI_SCANNER_TYPED));
Output for git.master, git.master_jit, rfc.property-hooks
array(4) { ["a"]=> string(1) "1" ["b"]=> string(0) "" ["c"]=> string(0) "" ["d"]=> string(19) "9223372036854775807" } array(4) { ["a"]=> bool(true) ["b"]=> bool(false) ["c"]=> NULL ["d"]=> int(9223372036854775807) } array(4) { ["a"]=> string(1) "1" ["b"]=> string(0) "" ["c"]=> string(0) "" ["d"]=> string(19) "9223372036854775807" } array(4) { ["a"]=> string(1) "1" ["b"]=> string(0) "" ["c"]=> string(0) "" ["d"]=> string(19) "9223372036854775807" }

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:
29.27 ms | 402 KiB | 8 Q