3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pos = strpos('PHP 5.6.10', phpversion()); if($pos !== false){ print "<pre>"; $arr = timezone_abbreviations_list(); print_r($arr['bnt']); die; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 18
Branch analysis from position: 9
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/STG4p
function name:  (null)
number of ops:  19
compiled vars:  !0 = $pos, !1 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strpos'
          1        SEND_VAL                                                 'PHP+5.6.10'
          2        INIT_FCALL                                               'phpversion'
          3        DO_ICALL                                         $2      
          4        SEND_VAR                                                 $2
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !0, $3
    5     7        TYPE_CHECK                                  1018          !0
          8      > JMPZ                                                     ~5, ->18
    6     9    >   ECHO                                                     '%3Cpre%3E'
    7    10        INIT_FCALL                                               'timezone_abbreviations_list'
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !1, $6
    8    13        INIT_FCALL                                               'print_r'
         14        FETCH_DIM_R                                      ~8      !1, 'bnt'
         15        SEND_VAL                                                 ~8
         16        DO_ICALL                                                 
         17      > EXIT                                                     
   10    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.9 ms | 1395 KiB | 21 Q