3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateTimeStrBefore = "2024/09/01 10:00:00"; $dateTimeBefore = new DateTimeImmutable($dateTimeStrBefore); var_dump($dateTimeBefore);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5TeW8
function name:  (null)
number of ops:  9
compiled vars:  !0 = $dateTimeStrBefore, !1 = $dateTimeBefore
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2024%2F09%2F01+10%3A00%3A00'
    4     1        NEW                                              $3      'DateTimeImmutable'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
    6     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.13 ms | 1435 KiB | 14 Q