3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTime('2014-01-13 04:22 -8'); ob_start(); var_dump($date); $dateSring = ob_get_clean(); var_dump($dateString);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OrcWr
function name:  (null)
number of ops:  16
compiled vars:  !0 = $date, !1 = $dateSring, !2 = $dateString
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $3      'DateTime'
          1        SEND_VAL_EX                                              '2014-01-13+04%3A22+-8'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
    3     4        INIT_FCALL                                               'ob_start'
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
    5     9        INIT_FCALL                                               'ob_get_clean'
         10        DO_ICALL                                         $8      
         11        ASSIGN                                                   !1, $8
    6    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.1 ms | 1394 KiB | 19 Q