3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sdate1 = '01.09.2012'; $sdate2 = '31.01.2013'; $date1 = new DateTime($sdate1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BvS4D
function name:  (null)
number of ops:  7
compiled vars:  !0 = $sdate1, !1 = $sdate2, !2 = $date1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '01.09.2012'
    3     1        ASSIGN                                                   !1, '31.01.2013'
    5     2        NEW                                              $5      'DateTime'
          3        SEND_VAR_EX                                              !0
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !2, $5
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.61 ms | 1383 KiB | 13 Q