3v4l.org

run code in 300+ PHP versions simultaneously
<?php $period = new DatePeriod( new DateTimeImmutable, new DateInterval('P1D'), new DateTimeImmutable );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/834gr
function name:  (null)
number of ops:  14
compiled vars:  !0 = $period
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'DatePeriod'
    3     1        NEW                                              $2      'DateTimeImmutable'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $2
    4     4        NEW                                              $4      'DateInterval'
          5        SEND_VAL_EX                                              'P1D'
          6        DO_FCALL                                      0          
          7        SEND_VAR_NO_REF_EX                                       $4
    5     8        NEW                                              $6      'DateTimeImmutable'
          9        DO_FCALL                                      0          
         10        SEND_VAR_NO_REF_EX                                       $6
         11        DO_FCALL                                      0          
    2    12        ASSIGN                                                   !0, $1
    6    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.71 ms | 1393 KiB | 13 Q