3v4l.org

run code in 300+ PHP versions simultaneously
<?php $version = explode('.', phpversion()); if(((int)$version[0] >= 5 && (int)$version[1] >= 2 && (int)$version[1] >= 17)){ var_dump($version); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
2 jumps found. (Code = 46) Position 1 = 16, Position 2 = 20
Branch analysis from position: 16
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 24
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
Branch analysis from position: 20
Branch analysis from position: 15
filename:       /in/YN2lS
function name:  (null)
number of ops:  25
compiled vars:  !0 = $version
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'explode'
          1        SEND_VAL                                                 '.'
          2        INIT_FCALL                                               'phpversion'
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    3     7        FETCH_DIM_R                                      ~4      !0, 0
          8        CAST                                          4  ~5      ~4
          9        IS_SMALLER_OR_EQUAL                              ~6      5, ~5
         10      > JMPZ_EX                                          ~6      ~6, ->15
         11    >   FETCH_DIM_R                                      ~7      !0, 1
         12        CAST                                          4  ~8      ~7
         13        IS_SMALLER_OR_EQUAL                              ~9      2, ~8
         14        BOOL                                             ~6      ~9
         15    > > JMPZ_EX                                          ~6      ~6, ->20
         16    >   FETCH_DIM_R                                      ~10     !0, 1
         17        CAST                                          4  ~11     ~10
         18        IS_SMALLER_OR_EQUAL                              ~12     17, ~11
         19        BOOL                                             ~6      ~12
         20    > > JMPZ                                                     ~6, ->24
    4    21    >   INIT_FCALL                                               'var_dump'
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                                 
    5    24    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.35 ms | 1395 KiB | 19 Q