3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(pow(16,-1) * 8); var_dump(bcpow('16','-1',4) * 8); var_dump(8/16);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FoIMT
function name:  (null)
number of ops:  21
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'pow'
          2        SEND_VAL                                                 16
          3        SEND_VAL                                                 -1
          4        DO_ICALL                                         $0      
          5        MUL                                              ~1      $0, 8
          6        SEND_VAL                                                 ~1
          7        DO_ICALL                                                 
    3     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL_BY_NAME                                       'bcpow'
         10        SEND_VAL_EX                                              '16'
         11        SEND_VAL_EX                                              '-1'
         12        SEND_VAL_EX                                              4
         13        DO_FCALL                                      0  $3      
         14        MUL                                              ~4      $3, 8
         15        SEND_VAL                                                 ~4
         16        DO_ICALL                                                 
    4    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAL                                                 0.5
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.06 ms | 1395 KiB | 17 Q