3v4l.org

run code in 500+ PHP versions simultaneously
<?php $day = 1; $month= 1; $year = 2019; $sqlData=$day . "." . $month . "." . $year; echo $sqlData; $local=new datetime($sqlData); Var_dump($local);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nq8iY
function name:  (null)
number of ops:  17
compiled vars:  !0 = $day, !1 = $month, !2 = $year, !3 = $sqlData, !4 = $local
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 1
    3     1        ASSIGN                                                       !1, 1
    4     2        ASSIGN                                                       !2, 2019
    5     3        CONCAT                                               ~8      !0, '.'
          4        CONCAT                                               ~9      ~8, !1
          5        CONCAT                                               ~10     ~9, '.'
          6        CONCAT                                               ~11     ~10, !2
          7        ASSIGN                                                       !3, ~11
    6     8        ECHO                                                         !3
    8     9        NEW                                                  $13     'datetime'
         10        SEND_VAR_EX                                                  !3
         11        DO_FCALL                                          0          
         12        ASSIGN                                                       !4, $13
    9    13        INIT_FCALL                                                   'var_dump'
         14        SEND_VAR                                                     !4
         15        DO_ICALL                                                     
         16      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
148.74 ms | 2474 KiB | 13 Q