3v4l.org

run code in 300+ PHP versions simultaneously
<?php const SOME_THING = "y3183y"; $value = null; $value ?? SOME_THING; var_dump($value);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tFYoR
function name:  (null)
number of ops:  10
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   DECLARE_CONST                                            'SOME_THING', 'y3183y'
    3     1        ASSIGN                                                   !0, null
    4     2        COALESCE                                         ~2      !0
          3        FETCH_CONSTANT                                   ~3      'SOME_THING'
          4        QM_ASSIGN                                        ~2      ~3
          5        FREE                                                     ~2
    7     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.94 ms | 1008 KiB | 14 Q