3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.28 ms | 1395 KiB | 17 Q