3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "he%00llo=world%00apart"; echo 'Input:', var_dump($string); parse_str($string, $values); echo "Output:\n"; $count = 0; foreach($values as $key => $value) { echo var_export(++$count), ': ', var_dump($key), ' => ', var_dump($value), ' (', bin2hex($value) , ")\n"; } printf("done, %d variable(s)\n", $count);
Output for git.master, git.master_jit, rfc.property-hooks
Input:string(22) "he%00llo=world%00apart" Output: 1: string(2) "he" => string(11) "worldapart" (776f726c64006170617274) done, 1 variable(s)

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