3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.81 ms | 1386 KiB | 20 Q