core/ctr/router/cgi.php
/**
     * Get data from raw input stream
     */
Get data from raw input stream
Get data from raw input stream
private static function read_input(): void
    {
        $input = file_get_contents('php://input');
        if (false === $input) return;
        $data = json_decode($input, true);
        if (is_array($data) && !empty($data)) parent::$data += $data;
        unset($input, $data);
    }
private static function read_input ( ) : void { $ input = file_get_contents ( 'php://input' ) ; if ( false === $ input ) return ; $ data = json_decode ( $ input , true ) ; if ( is_array ( $ data ) && ! empty ( $ data ) ) parent :: $ data += $ data ; unset ( $ input , $ data ) ; }
Get data from raw input stream
Get data from raw input stream