3v4l.org

run code in 300+ PHP versions simultaneously
<?php $currentDate = new DateTime(); $currentDay = $currentDate->format("j"); // Number of days in the current month $daysInMonth = $currentDate->format("t"); $daysToProlong = range($currentDay, 31); var_dump($currentDay); var_dump($daysInMonth); var_dump($daysToProlong);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X1VA9
function name:  (null)
number of ops:  26
compiled vars:  !0 = $currentDate, !1 = $currentDay, !2 = $daysInMonth, !3 = $daysToProlong
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $4      'DateTime'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $4
    4     3        INIT_METHOD_CALL                                         !0, 'format'
          4        SEND_VAL_EX                                              'j'
          5        DO_FCALL                                      0  $7      
          6        ASSIGN                                                   !1, $7
    7     7        INIT_METHOD_CALL                                         !0, 'format'
          8        SEND_VAL_EX                                              't'
          9        DO_FCALL                                      0  $9      
         10        ASSIGN                                                   !2, $9
    9    11        INIT_FCALL                                               'range'
         12        SEND_VAR                                                 !1
         13        SEND_VAL                                                 31
         14        DO_ICALL                                         $11     
         15        ASSIGN                                                   !3, $11
   11    16        INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                                 
   12    19        INIT_FCALL                                               'var_dump'
         20        SEND_VAR                                                 !2
         21        DO_ICALL                                                 
   13    22        INIT_FCALL                                               'var_dump'
         23        SEND_VAR                                                 !3
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.39 ms | 1395 KiB | 17 Q