3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo ini_get('precision'); echo (int) (((double) 0.7 + (float) 0.1) * 10);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PhpTq
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ini_get'
          1        SEND_VAL                                                 'precision'
          2        DO_ICALL                                         $0      
          3        ECHO                                                     $0
    3     4        CAST                                          5  ~1      0.7
          5        CAST                                          5  ~2      0.1
          6        ADD                                              ~3      ~1, ~2
          7        MUL                                              ~4      ~3, 10
          8        CAST                                          4  ~5      ~4
          9        ECHO                                                     ~5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.06 ms | 1385 KiB | 15 Q