当前位置:网站首页>Judge whether the string is palindrome
Judge whether the string is palindrome
2022-07-28 09:53:00 【MountainYanYL】
If there are any deficiencies, please point out
$num = "abc126321cba";
$str1 = strval($num);
$str2 = strrev($str1);
if(strcmp($str1,$str2) == 0){
echo 'yes';
}else{
echo 'no';
}
边栏推荐
- ARouter源码解析(一)
- SizeBasedTriggeringPolicy简介说明
- 一文读懂Plato Farm的ePLATO,以及其高溢价缘由
- OSS direct upload rails service practice
- 常用工具函数 持续更新
- [log] what does a log do? What is a log factory? Configuration and use of log4j? log4j. Properties file configuration, log4j jar package coordinates
- Symbolic operation of MATLAB
- Seeing clearly is more important than walking fast, because you can go far only when you walk right
- SQL Server、MySQL主从搭建,EF Core读写分离代码实现
- Some problems about CLR GC tuning
猜你喜欢

超级原始人系列盲盒即将上线,PlatoFarm赋能超多权益

Net 3 lines of code to realize the function of text to speech

Basic operation of MATLAB

初学C#必须要掌握的基础例题

SeekTiger生态通证STI 新进展,4月14日登录 ZB

设计一个支持百万用户的系统

matlab基本操作

3 minutes to tell you how to become a hacker | zero foundation to hacker getting started guide, you only need to master these five abilities

pycharm使用conda调用远程服务器

脉冲风采|Committer 专访——腾讯工程师张大伟喊你吃“螃蟹”啦
随机推荐
业务可视化-让你的流程图'Run'起来(4.实际业务场景测试)
极致通缩和永动机模型,将推动 PlatoFarm 爆发
C# 倒计时工具
使用 OpenSSL 创建ssl证书
Arouter source code analysis (II)
判断字符串是不是回文
手机号,固话正则表达式
总线相关概念集合
实验四 使用fdisk对硬盘进行管理
The maximum recommended number of rows for MySQL is 2000W. Is it reliable?
软件测试与质量学习笔记1---黑盒测试
[Guangxi University] information sharing of postgraduate entrance examination and re examination
PlatoFarm进展不断,接连上线正式版以及推出超级原始人NFT
Business visualization - make your flowchart'run'(4. Actual business scenario test)
478-82(56、128、718、129)
在Plato Farm新经济模型下,如何在游戏中获取更多MARK
【日志】日志干什么的?日志工厂是什么?log4j 的配置和使用? log4j.properties 文件配置、log4j jar包坐标
View的工作原理
TCP 基础知识
Database core system