urlencode_deep()将字符串转换进行urlencode转换(URL编码)

目录

描述

Navigates through an array and encodes the values to be used in a URL.

Uses a callback to pass the value of the array back to the function as a string.

urlencode_deep() 描述

用法

<?php urlencode_deep$value ); ?>

urlencode_deep() 用法

参数

$value

(array|string) (必填) The array or string to be encoded.

默认值: None

urlencode_deep() 参数

返回值

(array|string

$value The encoded array (or string from the callback).

urlencode_deep() 返回值

历史

添加于 版本: 2.2

urlencode_deep() 历史