3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r($_GET); if($_GET["a"] === "") echo "a is an empty string\n"; if($_GET["a"] === false) echo "a is false\n"; if($_GET["a"] === null) echo "a is null\n"; if(isset($_GET["a"])) echo "a is set\n"; if(!empty($_GET["a"])) echo "a is not empty"; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 14
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 19
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 23
Branch analysis from position: 22
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 28
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
Branch analysis from position: 23
Branch analysis from position: 19
Branch analysis from position: 14
Branch analysis from position: 9
filename:       /in/KlQgp
function name:  (null)
number of ops:  29
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'print_r'
          1        FETCH_R                      global              ~0      '_GET'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    3     4        FETCH_R                      global              ~2      '_GET'
          5        FETCH_DIM_R                                      ~3      ~2, 'a'
          6        IS_IDENTICAL                                             ~3, ''
          7      > JMPZ                                                     ~4, ->9
          8    >   ECHO                                                     'a+is+an+empty+string%0A'
    4     9    >   FETCH_R                      global              ~5      '_GET'
         10        FETCH_DIM_R                                      ~6      ~5, 'a'
         11        TYPE_CHECK                                    4          ~6
         12      > JMPZ                                                     ~7, ->14
         13    >   ECHO                                                     'a+is+false%0A'
    5    14    >   FETCH_R                      global              ~8      '_GET'
         15        FETCH_DIM_R                                      ~9      ~8, 'a'
         16        TYPE_CHECK                                    2          ~9
         17      > JMPZ                                                     ~10, ->19
         18    >   ECHO                                                     'a+is+null%0A'
    6    19    >   FETCH_IS                                         ~11     '_GET'
         20        ISSET_ISEMPTY_DIM_OBJ                         0          ~11, 'a'
         21      > JMPZ                                                     ~12, ->23
         22    >   ECHO                                                     'a+is+set%0A'
    7    23    >   FETCH_IS                                         ~13     '_GET'
         24        ISSET_ISEMPTY_DIM_OBJ                         1  ~14     ~13, 'a'
         25        BOOL_NOT                                         ~15     ~14
         26      > JMPZ                                                     ~15, ->28
         27    >   ECHO                                                     'a+is+not+empty'
   12    28    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.65 ms | 1396 KiB | 15 Q