3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/52t20
function name:  (null)
number of ops:  17
compiled vars:  !0 = $date, !1 = $one_week
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   NEW                                              $2      'MyDateTime'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   11     3        INIT_METHOD_CALL                                         !0, 'format'
          4        SEND_VAL_EX                                              'F+jS%2C+Y'
          5        DO_FCALL                                      0  $5      
          6        CONCAT                                           ~6      $5, '%0A'
          7        ECHO                                                     ~6
   13     8        NEW                                              $7      'MyDateTime'
          9        SEND_VAL_EX                                              '%2B1+week'
         10        DO_FCALL                                      0          
         11        ASSIGN                                                   !1, $7
   14    12        INIT_METHOD_CALL                                         !1, 'format'
         13        SEND_VAL_EX                                              'F+jS%2C+Y'
         14        DO_FCALL                                      0  $10     
         15        ECHO                                                     $10
         16      > RETURN                                                   1

Class MyDateTime:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/52t20
function name:  __construct
number of ops:  13
compiled vars:  !0 = $time, !1 = $timezone
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV_INIT                                        !0      'now'
          1        RECV_INIT                                        !1      null
    5     2        INIT_STATIC_METHOD_CALL                                  
          3        SEND_VAR_EX                                              !0
          4        NEW                                              $2      'DateTimeZone'
          5        SEND_VAL_EX                                              'UTC'
          6        DO_FCALL                                      0          
          7        SEND_VAR_NO_REF_EX                                       $2
          8        DO_FCALL                                      0          
    6     9        INIT_METHOD_CALL                                         'modify'
         10        SEND_VAL_EX                                              '%2B1+week'
         11        DO_FCALL                                      0          
    7    12      > RETURN                                                   null

End of function __construct

End of class MyDateTime.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
241.23 ms | 964 KiB | 13 Q