Update: 2026-07-30 02:27:45
This commit is contained in:
@@ -10,7 +10,8 @@ if (!function_exists('env')) {
|
||||
}
|
||||
|
||||
if (!function_exists('input')) {
|
||||
function input(string $key = null, $default = null) {
|
||||
// ?string, not string: implicit nullable params are deprecated in PHP 8.4.
|
||||
function input(?string $key = null, $default = null) {
|
||||
static $inputData = null;
|
||||
if ($inputData === null) {
|
||||
$json = file_get_contents('php://input');
|
||||
|
||||
Reference in New Issue
Block a user