3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c='count'; $a=array("in","Volvo","BMW","Toyota"); print(count($a)); if(reset($a)=='in' && $c($a)>3) print('FU'); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 9, Position 2 = 14
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 16
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
Branch analysis from position: 14
filename:       /in/jYRN7
function name:  (null)
number of ops:  17
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        COUNT                                            ~4      !1
          3        ECHO                                                     ~4
    5     4        INIT_FCALL                                               'reset'
          5        SEND_REF                                                 !1
          6        DO_ICALL                                         $5      
          7        IS_EQUAL                                         ~6      $5, 'in'
          8      > JMPZ_EX                                          ~6      ~6, ->14
          9    >   INIT_DYNAMIC_CALL                                        !0
         10        SEND_VAR_EX                                              !1
         11        DO_FCALL                                      0  $7      
         12        IS_SMALLER                                       ~8      3, $7
         13        BOOL                                             ~6      ~8
         14    > > JMPZ                                                     ~6, ->16
    6    15    >   ECHO                                                     'FU'
    8    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.59 ms | 1394 KiB | 15 Q