3v4l.org

run code in 300+ PHP versions simultaneously
<?php $weight=6; $threshold=array('3.00'); var_dump($threshold); if(!empty($weight) && $weight >= $threshold && $threshold[0] !== NULL ){ echo("hola"); } else { echo("bye"); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
2 jumps found. (Code = 46) Position 1 = 11, Position 2 = 14
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
Branch analysis from position: 10
filename:       /in/pj1Rj
function name:  (null)
number of ops:  19
compiled vars:  !0 = $weight, !1 = $threshold
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 6
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !1
          4        DO_ICALL                                                 
    5     5        ISSET_ISEMPTY_CV                                 ~5      !0
          6        BOOL_NOT                                         ~6      ~5
          7      > JMPZ_EX                                          ~6      ~6, ->10
          8    >   IS_SMALLER_OR_EQUAL                              ~7      !1, !0
          9        BOOL                                             ~6      ~7
         10    > > JMPZ_EX                                          ~6      ~6, ->14
         11    >   FETCH_DIM_R                                      ~8      !1, 0
         12        TYPE_CHECK                                  1020  ~9      ~8
         13        BOOL                                             ~6      ~9
         14    > > JMPZ                                                     ~6, ->17
    6    15    >   ECHO                                                     'hola'
         16      > JMP                                                      ->18
    9    17    >   ECHO                                                     'bye'
   10    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.49 ms | 1395 KiB | 15 Q