3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.11 ms | 1395 KiB | 15 Q