3v4l.org

run code in 300+ PHP versions simultaneously
<?php $year = 2015; $month = 'August'; $date = 5; $DateOfBirth = date('Y-m-d', strtotime("$date $month $year")); echo $DateOfBirth;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6EdOc
function name:  (null)
number of ops:  18
compiled vars:  !0 = $year, !1 = $month, !2 = $date, !3 = $DateOfBirth
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 2015
    4     1        ASSIGN                                                   !1, 'August'
    5     2        ASSIGN                                                   !2, 5
    6     3        INIT_FCALL                                               'date'
          4        SEND_VAL                                                 'Y-m-d'
          5        INIT_FCALL                                               'strtotime'
          6        ROPE_INIT                                     5  ~8      !2
          7        ROPE_ADD                                      1  ~8      ~8, '+'
          8        ROPE_ADD                                      2  ~8      ~8, !1
          9        ROPE_ADD                                      3  ~8      ~8, '+'
         10        ROPE_END                                      4  ~7      ~8, !0
         11        SEND_VAL                                                 ~7
         12        DO_ICALL                                         $11     
         13        SEND_VAR                                                 $11
         14        DO_ICALL                                         $12     
         15        ASSIGN                                                   !3, $12
    7    16        ECHO                                                     !3
    8    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.21 ms | 998 KiB | 15 Q