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(array_keys($arr)); die; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 20
Branch analysis from position: 9
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VvVgU
function name:  (null)
number of ops:  21
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, ->20
    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        INIT_FCALL                                               'array_keys'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                         $8      
         17        SEND_VAR                                                 $8
         18        DO_ICALL                                                 
         19      > EXIT                                                     
   10    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.33 ms | 1395 KiB | 23 Q