3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timestamp_deb = '1506283200000'; $b = ($timestamp_deb/1000) + 79200; $datedeb = date('Y-m-d H:i:s', $timestamp_deb/1000); $datefin = date('Y-m-d H:i:s', $b); echo $datefin;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7tv8r
function name:  (null)
number of ops:  17
compiled vars:  !0 = $timestamp_deb, !1 = $b, !2 = $datedeb, !3 = $datefin
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1506283200000'
    3     1        DIV                                              ~5      !0, 1000
          2        ADD                                              ~6      ~5, 79200
          3        ASSIGN                                                   !1, ~6
    4     4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          6        DIV                                              ~8      !0, 1000
          7        SEND_VAL                                                 ~8
          8        DO_ICALL                                         $9      
          9        ASSIGN                                                   !2, $9
    5    10        INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $11     
         14        ASSIGN                                                   !3, $11
    7    15        ECHO                                                     !3
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.03 ms | 1450 KiB | 14 Q