3v4l.org

run code in 300+ PHP versions simultaneously
<?php $volgArray[] = 'audi'; $volgArray[] = 'vw'; $volgArray[] = 'volvo'; print_r($volgArray); in_array('vw', $volgArray);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CA1vt
function name:  (null)
number of ops:  14
compiled vars:  !0 = $volgArray
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0
          1        OP_DATA                                                  'audi'
    4     2        ASSIGN_DIM                                               !0
          3        OP_DATA                                                  'vw'
    5     4        ASSIGN_DIM                                               !0
          5        OP_DATA                                                  'volvo'
    7     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
    8     9        INIT_FCALL                                               'in_array'
         10        SEND_VAL                                                 'vw'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.25 ms | 1394 KiB | 17 Q