3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.1 ms | 1398 KiB | 15 Q