3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dt = '@1386590400'; $tz = null; $obj = ( null === $tz ) ? new DateTime( $dt ): new DateTime( $dt, $tz );
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9WNk8
function name:  (null)
number of ops:  16
compiled vars:  !0 = $dt, !1 = $tz, !2 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%401386590400'
    4     1        ASSIGN                                                   !1, null
    6     2        TYPE_CHECK                                    2          !1
          3      > JMPZ                                                     ~5, ->9
          4    >   NEW                                              $6      'DateTime'
          5        SEND_VAR_EX                                              !0
          6        DO_FCALL                                      0          
          7        QM_ASSIGN                                        ~8      $6
          8      > JMP                                                      ->14
          9    >   NEW                                              $9      'DateTime'
         10        SEND_VAR_EX                                              !0
         11        SEND_VAR_EX                                              !1
         12        DO_FCALL                                      0          
         13        QM_ASSIGN                                        ~8      $9
         14    >   ASSIGN                                                   !2, ~8
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.26 ms | 1393 KiB | 13 Q