3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.92 ms | 1394 KiB | 15 Q