You'll also want to precisely define what it means for something to exist "with" or "without" value. For example, you might think that the string '0' is a perfectly valid (non-empty) value, however [man]empty/man does not:
$_GET[ 'foo' ] = '0';
$_GET[ 'bar' ] = '1';
var_dump( empty( $_GET[ 'foo' ] ) ); // bool(true)
var_dump( empty( $_GET[ 'bar' ] ) ); // bool(false)