3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = "moi"; var_dump($test ?? 'Ei löydy'); var_dump(isset($test) ? $test : 'Ei löydy');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
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
filename:       /in/GVsbt
function name:  (null)
number of ops:  15
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'moi'
    5     1        INIT_FCALL                                               'var_dump'
          2        COALESCE                                         ~2      !0
          3        QM_ASSIGN                                        ~2      'Ei+l%C3%B6ydy'
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                                 
    6     6        INIT_FCALL                                               'var_dump'
          7        ISSET_ISEMPTY_CV                                         !0
          8      > JMPZ                                                     ~4, ->11
          9    >   QM_ASSIGN                                        ~5      !0
         10      > JMP                                                      ->12
         11    >   QM_ASSIGN                                        ~5      'Ei+l%C3%B6ydy'
         12    >   SEND_VAL                                                 ~5
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.85 ms | 1394 KiB | 15 Q