3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.79 ms | 1394 KiB | 19 Q