3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = NULL; var_dump(isset($a)); $b = FALSE; $d = 1; $e = $a ?? $b ?? $c ?? $d; var_dump($e);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AIcrJ
function name:  (null)
number of ops:  18
compiled vars:  !0 = $a, !1 = $b, !2 = $d, !3 = $e, !4 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, null
    3     1        INIT_FCALL                                               'var_dump'
          2        ISSET_ISEMPTY_CV                                 ~6      !0
          3        SEND_VAL                                                 ~6
          4        DO_ICALL                                                 
    4     5        ASSIGN                                                   !1, <false>
    5     6        ASSIGN                                                   !2, 1
    6     7        COALESCE                                         ~10     !0
          8        COALESCE                                         ~11     !1
          9        COALESCE                                         ~12     !4
         10        QM_ASSIGN                                        ~12     !2
         11        QM_ASSIGN                                        ~11     ~12
         12        QM_ASSIGN                                        ~10     ~11
         13        ASSIGN                                                   !3, ~10
    7    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !3
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.64 ms | 939 KiB | 16 Q