$request = new AphrontRequest($_GET, $_POST, $_FILES); $id = $request->getInt('id');
$request = new AphrontRequest($_GET, $_POST, $_FILES); $page = $request->getInt('page', 1);In this example, if the "page" parameter is not present, the value of $page will be set to 1. The package library for AphrontRequest is Arcanist.