3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.76 ms | 1385 KiB | 15 Q