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') ); $packages_from = $source_packages; $packages_to = array('two' => $source_packages['two']); $result_packages = array_diff_assoc($packages_from, $packages_to); var_dump($result_packages); echo "<br />\n";
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Array to string conversion in /in/3ZBHI on line 8 Warning: Array to string conversion in /in/3ZBHI on line 8 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:
49.09 ms | 402 KiB | 8 Q