3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = array( array ( 'nombre_entrada' => 'Entrada General', 'precio_productor' => 250, 'id_funcion' => 907, ), array ( 'nombre_entrada' => 'Entrada General', 'precio_productor' => 300, 'id_funcion' => 907, ), array ( 'nombre_entrada' => 'Entrada General', 'precio_productor' => 350, 'id_funcion' => 907, ), array ( 'nombre_entrada' => '2 entradas x', 'precio_productor' => 400, 'id_funcion' => 907, ) ); $array2 = array( array ( 'precio_productor' => 350, //note array key was moved 'nombre_entrada' => 'Entrada General', 'id_funcion' => 907, ), array ( 'nombre_entrada' => '2 entradas x', 'precio_productor' => 400, 'id_funcion' => 907, ), ); $mssing = array_filter($array1, function($v) use ($array2) { return !in_array($v, $array2); }); var_export($mssing);
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => array ( 'nombre_entrada' => 'Entrada General', 'precio_productor' => 250, 'id_funcion' => 907, ), 1 => array ( 'nombre_entrada' => 'Entrada General', 'precio_productor' => 300, 'id_funcion' => 907, ), )

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:
165.78 ms | 406 KiB | 5 Q