rawurlencode
brefphp/bref
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
URL-encode according to RFC 3986
rawurlencode
(
string $string
):
string
$encoded_uri
=
str_replace
(
'%2F'
,
'/'
,
rawurlencode
(
$canonical_uri
));
if (
$AWSRegion
==
'us-east-1'
) {
runtime/layers/console/breftoolbox.php
$query_string
=
""
;
foreach (
$x_amz_params
as
$key
=>
$value
) {
$query_string
.=
rawurlencode
(
$key
) .
'='
.
rawurlencode
(
$value
) .
"&"
;
}
$query_string
=
substr
(
$query_string
,
0
, -
1
);
runtime/layers/console/breftoolbox.php
$encoded_uri
=
str_replace
(
'%2F'
,
'/'
,
rawurlencode
(
$canonical_uri
));
if (
$AWSRegion
==
'us-east-1'
) {
runtime/layers/fpm/breftoolbox.php
$query_string
=
""
;
foreach (
$x_amz_params
as
$key
=>
$value
) {
$query_string
.=
rawurlencode
(
$key
) .
'='
.
rawurlencode
(
$value
) .
"&"
;
}
$query_string
=
substr
(
$query_string
,
0
, -
1
);
runtime/layers/fpm/breftoolbox.php
$encoded_uri
=
str_replace
(
'%2F'
,
'/'
,
rawurlencode
(
$canonical_uri
));
if (
$AWSRegion
==
'us-east-1'
) {
runtime/layers/function/breftoolbox.php
$query_string
=
""
;
foreach (
$x_amz_params
as
$key
=>
$value
) {
$query_string
.=
rawurlencode
(
$key
) .
'='
.
rawurlencode
(
$value
) .
"&"
;
}
$query_string
=
substr
(
$query_string
,
0
, -
1
);
runtime/layers/function/breftoolbox.php