3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mil = float(1410948122721); $seconds = $mil / 1000; echo gmdate("Y-m-d H:i:s", $seconds);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H5g3b
function name:  (null)
number of ops:  12
compiled vars:  !0 = $mil, !1 = $seconds
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'float'
          1        SEND_VAL_EX                                              1410948122721
          2        DO_FCALL                                      0  $2      
          3        ASSIGN                                                   !0, $2
    4     4        DIV                                              ~4      !0, 1000
          5        ASSIGN                                                   !1, ~4
    5     6        INIT_FCALL                                               'gmdate'
          7        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $6      
         10        ECHO                                                     $6
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.15 ms | 1394 KiB | 15 Q