Safely read and cache values from $_REQUEST
.
$qty = CFGP_U::request_int('qty', 1); $price = CFGP_U::request_float('price', 0.0); $email = CFGP_U::request_email('email'); $country = CFGP_U::request_string('country', 'US'); $is_ajax = CFGP_U::request_bool('ajax'); // 'true' string -> bool $raw = CFGP_U::request('payload', []); // Flexible sanitization