3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.68 ms | 1393 KiB | 13 Q