3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
278.91 ms | 1007 KiB | 13 Q