3v4l.org

run code in 300+ PHP versions simultaneously
<?php $current_day = 6; if ($current_day == 1 || 2 ) { print_r('soka'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 3, Position 2 = 4
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 8
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
Branch analysis from position: 4
filename:       /in/r5IfC
function name:  (null)
number of ops:  9
compiled vars:  !0 = $current_day
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 6
    3     1        IS_EQUAL                                         ~2      !0, 1
          2      > JMPNZ_EX                                         ~2      ~2, ->4
          3    >   BOOL                                             ~2      2
          4    > > JMPZ                                                     ~2, ->8
    4     5    >   INIT_FCALL                                               'print_r'
          6        SEND_VAL                                                 'soka'
          7        DO_ICALL                                                 
    5     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.88 ms | 1394 KiB | 15 Q