3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.58 ms | 1006 KiB | 13 Q