3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.24 ms | 1395 KiB | 15 Q