3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = strtotime('2014-09-08'); //echo $date; $timestamp=1354586000000; 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/nHKHO
function name:  (null)
number of ops:  11
compiled vars:  !0 = $date, !1 = $timestamp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '2014-09-08'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4        ASSIGN                                                   !1, 1354586000000
    6     5        INIT_FCALL                                               'gmdate'
          6        SEND_VAL                                                 'Y-m-d%5CTH%3Ai%3As%5CZ'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $5      
          9        ECHO                                                     $5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.09 ms | 1394 KiB | 17 Q