3v4l.org

run code in 300+ PHP versions simultaneously
<?php $os = array("Mac", "NT", "Irix", "Linux"); if (in_array("Irix", $os)) { echo "Tem Irix"; } if (in_array("mac", $os)) { echo "Tem mac"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 13
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
Branch analysis from position: 7
filename:       /in/5qQAu
function name:  (null)
number of ops:  14
compiled vars:  !0 = $os
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'in_array'
          2        SEND_VAL                                                 'Irix'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5      > JMPZ                                                     $2, ->7
    4     6    >   ECHO                                                     'Tem+Irix'
    6     7    >   INIT_FCALL                                               'in_array'
          8        SEND_VAL                                                 'mac'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $3      
         11      > JMPZ                                                     $3, ->13
    7    12    >   ECHO                                                     'Tem+mac'
    8    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.24 ms | 1386 KiB | 15 Q