3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 10; $s = '10hello'; $y=(bool) $x==$s; echo $y;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HqOmU
function name:  (null)
number of ops:  7
compiled vars:  !0 = $x, !1 = $s, !2 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 10
    4     1        ASSIGN                                                   !1, '10hello'
    5     2        BOOL                                             ~5      !0
          3        IS_EQUAL                                         ~6      !1, ~5
          4        ASSIGN                                                   !2, ~6
    6     5        ECHO                                                     !2
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.43 ms | 1392 KiB | 13 Q