3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = array( 'shopify_product_id' => "369708720", 'shopify_item_id' => "957453564", 'sku' => "SBXX001" ); $array2 = array( 'shopify_product_id' => "218014361", 'shopify_item_id' => "490326013", 'sku' => "ATTXLL001" ); $diff = array_diff($array1, $array2); var_dump($diff);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { ["shopify_product_id"]=> string(9) "369708720" ["shopify_item_id"]=> string(9) "957453564" ["sku"]=> string(7) "SBXX001" }

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