博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
__str__是什么函数_PHP str_shuffle()函数与示例
阅读量:2531 次
发布时间:2019-05-11

本文共 801 字,大约阅读时间需要 2 分钟。

__str__是什么函数

PHP str_shuffle()函数 (PHP str_shuffle() Function)

str_shuffle() function is a string function and it is used to shuffle all characters randomly in the string.

str_shuffle()函数是一个字符串函数,用于随机地随机排列字符串中的所有字符。

When this function executes, all time it returns shuffles string with random characters (characters from the given string).

执行此函数时,所有时间都会返回带有随机字符(给定字符串中的字符)的混洗字符串。

Syntax:

句法:

str_shuffle(string);

It accepts the string and returns shuffled string.

它接受字符串并返回改组后的字符串。

Examples:

例子:

Input:     $str = "This is IncludeHelp"    Output:    str_shuffle($str) = "enHeIdcupll"    str_shuffle($str) = "IcduneeplHl"

PHP code:

PHP代码:

Output

输出量

enHeIdcupllIcduneeplHleenulHpcIldenucIHepdllldIlceeupHn2~B*()@# !3A1& C @C&(#)12*~!3BA @* &2CA( !~31#)B B!2C1~( A*)&A ~3 (CB2!)@1*#

翻译自:

__str__是什么函数

转载地址:http://pxtzd.baihongyu.com/

你可能感兴趣的文章
笛卡尔遗传规划Cartesian Genetic Programming (CGP)简单理解(1)
查看>>
mysql 日期时间运算函数(转)
查看>>
初识前端作业1
查看>>
ffmpeg格式转换命令
查看>>
万方数据知识平台 TFHpple +Xpath解析
查看>>
Hive实现oracle的Minus函数
查看>>
秒杀多线程第四篇 一个经典的多线程同步问题
查看>>
RocketMQ配置
查看>>
vs code调试console程序报错--preLaunchTask“build”
查看>>
蚂蚁金服井贤栋:用技术联手金融机构,形成服务小微的生态合力
查看>>
手机通话记录统计分析
查看>>
端口号大全
查看>>
机器学习基石笔记2——在何时可以使用机器学习(2)
查看>>
POJ 3740 Easy Finding (DLX模板)
查看>>
MySQL 处理重复数据
查看>>
关于typedef的用法总结(转)
查看>>
【strtok()】——分割字符串
查看>>
Linux下安装rabbitmq
查看>>
曹德旺
查看>>
【转】判断点在多边形内(matlab)
查看>>