3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = 247; $time = $time*3600; $newDate = strtotime(247*3600); $formattedTime = date('h:i:s', $newDate); echo $time; echo " \n"; echo $formattedTime;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KgGe8
function name:  (null)
number of ops:  16
compiled vars:  !0 = $time, !1 = $newDate, !2 = $formattedTime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 247
    3     1        MUL                                              ~4      !0, 3600
          2        ASSIGN                                                   !0, ~4
    4     3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 889200
          5        DO_ICALL                                         $6      
          6        ASSIGN                                                   !1, $6
    5     7        INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'h%3Ai%3As'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $8      
         11        ASSIGN                                                   !2, $8
    6    12        ECHO                                                     !0
    7    13        ECHO                                                     '+%0A'
    8    14        ECHO                                                     !2
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.4 ms | 1394 KiB | 17 Q