3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
127.8 ms | 477 KiB | 9 Q