3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 0.1; $b = 0.7; echo ((int)($a + $b) * 10) . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/no4Zv
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 0.1
    5     1        ASSIGN                                                   !1, 0.7
    7     2        ADD                                              ~4      !0, !1
          3        CAST                                          4  ~5      ~4
          4        MUL                                              ~6      ~5, 10
          5        CONCAT                                           ~7      ~6, '%0A'
          6        ECHO                                                     ~7
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
356.51 ms | 1397 KiB | 14 Q