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_intersect_uassoc($opt1, $opt2, function($e1, $e2, $e3, $e4){ var_dump($e1); var_dump($e2); var_dump($e3); var_dump($e4); });
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2g7kh
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_intersect_uassoc'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F2g7kh%3A26%240'
   31     6        SEND_VAL                                                 ~4
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

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

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.18 ms | 1395 KiB | 17 Q