3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'igor'; $b = 0; $c = 'login'; $d = 'email'; echo $a || $b ? $a . ' ' . $b : $c;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/JGkZn
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'igor'
    4     1        ASSIGN                                                   !1, 0
    5     2        ASSIGN                                                   !2, 'login'
    6     3        ASSIGN                                                   !3, 'email'
    9     4      > JMPNZ_EX                                         ~8      !0, ->6
          5    >   BOOL                                             ~8      !1
          6    > > JMPZ                                                     ~8, ->11
          7    >   CONCAT                                           ~9      !0, '+'
          8        CONCAT                                           ~10     ~9, !1
          9        QM_ASSIGN                                        ~11     ~10
         10      > JMP                                                      ->12
         11    >   QM_ASSIGN                                        ~11     !2
         12    >   ECHO                                                     ~11
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.48 ms | 1397 KiB | 13 Q