3v4l.org

run code in 300+ PHP versions simultaneously
<?php $month=(new \DateTime())->format('m'); $day=(new \DateTime())->format('d'); $year=(new \DateTime())->format('y'); echo ($month.$day.$year); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/b8CWj
function name:  (null)
number of ops:  22
compiled vars:  !0 = $month, !1 = $day, !2 = $year
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   NEW                                              $3      'DateTime'
          1        DO_FCALL                                      0          
          2        INIT_METHOD_CALL                                         $3, 'format'
          3        SEND_VAL_EX                                              'm'
          4        DO_FCALL                                      0  $5      
          5        ASSIGN                                                   !0, $5
    2     6        NEW                                              $7      'DateTime'
          7        DO_FCALL                                      0          
          8        INIT_METHOD_CALL                                         $7, 'format'
          9        SEND_VAL_EX                                              'd'
         10        DO_FCALL                                      0  $9      
         11        ASSIGN                                                   !1, $9
    3    12        NEW                                              $11     'DateTime'
         13        DO_FCALL                                      0          
         14        INIT_METHOD_CALL                                         $11, 'format'
         15        SEND_VAL_EX                                              'y'
         16        DO_FCALL                                      0  $13     
         17        ASSIGN                                                   !2, $13
    4    18        CONCAT                                           ~15     !0, !1
         19        CONCAT                                           ~16     ~15, !2
         20        ECHO                                                     ~16
    5    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.81 ms | 1393 KiB | 13 Q