3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.51 ms | 1396 KiB | 17 Q