3v4l.org

run code in 500+ PHP versions simultaneously
<?php print_r(new DateTime("midnighta")); print_r(new DateTime("midnightb")); print_r(new DateTime("midnightx")); print_r(new DateTime("midnighty"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gDR6n
function name:  (null)
number of ops:  25
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'print_r'
          1        NEW                                                  $0      'DateTime'
          2        SEND_VAL_EX                                                  'midnighta'
          3        DO_FCALL                                          0          
          4        SEND_VAR                                                     $0
          5        DO_ICALL                                                     
    4     6        INIT_FCALL                                                   'print_r'
          7        NEW                                                  $3      'DateTime'
          8        SEND_VAL_EX                                                  'midnightb'
          9        DO_FCALL                                          0          
         10        SEND_VAR                                                     $3
         11        DO_ICALL                                                     
    5    12        INIT_FCALL                                                   'print_r'
         13        NEW                                                  $6      'DateTime'
         14        SEND_VAL_EX                                                  'midnightx'
         15        DO_FCALL                                          0          
         16        SEND_VAR                                                     $6
         17        DO_ICALL                                                     
    6    18        INIT_FCALL                                                   'print_r'
         19        NEW                                                  $9      'DateTime'
         20        SEND_VAL_EX                                                  'midnighty'
         21        DO_FCALL                                          0          
         22        SEND_VAR                                                     $9
         23        DO_ICALL                                                     
         24      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.82 ms | 2760 KiB | 14 Q