3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'aa'; $b = 'aa'; var_dump((bool)$a==$b); $b = 'false'; var_dump((bool)$a==$b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/egZ6U
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'aa'
    4     1        ASSIGN                                                   !1, 'aa'
    6     2        INIT_FCALL                                               'var_dump'
          3        BOOL                                             ~4      !0
          4        IS_EQUAL                                         ~5      !1, ~4
          5        SEND_VAL                                                 ~5
          6        DO_ICALL                                                 
    8     7        ASSIGN                                                   !1, 'false'
    9     8        INIT_FCALL                                               'var_dump'
          9        BOOL                                             ~8      !0
         10        IS_EQUAL                                         ~9      !1, ~8
         11        SEND_VAL                                                 ~9
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.07 ms | 1394 KiB | 15 Q