3v4l.org

run code in 300+ PHP versions simultaneously
<?php $source_packages = array( 'one' => array ('param1' => 'First Parameter for One', 'param2' => 'Second Parameter for One'), 'two' => array ('param1' => 'First Parameter for Two', 'param2' => 'Second Parameter for Two') ); $result_packages = array_diff_assoc($source_packages, array('two' => $source_packages['two'])); var_dump($result_packages); echo "<br />\n";
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Array to string conversion in /in/ICNn4 on line 7 Warning: Array to string conversion in /in/ICNn4 on line 7 array(1) { ["one"]=> array(2) { ["param1"]=> string(23) "First Parameter for One" ["param2"]=> string(24) "Second Parameter for One" } } <br />

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