3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.54 ms | 1394 KiB | 15 Q