3v4l.org

run code in 500+ PHP versions simultaneously
<?php Echo floor(93366/43200) . " months\n"; $rem = 93366%43200; Echo floor($rem/1440) . " days\n"; $rem = $rem%1440; Echo floor($rem/60) . " hours\n"; Echo $rem%60 . " minutes";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RreDY
function name:  (null)
number of ops:  24
compiled vars:  !0 = $rem
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'floor'
          1        SEND_VAL                                                     2.16125
          2        DO_ICALL                                             $1      
          3        CONCAT                                               ~2      $1, '+months%0A'
          4        ECHO                                                         ~2
    4     5        ASSIGN                                                       !0, 6966
    5     6        INIT_FCALL                                                   'floor'
          7        DIV                                                  ~4      !0, 1440
          8        SEND_VAL                                                     ~4
          9        DO_ICALL                                             $5      
         10        CONCAT                                               ~6      $5, '+days%0A'
         11        ECHO                                                         ~6
    6    12        MOD                                                  ~7      !0, 1440
         13        ASSIGN                                                       !0, ~7
    7    14        INIT_FCALL                                                   'floor'
         15        DIV                                                  ~9      !0, 60
         16        SEND_VAL                                                     ~9
         17        DO_ICALL                                             $10     
         18        CONCAT                                               ~11     $10, '+hours%0A'
         19        ECHO                                                         ~11
    8    20        MOD                                                  ~12     !0, 60
         21        CONCAT                                               ~13     ~12, '+minutes'
         22        ECHO                                                         ~13
         23      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
243.13 ms | 2087 KiB | 14 Q