3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Asia/Jakarta'); $a = (new DateTime())->modify('+5 DAY')->format('Y-m-d H:i:s.u'); $b = (new DateTime())->format('Y-m-d H:i:s.u');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5OZHHb
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'Asia%2FJakarta'
          2        DO_ICALL                                                 
    4     3        NEW                                              $3      'DateTime'
          4        DO_FCALL                                      0          
          5        INIT_METHOD_CALL                                         $3, 'modify'
          6        SEND_VAL_EX                                              '%2B5+DAY'
          7        DO_FCALL                                      0  $5      
          8        INIT_METHOD_CALL                                         $5, 'format'
          9        SEND_VAL_EX                                              'Y-m-d+H%3Ai%3As.u'
         10        DO_FCALL                                      0  $6      
         11        ASSIGN                                                   !0, $6
    5    12        NEW                                              $8      'DateTime'
         13        DO_FCALL                                      0          
         14        INIT_METHOD_CALL                                         $8, 'format'
         15        SEND_VAL_EX                                              'Y-m-d+H%3Ai%3As.u'
         16        DO_FCALL                                      0  $10     
         17        ASSIGN                                                   !1, $10
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.36 ms | 952 KiB | 14 Q