3v4l.org

run code in 300+ PHP versions simultaneously
<?php $opt1 = array( array( 'title' => "damn" ), array( 'title' => "php" ), array( 'title' => "fucks" ), array( 'title' => "up" ), array( 'title' => "my" ), array( 'title' => "code" ), ); $opt2 = array( ); array_diff_uassoc($opt1, $opt2, function($e1, $e2){ var_dump($e1); var_dump($e2); });
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4mjg1
function name:  (null)
number of ops:  9
compiled vars:  !0 = $opt1, !1 = $opt2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   22     1        ASSIGN                                                   !1, <array>
   26     2        INIT_FCALL                                               'array_diff_uassoc'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F4mjg1%3A26%240'
   29     6        SEND_VAL                                                 ~4
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2F4mjg1%3A26%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4mjg1
function name:  {closure}
number of ops:  9
compiled vars:  !0 = $e1, !1 = $e2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   26     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   27     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
   28     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
   29     8      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F4mjg1%3A26%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.57 ms | 1395 KiB | 17 Q