3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = 935.2832234; $time = round($time, 2); $timeOut = ''; if ($time > 60 * 60) { $timeOut .= gmdate('H', $time) . 'hours, '; } if ($time > 60) { $timeOut .= gmdate('i', $time) . 'min, '; } $timeOut .= number_format($time % 60, 2); echo $text . ' (' . $timeOut . number_format($time, 2) . ' sec)' . "\n\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 15
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 23
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
Branch analysis from position: 15
filename:       /in/gH77u
function name:  (null)
number of ops:  40
compiled vars:  !0 = $time, !1 = $timeOut, !2 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 935.283
    4     1        INIT_FCALL                                               'round'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 2
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !0, $4
    6     6        ASSIGN                                                   !1, ''
    7     7        IS_SMALLER                                               3600, !0
          8      > JMPZ                                                     ~7, ->15
    8     9    >   INIT_FCALL                                               'gmdate'
         10        SEND_VAL                                                 'H'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $8      
         13        CONCAT                                           ~9      $8, 'hours%2C+'
         14        ASSIGN_OP                                     8          !1, ~9
   10    15    >   IS_SMALLER                                               60, !0
         16      > JMPZ                                                     ~11, ->23
   11    17    >   INIT_FCALL                                               'gmdate'
         18        SEND_VAL                                                 'i'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                         $12     
         21        CONCAT                                           ~13     $12, 'min%2C+'
         22        ASSIGN_OP                                     8          !1, ~13
   13    23    >   INIT_FCALL                                               'number_format'
         24        MOD                                              ~15     !0, 60
         25        SEND_VAL                                                 ~15
         26        SEND_VAL                                                 2
         27        DO_ICALL                                         $16     
         28        ASSIGN_OP                                     8          !1, $16
   15    29        CONCAT                                           ~18     !2, '+%28'
         30        CONCAT                                           ~19     ~18, !1
         31        INIT_FCALL                                               'number_format'
         32        SEND_VAR                                                 !0
         33        SEND_VAL                                                 2
         34        DO_ICALL                                         $20     
         35        CONCAT                                           ~21     ~19, $20
         36        CONCAT                                           ~22     ~21, '+sec%29'
         37        CONCAT                                           ~23     ~22, '%0A%0A'
         38        ECHO                                                     ~23
         39      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.9 ms | 1396 KiB | 19 Q