3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set("precision", (PHP_INT_SIZE == 4) ? 14 : 16); $nr = 8 + (1/10) + (9/90); var_dump($nr, round($nr, 2));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BrWp6
function name:  (null)
number of ops:  18
compiled vars:  !0 = $nr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'precision'
          2      > JMPZ                                                     <false>, ->5
          3    >   QM_ASSIGN                                        ~1      14
          4      > JMP                                                      ->6
          5    >   QM_ASSIGN                                        ~1      16
          6    >   SEND_VAL                                                 ~1
          7        DO_ICALL                                                 
    3     8        ASSIGN                                                   !0, 8.2
    4     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        INIT_FCALL                                               'round'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 2
         14        DO_ICALL                                         $4      
         15        SEND_VAR                                                 $4
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.45 ms | 999 KiB | 16 Q