3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = @$no?: 'new'; $b = @$a?: 'more new'; var_dump($a); var_dump($b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OQQm2
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   BEGIN_SILENCE                                    ~2      
          1        FETCH_R                      local               ~3      'no'
          2        END_SILENCE                                              ~2
          3        JMP_SET                                          ~4      ~3, ->5
          4        QM_ASSIGN                                        ~4      'new'
          5        ASSIGN                                                   !0, ~4
    4     6        BEGIN_SILENCE                                    ~6      
          7        FETCH_R                      local               ~7      'a'
          8        END_SILENCE                                              ~6
          9        JMP_SET                                          ~8      ~7, ->11
         10        QM_ASSIGN                                        ~8      'more+new'
         11        ASSIGN                                                   !1, ~8
    6    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
    7    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.46 ms | 1394 KiB | 15 Q