3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
174.18 ms | 2568 KiB | 13 Q