Can I use die to fill a variable?
===

When I fill variables, can I do something like this?:

    $type = isset( $_GET['type'] ) ?  $_GET['type'] : die();

By doing so, if 'type' is not in the request, my function will exit. Is this the correct way to use die()?