3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ''; echo 'Is $a equal to FALSE? '.( $a==false ? 'YES' : 'NO' )."\n"; echo 'Is $a REALLY equal to FALSE? '.( $a===false ? 'YES' : 'NO' )."\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
Branch analysis from position: 13
filename:       /in/7VaFo
function name:  (null)
number of ops:  18
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, ''
    3     1        BOOL_NOT                                         ~2      !0
          2      > JMPZ                                                     ~2, ->5
          3    >   QM_ASSIGN                                        ~3      'YES'
          4      > JMP                                                      ->6
          5    >   QM_ASSIGN                                        ~3      'NO'
          6    >   CONCAT                                           ~4      'Is+%24a+equal+to+FALSE%3F+', ~3
          7        CONCAT                                           ~5      ~4, '%0A'
          8        ECHO                                                     ~5
    4     9        TYPE_CHECK                                    4          !0
         10      > JMPZ                                                     ~6, ->13
         11    >   QM_ASSIGN                                        ~7      'YES'
         12      > JMP                                                      ->14
         13    >   QM_ASSIGN                                        ~7      'NO'
         14    >   CONCAT                                           ~8      'Is+%24a+REALLY+equal+to+FALSE%3F+', ~7
         15        CONCAT                                           ~9      ~8, '%0A'
         16        ECHO                                                     ~9
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.55 ms | 1393 KiB | 13 Q