3v4l.org

run code in 300+ PHP versions simultaneously
<?php $utc_offset = 946684800000; $prc_str = "1AF44B00"; $t = base_convert($prc_str,16,10); echo t." ".gmdate("Y-m-d H:i:s", $t)."\r\n"; $t = $t + $utc_offset; echo t." ".gmdate("Y-m-d H:i:s", $t)."\r\n"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PGZKR
function name:  (null)
number of ops:  29
compiled vars:  !0 = $utc_offset, !1 = $prc_str, !2 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 946684800000
    3     1        ASSIGN                                                   !1, '1AF44B00'
    4     2        INIT_FCALL                                               'base_convert'
          3        SEND_VAR                                                 !1
          4        SEND_VAL                                                 16
          5        SEND_VAL                                                 10
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !2, $5
    5     8        FETCH_CONSTANT                                   ~7      't'
          9        CONCAT                                           ~8      ~7, '+'
         10        INIT_FCALL                                               'gmdate'
         11        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                         $9      
         14        CONCAT                                           ~10     ~8, $9
         15        CONCAT                                           ~11     ~10, '%0D%0A'
         16        ECHO                                                     ~11
    6    17        ADD                                              ~12     !2, !0
         18        ASSIGN                                                   !2, ~12
    7    19        FETCH_CONSTANT                                   ~14     't'
         20        CONCAT                                           ~15     ~14, '+'
         21        INIT_FCALL                                               'gmdate'
         22        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         23        SEND_VAR                                                 !2
         24        DO_ICALL                                         $16     
         25        CONCAT                                           ~17     ~15, $16
         26        CONCAT                                           ~18     ~17, '%0D%0A'
         27        ECHO                                                     ~18
    8    28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.12 ms | 1400 KiB | 17 Q