3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = null; var_dump('language-prof-' . $foo ?: 'language'); $foo = 'foo'; var_dump('language-prof-' . $foo ?: 'language');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BVaUN
function name:  (null)
number of ops:  15
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, null
    3     1        INIT_FCALL                                               'var_dump'
          2        CONCAT                                           ~2      'language-prof-', !0
          3        JMP_SET                                          ~3      ~2, ->5
          4        QM_ASSIGN                                        ~3      'language'
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                                 
    5     7        ASSIGN                                                   !0, 'foo'
    6     8        INIT_FCALL                                               'var_dump'
          9        CONCAT                                           ~6      'language-prof-', !0
         10        JMP_SET                                          ~7      ~6, ->12
         11        QM_ASSIGN                                        ~7      'language'
         12        SEND_VAL                                                 ~7
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.7 ms | 1398 KiB | 16 Q