3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jsDateTS = 1445600131080 / 1000; $data = new DateTime((string)$jsDateTS); echo $data->format('Y-m-d H:i');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6lg0i
function name:  (null)
number of ops:  11
compiled vars:  !0 = $jsDateTS, !1 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1.4456e+9
    5     1        NEW                                              $3      'DateTime'
          2        CAST                                          6  ~4      !0
          3        SEND_VAL_EX                                              ~4
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $3
    6     6        INIT_METHOD_CALL                                         !1, 'format'
          7        SEND_VAL_EX                                              'Y-m-d+H%3Ai'
          8        DO_FCALL                                      0  $7      
          9        ECHO                                                     $7
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.44 ms | 1392 KiB | 13 Q