本文章给大家介绍一个实例,用来判断字符串是不是为回文字符串.实例代码如下:
- <!–?php
- function ishuiwen($str){
- $len=strlen($str);
- $l=1;
- $k=intval($len/2)+1;
- for($j=0;$j<$k;$j++){
- if (substr($str,$j,1)!=substr($str,$len–$j-1,1))
- {
- $l=0;
- break;
- }
- }
- if ($l==1)
- {
- return 1;
- }
- else
- {
- return -1;
- }
- }
- $str=12321;
- echo ishuiwen($str);
- ?>
波比源码 – 精品源码模版分享 | www.bobi11.com
1. 本站所有资源来源于用户上传和网络,如有侵权请邮件联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7. 本站源码并不保证全部能正常使用,仅供有技术基础的人学习研究,请谨慎下载
8. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!
波比源码 » PHP判断一个字符串是否是回文字符串
波比源码 » PHP判断一个字符串是否是回文字符串
buy levaquin online levaquin sale
brand avodart avodart ca ondansetron 4mg drug
order spironolactone 100mg generic aldactone generic fluconazole price
order generic ampicillin 250mg buy bactrim 480mg erythromycin 500mg cheap
buy fildena 100mg sale buy nolvadex pill generic robaxin 500mg
suhagra 50mg pills sildenafil next day order estrace 2mg generic
generic lamictal mebendazole 100mg generic retin ca
generic tadalafil tadalis medication order diclofenac generic
order cialis 10mg sale 20 cialis mg tadalafil order generic viagra
buy arimidex 1mg generic buy arimidex 1 mg for sale purchase viagra generic
cialis 5mg sans ordonnance sildenafil 50mg sans ordonnance en france sildenafil generique pas cher
original cialis 5mg rezeptfrei sicher kaufen original sildenafil rezeptfrei sicher kaufen viagra 200mg kaufen für männer
order accutane 10mg without prescription azithromycin price ivermectin pills canada
modafinil 200mg uk buy acetazolamide 250 mg without prescription diamox 250mg brand
clonidine cost buy minocycline 50mg pills tiotropium bromide 9 mcg ca
order generic buspirone 5mg cordarone 100mg drug order oxybutynin 2.5mg generic
purchase fosamax buy alendronate 35mg pills buy pepcid for sale
brand olmesartan 10mg acetazolamide 250mg cheap oral acetazolamide
imdur 20mg over the counter telmisartan for sale online buy telmisartan 20mg online
molnupiravir price purchase omnicef order prevacid for sale
order generic zoloft 50mg buy sertraline 50mg pill sildenafil professional
salbutamol online sildenafil 50mg pills for men sildenafil pill
tadalafil sale purchase phenazopyridine pill buy symmetrel 100mg without prescription
provera cost order medroxyprogesterone 5mg without prescription brand cyproheptadine 4mg
buy provigil online stromectol 6mg ca stromectol tablets for humans
fluvoxamine 50mg pill order nizoral 200mg generic purchase glucotrol pills
isotretinoin 40mg pill accutane generic deltasone 10mg for sale
order azithromycin 250mg generic buy generic gabapentin cheap neurontin 600mg
cialis 20mg cost cialis price walmart sildenafil 50mg tablet
aralen pill baricitinib 4mg uk baricitinib 2mg generic
glycomet over the counter lipitor buy online cialis 5mg oral
cost zyprexa 10mg zyprexa 10mg generic diovan 80mg pill
prilosec for sale purchase essays play online roulette for fun
lopressor medication order metoprolol generic buy levitra
get assignments done online eassy writing online casino real money paypal
buy vardenafil 20mg sale buy medrol online buy medrol 16mg
teach me how to write an essay academic writing terms usa pharmacy viagra
triamcinolone 4mg canada order triamcinolone for sale desloratadine cheap
order dapoxetine 90mg generic misoprostol for sale online levothyroxine over the counter
cialis 20 mg price viagra 100mg drug order sildenafil sale
brand xenical 60mg zovirax 400mg drug acyclovir 400mg oral
zyloprim 300mg over the counter allopurinol 100mg generic buy ezetimibe 10mg
cost domperidone 10mg sumycin usa cheap flexeril
losartan 50mg without prescription cozaar pills buy topiramate 100mg generic
purchase lioresal generic zanaflex sale toradol 10mg tablet
buy imitrex pill levofloxacin 500mg pills avodart 0.5mg pills
order colchicine generic buy generic colchicine 0.5mg hollywood casino online real money
online slots real money best online casino usa free casino slot games
buy tamsulosin 0.2mg online cheap flomax 0.4mg generic order spironolactone 25mg generic
simvastatin order buy proscar 1mg online proscar 5mg cost
cost metronidazole 200mg sulfamethoxazole uk brand trimethoprim
generic viagra cheap cialis online price of cialis
best casino online wind creek casino online play buy cialis without prescription
trazodone for sale online purchase suhagra for sale order sildenafil generic
sildenafil next day purchase estrace online purchase lamotrigine sale
free shipping viagra cialis 5mg us order tadalafil 40mg online
zithromax 250mg uk buy zithromax 500mg pills oral gabapentin
buy furosemide pills oral doxycycline 200mg buy plaquenil 200mg pills
sildenafil price rhinocort price rhinocort pill