3v4l.org

run code in 300+ PHP versions simultaneously
<?php $volgArray[] = 'audi'; $volgArray[] = 'vw'; $volgArray[] = 'volvo'; print_r($volgArray); echo in_array("vw", $volgArray) ? 1 : 0;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 16
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PW2T3
function name:  (null)
number of ops:  19
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                                         $5      
         13      > JMPZ                                                     $5, ->16
         14    >   QM_ASSIGN                                        ~6      1
         15      > JMP                                                      ->17
         16    >   QM_ASSIGN                                        ~6      0
         17    >   ECHO                                                     ~6
    9    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.84 ms | 1395 KiB | 17 Q