3v4l.org

run code in 300+ PHP versions simultaneously
<?php $minutes = 121; echo ($minutes / 60).':'.($minutes % 60);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PdaiN
function name:  (null)
number of ops:  7
compiled vars:  !0 = $minutes
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 121
    5     1        DIV                                              ~2      !0, 60
          2        CONCAT                                           ~3      ~2, '%3A'
          3        MOD                                              ~4      !0, 60
          4        CONCAT                                           ~5      ~3, ~4
          5        ECHO                                                     ~5
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.14 ms | 1396 KiB | 13 Q