3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = 935.2832234; $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 = 4, Position 2 = 10
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 18
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
Branch analysis from position: 10
filename:       /in/hm1he
function name:  (null)
number of ops:  35
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        ASSIGN                                                   !1, ''
    5     2        IS_SMALLER                                               3600, !0
          3      > JMPZ                                                     ~5, ->10
    6     4    >   INIT_FCALL                                               'gmdate'
          5        SEND_VAL                                                 'H'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $6      
          8        CONCAT                                           ~7      $6, 'hours%2C+'
          9        ASSIGN_OP                                     8          !1, ~7
    8    10    >   IS_SMALLER                                               60, !0
         11      > JMPZ                                                     ~9, ->18
    9    12    >   INIT_FCALL                                               'gmdate'
         13        SEND_VAL                                                 'i'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $10     
         16        CONCAT                                           ~11     $10, 'min%2C+'
         17        ASSIGN_OP                                     8          !1, ~11
   11    18    >   INIT_FCALL                                               'number_format'
         19        MOD                                              ~13     !0, 60
         20        SEND_VAL                                                 ~13
         21        SEND_VAL                                                 2
         22        DO_ICALL                                         $14     
         23        ASSIGN_OP                                     8          !1, $14
   13    24        CONCAT                                           ~16     !2, '+%28'
         25        CONCAT                                           ~17     ~16, !1
         26        INIT_FCALL                                               'number_format'
         27        SEND_VAR                                                 !0
         28        SEND_VAL                                                 2
         29        DO_ICALL                                         $18     
         30        CONCAT                                           ~19     ~17, $18
         31        CONCAT                                           ~20     ~19, '+sec%29'
         32        CONCAT                                           ~21     ~20, '%0A%0A'
         33        ECHO                                                     ~21
         34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.89 ms | 1396 KiB | 17 Q