3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.27 ms | 1383 KiB | 13 Q