3v4l.org

run code in 300+ PHP versions simultaneously
<?php $utc_offset = 946684800; $minutes = 59; $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 + $minutes*60; 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/02aEh
function name:  (null)
number of ops:  30
compiled vars:  !0 = $utc_offset, !1 = $minutes, !2 = $prc_str, !3 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 946684800
    3     1        ASSIGN                                                   !1, 59
    4     2        ASSIGN                                                   !2, '1AF44B00'
    5     3        INIT_FCALL                                               'base_convert'
          4        SEND_VAR                                                 !2
          5        SEND_VAL                                                 16
          6        SEND_VAL                                                 10
          7        DO_ICALL                                         $7      
          8        ASSIGN                                                   !3, $7
    6     9        CONCAT                                           ~9      !3, '+'
         10        INIT_FCALL                                               'gmdate'
         11        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         12        SEND_VAR                                                 !3
         13        DO_ICALL                                         $10     
         14        CONCAT                                           ~11     ~9, $10
         15        CONCAT                                           ~12     ~11, '%0D%0A'
         16        ECHO                                                     ~12
    7    17        ADD                                              ~13     !3, !0
         18        MUL                                              ~14     !1, 60
         19        ADD                                              ~15     ~13, ~14
         20        ASSIGN                                                   !3, ~15
    8    21        CONCAT                                           ~17     !3, '+'
         22        INIT_FCALL                                               'gmdate'
         23        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         24        SEND_VAR                                                 !3
         25        DO_ICALL                                         $18     
         26        CONCAT                                           ~19     ~17, $18
         27        CONCAT                                           ~20     ~19, '%0D%0A'
         28        ECHO                                                     ~20
    9    29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.85 ms | 1387 KiB | 17 Q