3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = '0xa'; $y = '10'; echo ($x == $y) . '\n'; $x = (int)$x; $y = (int)$y; echo "$x, $y\n"; echo $x == $y;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D3cCr
function name:  (null)
number of ops:  17
compiled vars:  !0 = $x, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '0xa'
    4     1        ASSIGN                                                   !1, '10'
    5     2        IS_EQUAL                                         ~4      !0, !1
          3        CONCAT                                           ~5      ~4, '%5Cn'
          4        ECHO                                                     ~5
    6     5        CAST                                          4  ~6      !0
          6        ASSIGN                                                   !0, ~6
    7     7        CAST                                          4  ~8      !1
          8        ASSIGN                                                   !1, ~8
    8     9        ROPE_INIT                                     4  ~11     !0
         10        ROPE_ADD                                      1  ~11     ~11, '%2C+'
         11        ROPE_ADD                                      2  ~11     ~11, !1
         12        ROPE_END                                      3  ~10     ~11, '%0A'
         13        ECHO                                                     ~10
    9    14        IS_EQUAL                                         ~13     !0, !1
         15        ECHO                                                     ~13
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.1 ms | 1393 KiB | 13 Q