3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ut = strtotime('2016-07-15'); echo "$ut \n"; $d = date("Y-m-d H:i:s", $ut); echo "$d";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6DviJ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $ut, !1 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '2016-07-15'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        NOP                                                      
          5        FAST_CONCAT                                      ~4      !0, '+%0A'
          6        ECHO                                                     ~4
    5     7        INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !1, $5
    6    12        CAST                                          6  ~7      !1
         13        ECHO                                                     ~7
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
216.95 ms | 1394 KiB | 17 Q