3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xxx = 1; $domainName = null === $xxx ? "true" : "false"; var_dump( $domainName ); $xxx = 1; $domainName = 1 === $xxx ? "true" : "false"; var_dump( $domainName );
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 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
Branch analysis from position: 15
filename:       /in/5JPGQ
function name:  (null)
number of ops:  21
compiled vars:  !0 = $xxx, !1 = $domainName
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
    4     1        TYPE_CHECK                                    2          !0
          2      > JMPZ                                                     ~3, ->5
    5     3    >   QM_ASSIGN                                        ~4      'true'
          4      > JMP                                                      ->6
    6     5    >   QM_ASSIGN                                        ~4      'false'
    4     6    >   ASSIGN                                                   !1, ~4
    8     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
   10    10        ASSIGN                                                   !0, 1
   11    11        IS_IDENTICAL                                             !0, 1
         12      > JMPZ                                                     ~8, ->15
   12    13    >   QM_ASSIGN                                        ~9      'true'
         14      > JMP                                                      ->16
   13    15    >   QM_ASSIGN                                        ~9      'false'
   11    16    >   ASSIGN                                                   !1, ~9
   15    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.1 ms | 1395 KiB | 15 Q