3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tab1 = array(10,13,15,18); $tab2 = array(13,10,18,23); $merge = array_intersect($tab1, $tab2); echo '<pre>'.print_r($merge,true).'</pre>';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vD3TT
function name:  (null)
number of ops:  15
compiled vars:  !0 = $tab1, !1 = $tab2, !2 = $merge
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'array_intersect'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !2, $5
    7     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !2
          9        SEND_VAL                                                 <true>
         10        DO_ICALL                                         $7      
         11        CONCAT                                           ~8      '%3Cpre%3E', $7
         12        CONCAT                                           ~9      ~8, '%3C%2Fpre%3E'
         13        ECHO                                                     ~9
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.99 ms | 1394 KiB | 17 Q