3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/London'); var_dump($date = date('H')); var_dump($date / 2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/B3hP0
function name:  (null)
number of ops:  15
compiled vars:  !0 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'Europe%2FLondon'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'H'
          6        DO_ICALL                                         $2      
          7        ASSIGN                                           ~3      !0, $2
          8        SEND_VAL                                                 ~3
          9        DO_ICALL                                                 
    4    10        INIT_FCALL                                               'var_dump'
         11        DIV                                              ~5      !0, 2
         12        SEND_VAL                                                 ~5
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.28 ms | 1394 KiB | 19 Q