3v4l.org

run code in 500+ PHP versions simultaneously
<?php $queryStrings = [ 'cheese=french', 'pizza=large&cheese=french', 'cheese=french&pizza=small', 'cheese=italian', ]; var_export( array_map( function($qs) { parse_str($qs, $result); ksort($result); return http_build_query($result); }, $queryStrings ) );
Output for rfc.property-hooks, git.master, git.master_jit
array ( 0 => 'cheese=french', 1 => 'cheese=french&pizza=large', 2 => 'cheese=french&pizza=small', 3 => 'cheese=italian', )

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:
34.11 ms | 1144 KiB | 4 Q