3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = array ( 'apple' => 'some code', 'beta' => 'other code', 'cat' => 'other code 2' ); $next_array = array(); foreach ($array as $key=>$val){ $next_array[str_replace('e','!',$key)] = $val; } print_r($next_array);
Output for rfc.property-hooks
Array ( [appl!] => some code [b!ta] => other code [cat] => other code 2 )
Output for git.master, git.master_jit
/bin/php-git-master: error while loading shared libraries: libonig.so.5: cannot open shared object file: No such file or directory
Process exited with code 127.

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:
40.91 ms | 1113 KiB | 4 Q