3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testSite = array( 'name' => 'test site', 'modules' => array( 'foo' => 'true', 'bar' => 'true' ) ); $testData = array( 'modules' => array( 'bar' => 'false' ) ); var_dump('before', $testSite); $testSite = array_merge($testSite, $testData); var_dump('after', $testSite);
Output for git.master, git.master_jit, rfc.property-hooks
string(6) "before" array(2) { ["name"]=> string(9) "test site" ["modules"]=> array(2) { ["foo"]=> string(4) "true" ["bar"]=> string(4) "true" } } string(5) "after" array(2) { ["name"]=> string(9) "test site" ["modules"]=> array(1) { ["bar"]=> string(5) "false" } }

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