3v4l.org

run code in 300+ PHP versions simultaneously
<?php $begin = 6; $end = 48; $step = 7; $seq = range($begin, $end, $step); print_r($seq); if (in_array(41, $seq)) echo '41 is in';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 18
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/2qieR
function name:  (null)
number of ops:  19
compiled vars:  !0 = $begin, !1 = $end, !2 = $step, !3 = $seq
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 6
    4     1        ASSIGN                                                   !1, 48
    5     2        ASSIGN                                                   !2, 7
    6     3        INIT_FCALL                                               'range'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                         $7      
          8        ASSIGN                                                   !3, $7
    7     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !3
         11        DO_ICALL                                                 
    9    12        INIT_FCALL                                               'in_array'
         13        SEND_VAL                                                 41
         14        SEND_VAR                                                 !3
         15        DO_ICALL                                         $10     
         16      > JMPZ                                                     $10, ->18
   10    17    >   ECHO                                                     '41+is+in'
         18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.99 ms | 1399 KiB | 19 Q