3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $_GET['foo'] ?? $_POST['foo'];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ptJON
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_IS                                         ~0      '_GET'
          1        FETCH_DIM_IS                                     ~1      ~0, 'foo'
          2        COALESCE                                         ~2      ~1
          3        FETCH_R                      global              ~3      '_POST'
          4        FETCH_DIM_R                                      ~4      ~3, 'foo'
          5        QM_ASSIGN                                        ~2      ~4
          6        ECHO                                                     ~2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.69 ms | 1392 KiB | 13 Q