3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c='count'; $a=array("in","Volvo","BMW","Toyota");; if(reset($a)=='in' && $c($a)>3) print('FU') ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 14
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
Branch analysis from position: 12
filename:       /in/CdFdG
function name:  (null)
number of ops:  15
compiled vars:  !0 = $c, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'count'
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'reset'
          3        SEND_REF                                                 !1
          4        DO_ICALL                                         $4      
          5        IS_EQUAL                                         ~5      $4, 'in'
          6      > JMPZ_EX                                          ~5      ~5, ->12
          7    >   INIT_DYNAMIC_CALL                                        !0
          8        SEND_VAR_EX                                              !1
          9        DO_FCALL                                      0  $6      
         10        IS_SMALLER                                       ~7      3, $6
         11        BOOL                                             ~5      ~7
         12    > > JMPZ                                                     ~5, ->14
    5    13    >   ECHO                                                     'FU'
    7    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.84 ms | 1394 KiB | 15 Q