3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(new DateTime(date('Y-m-d 23:59:59', mktime(0, 0, 0, date('m'), date('Y'), date('Y')))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LDRW0
function name:  (null)
number of ops:  28
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        NEW                                              $0      'DateTime'
          2        INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'Y-m-d+23%3A59%3A59'
          4        INIT_FCALL                                               'mktime'
          5        SEND_VAL                                                 0
          6        SEND_VAL                                                 0
          7        SEND_VAL                                                 0
          8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 'm'
         10        DO_ICALL                                         $1      
         11        SEND_VAR                                                 $1
         12        INIT_FCALL                                               'date'
         13        SEND_VAL                                                 'Y'
         14        DO_ICALL                                         $2      
         15        SEND_VAR                                                 $2
         16        INIT_FCALL                                               'date'
         17        SEND_VAL                                                 'Y'
         18        DO_ICALL                                         $3      
         19        SEND_VAR                                                 $3
         20        DO_ICALL                                         $4      
         21        SEND_VAR                                                 $4
         22        DO_ICALL                                         $5      
         23        SEND_VAR_NO_REF_EX                                       $5
         24        DO_FCALL                                      0          
         25        SEND_VAR                                                 $0
         26        DO_ICALL                                                 
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.08 ms | 1395 KiB | 19 Q