3v4l.org

run code in 300+ PHP versions simultaneously
<?php $request = ''; $name = $request ? $request : 'default'; echo $name === 'default' ? 'всё пучком' : 'где-то я лоханулся', "\n"; $name = $request ?? 'default'; echo $name === 'default' ? 'всё пучком' : 'где-то я лоханулся', "\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 4
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
Branch analysis from position: 20
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
Branch analysis from position: 10
filename:       /in/pglg5
function name:  (null)
number of ops:  24
compiled vars:  !0 = $request, !1 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, ''
    4     1      > JMPZ                                                     !0, ->4
          2    >   QM_ASSIGN                                        ~3      !0
          3      > JMP                                                      ->5
          4    >   QM_ASSIGN                                        ~3      'default'
          5    >   ASSIGN                                                   !1, ~3
    5     6        IS_IDENTICAL                                             !1, 'default'
          7      > JMPZ                                                     ~5, ->10
          8    >   QM_ASSIGN                                        ~6      '%D0%B2%D1%81%D1%91+%D0%BF%D1%83%D1%87%D0%BA%D0%BE%D0%BC'
          9      > JMP                                                      ->11
         10    >   QM_ASSIGN                                        ~6      '%D0%B3%D0%B4%D0%B5-%D1%82%D0%BE+%D1%8F+%D0%BB%D0%BE%D1%85%D0%B0%D0%BD%D1%83%D0%BB%D1%81%D1%8F'
         11    >   ECHO                                                     ~6
         12        ECHO                                                     '%0A'
    7    13        COALESCE                                         ~7      !0
         14        QM_ASSIGN                                        ~7      'default'
         15        ASSIGN                                                   !1, ~7
    8    16        IS_IDENTICAL                                             !1, 'default'
         17      > JMPZ                                                     ~9, ->20
         18    >   QM_ASSIGN                                        ~10     '%D0%B2%D1%81%D1%91+%D0%BF%D1%83%D1%87%D0%BA%D0%BE%D0%BC'
         19      > JMP                                                      ->21
         20    >   QM_ASSIGN                                        ~10     '%D0%B3%D0%B4%D0%B5-%D1%82%D0%BE+%D1%8F+%D0%BB%D0%BE%D1%85%D0%B0%D0%BD%D1%83%D0%BB%D1%81%D1%8F'
         21    >   ECHO                                                     ~10
         22        ECHO                                                     '%0A'
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
12.48 ms | 412 KiB | 7 Q