3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/London'); $date = strtotime("November 22, 2017 12:01 AM"); $remaining = $date - time(); $str = date("H:i:s", $remaining); Echo $str;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/edZco
function name:  (null)
number of ops:  18
compiled vars:  !0 = $date, !1 = $remaining, !2 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'Europe%2FLondon'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 'November+22%2C+2017+12%3A01+AM'
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !0, $4
    5     7        INIT_FCALL                                               'time'
          8        DO_ICALL                                         $6      
          9        SUB                                              ~7      !0, $6
         10        ASSIGN                                                   !1, ~7
    7    11        INIT_FCALL                                               'date'
         12        SEND_VAL                                                 'H%3Ai%3As'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                         $9      
         15        ASSIGN                                                   !2, $9
    8    16        ECHO                                                     !2
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.09 ms | 1394 KiB | 21 Q