3v4l.org

run code in 500+ PHP versions simultaneously
<?php date_default_timezone_set('UTC'); echo date('Y-m-d H:i:s', (strtotime('2018-07-03T21:00:00.000Z') -3600 * 4));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oqtlu
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'date_default_timezone_set'
          1        SEND_VAL                                                     'UTC'
          2        DO_ICALL                                                     
    3     3        INIT_FCALL                                                   'date'
          4        SEND_VAL                                                     'Y-m-d+H%3Ai%3As'
          5        INIT_FCALL                                                   'strtotime'
          6        SEND_VAL                                                     '2018-07-03T21%3A00%3A00.000Z'
          7        DO_ICALL                                             $1      
          8        SUB                                                  ~2      $1, 14400
          9        SEND_VAL                                                     ~2
         10        DO_ICALL                                             $3      
         11        ECHO                                                         $3
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
169.73 ms | 2553 KiB | 16 Q