3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = strtotime("1348-10-10 03:30:01") + time(); echo $year = date("Y-m-d h:i:s",$time);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lJSM2
function name:  (null)
number of ops:  14
compiled vars:  !0 = $time, !1 = $year
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '1348-10-10+03%3A30%3A01'
          2        DO_ICALL                                         $2      
          3        INIT_FCALL                                               'time'
          4        DO_ICALL                                         $3      
          5        ADD                                              ~4      $2, $3
          6        ASSIGN                                                   !0, ~4
    4     7        INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'Y-m-d+h%3Ai%3As'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $6      
         11        ASSIGN                                           ~7      !1, $6
         12        ECHO                                                     ~7
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.34 ms | 1394 KiB | 19 Q