3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (array('87951', '156257') as $newTime) { $newTime = round(bcdiv($newTime, bcmul("24", bcmul("60", "60")), 10), 0); var_dump($newTime); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 1, Position 2 = 24
Branch analysis from position: 1
2 jumps found. (Code = 78) Position 1 = 2, Position 2 = 24
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 1
Branch analysis from position: 1
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
filename:       /in/9KRai
function name:  (null)
number of ops:  26
compiled vars:  !0 = $newTime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > FE_RESET_R                                       $1      <array>, ->24
          1    > > FE_FETCH_R                                               $1, !0, ->24
    4     2    >   INIT_FCALL                                               'round'
          3        INIT_FCALL_BY_NAME                                       'bcdiv'
          4        SEND_VAR_EX                                              !0
          5        INIT_FCALL_BY_NAME                                       'bcmul'
          6        SEND_VAL_EX                                              '24'
          7        INIT_FCALL_BY_NAME                                       'bcmul'
          8        SEND_VAL_EX                                              '60'
          9        SEND_VAL_EX                                              '60'
         10        DO_FCALL                                      0  $2      
         11        SEND_VAR_NO_REF_EX                                       $2
         12        DO_FCALL                                      0  $3      
         13        SEND_VAR_NO_REF_EX                                       $3
         14        SEND_VAL_EX                                              10
         15        DO_FCALL                                      0  $4      
         16        SEND_VAR                                                 $4
         17        SEND_VAL                                                 0
         18        DO_ICALL                                         $5      
         19        ASSIGN                                                   !0, $5
    5    20        INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                                 
    3    23      > JMP                                                      ->1
         24    >   FE_FREE                                                  $1
    6    25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.35 ms | 1400 KiB | 17 Q