3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $a = 3; $b = null; echo $b ?: $a;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pvju8
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    6     3        ASSIGN                                                   !0, 3
    7     4        ASSIGN                                                   !1, null
    9     5        JMP_SET                                          ~5      !1, ->7
          6        QM_ASSIGN                                        ~5      !0
          7        ECHO                                                     ~5
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.85 ms | 1394 KiB | 15 Q