3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = new DateTime('2014-02-01T21:14:13.050126'); var_dump($d); $t = new DateTime('2014-02-01 13:12:11.012456'); var_dump($t);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VpQJO
function name:  (null)
number of ops:  15
compiled vars:  !0 = $d, !1 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'DateTime'
          1        SEND_VAL_EX                                              '2014-02-01T21%3A14%3A13.050126'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    5     7        NEW                                              $6      'DateTime'
          8        SEND_VAL_EX                                              '2014-02-01+13%3A12%3A11.012456'
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !1, $6
    6    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.38 ms | 1394 KiB | 15 Q