3v4l.org

run code in 500+ PHP versions simultaneously
<?php $timestamp = 1591858149.085; $dt = new DateTime("@$timestamp"); $dti = new DateTimeImmutable("@$timestamp");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/54J1b
function name:  (null)
number of ops:  14
compiled vars:  !0 = $timestamp, !1 = $dt, !2 = $dti
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 1.59186e+9
    4     1        NEW                                                  $4      'DateTime'
          2        NOP                                                          
          3        FAST_CONCAT                                          ~5      '%40', !0
          4        SEND_VAL_EX                                                  ~5
          5        DO_FCALL                                          0          
          6        ASSIGN                                                       !1, $4
    5     7        NEW                                                  $8      'DateTimeImmutable'
          8        NOP                                                          
          9        FAST_CONCAT                                          ~9      '%40', !0
         10        SEND_VAL_EX                                                  ~9
         11        DO_FCALL                                          0          
         12        ASSIGN                                                       !2, $8
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.99 ms | 3347 KiB | 13 Q