3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = strtotime('1582-12-14'); echo $time . PHP_EOL; $time526 = -12214109972; $time430 = -12214108800; $date = gmdate('Y-m-d H:i:s'); echo $time;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rghNJ
function name:  (null)
number of ops:  14
compiled vars:  !0 = $time, !1 = $time526, !2 = $time430, !3 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '1582-12-14'
          2        DO_ICALL                                         $4      
          3        ASSIGN                                                   !0, $4
    4     4        CONCAT                                           ~6      !0, '%0A'
          5        ECHO                                                     ~6
    6     6        ASSIGN                                                   !1, -12214109972
    7     7        ASSIGN                                                   !2, -12214108800
    8     8        INIT_FCALL                                               'gmdate'
          9        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         10        DO_ICALL                                         $9      
         11        ASSIGN                                                   !3, $9
   10    12        ECHO                                                     !0
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.55 ms | 1385 KiB | 17 Q