3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array( 'permissions', 'this'); $toost = array('this', 'permissions'); $yo = array_intersect($test, $toost); if ($yo) print_r($yo);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/qHmM4
function name:  (null)
number of ops:  12
compiled vars:  !0 = $test, !1 = $toost, !2 = $yo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2        INIT_FCALL                                               'array_intersect'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !2, $5
    8     7      > JMPZ                                                     !2, ->11
    9     8    >   INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                                 
         11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.6 ms | 1385 KiB | 17 Q