3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = strtotime(date("Y-m-d H:i:s")); echo date("Y-m-d H:i:s", $time).'<br/>'; $time += 5; echo 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/agHDe
function name:  (null)
number of ops:  20
compiled vars:  !0 = $time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    3     7        INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $4      
         11        CONCAT                                           ~5      $4, '%3Cbr%2F%3E'
         12        ECHO                                                     ~5
    4    13        ASSIGN_OP                                     1          !0, 5
    5    14        INIT_FCALL                                               'date'
         15        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                         $7      
         18        ECHO                                                     $7
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.36 ms | 1394 KiB | 17 Q