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 ' (' . $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/1aUH4
function name:  (null)
number of ops:  39
compiled vars:  !0 = $time, !1 = $timeOut
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                                         $3      
          5        ASSIGN                                                   !0, $3
    6     6        ASSIGN                                                   !1, ''
    7     7        IS_SMALLER                                               3600, !0
          8      > JMPZ                                                     ~6, ->15
    8     9    >   INIT_FCALL                                               'gmdate'
         10        SEND_VAL                                                 'H'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $7      
         13        CONCAT                                           ~8      $7, 'hours%2C+'
         14        ASSIGN_OP                                     8          !1, ~8
   10    15    >   IS_SMALLER                                               60, !0
         16      > JMPZ                                                     ~10, ->23
   11    17    >   INIT_FCALL                                               'gmdate'
         18        SEND_VAL                                                 'i'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                         $11     
         21        CONCAT                                           ~12     $11, 'min%2C+'
         22        ASSIGN_OP                                     8          !1, ~12
   13    23    >   INIT_FCALL                                               'number_format'
         24        MOD                                              ~14     !0, 60
         25        SEND_VAL                                                 ~14
         26        SEND_VAL                                                 2
         27        DO_ICALL                                         $15     
         28        ASSIGN_OP                                     8          !1, $15
   15    29        CONCAT                                           ~17     '+%28', !1
         30        INIT_FCALL                                               'number_format'
         31        SEND_VAR                                                 !0
         32        SEND_VAL                                                 2
         33        DO_ICALL                                         $18     
         34        CONCAT                                           ~19     ~17, $18
         35        CONCAT                                           ~20     ~19, '+sec%29'
         36        CONCAT                                           ~21     ~20, '%0A%0A'
         37        ECHO                                                     ~21
         38      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.92 ms | 1396 KiB | 19 Q