3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.62 ms | 1460 KiB | 13 Q