3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ny_time = "10:00 pm"; $utc_time = strtotime("+5 hours", strtotime($ny_time)); echo date('h:i a', $utc_time); // output 05:30 am ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dppgl
function name:  (null)
number of ops:  15
compiled vars:  !0 = $ny_time, !1 = $utc_time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '10%3A00+pm'
    3     1        INIT_FCALL                                               'strtotime'
          2        SEND_VAL                                                 '%2B5+hours'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    4     9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'h%3Ai+a'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $6      
         13        ECHO                                                     $6
    5    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.61 ms | 1394 KiB | 17 Q