3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('date.timezone', 'dummy'); $dt = new DateTime('now');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rli3e
function name:  (null)
number of ops:  9
compiled vars:  !0 = $dt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'date.timezone'
          2        SEND_VAL                                                 'dummy'
          3        DO_ICALL                                                 
    4     4        NEW                                              $2      'DateTime'
          5        SEND_VAL_EX                                              'now'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !0, $2
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.61 ms | 998 KiB | 14 Q