3v4l.org

run code in 500+ PHP versions simultaneously
<?php $headings = ['first name', 'last name']; $example_post = ['first_name' => 'bob', 'last_name' => 'marley', 'submit' => ' ']; foreach($headings as $header) { foreach($example_post as $k => $v) { if($k == 'submit') continue; echo $header . ' = ' . $v . '/'; } }
Output for git.master, git.master_jit, rfc.property-hooks
first name = bob/first name = marley/last name = bob/last name = marley/

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:
44.54 ms | 1960 KiB | 4 Q