3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.97 ms | 1392 KiB | 13 Q