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"))),0); var_dump($newTime); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 1, Position 2 = 23
Branch analysis from position: 1
2 jumps found. (Code = 78) Position 1 = 2, Position 2 = 23
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 1
Branch analysis from position: 1
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
filename:       /in/LLUPb
function name:  (null)
number of ops:  25
compiled vars:  !0 = $newTime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > FE_RESET_R                                       $1      <array>, ->23
          1    > > FE_FETCH_R                                               $1, !0, ->23
    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        DO_FCALL                                      0  $4      
         15        SEND_VAR                                                 $4
         16        SEND_VAL                                                 0
         17        DO_ICALL                                         $5      
         18        ASSIGN                                                   !0, $5
    5    19        INIT_FCALL                                               'var_dump'
         20        SEND_VAR                                                 !0
         21        DO_ICALL                                                 
    3    22      > JMP                                                      ->1
         23    >   FE_FREE                                                  $1
    6    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.63 ms | 1395 KiB | 23 Q