致命错误:第83行的C:\ xampp \\\\\\\\\\\\\\\\\\\\\\\\\\\\ [英] Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\ProfilHrace.php on line 83

查看:125
本文介绍了致命错误:第83行的C:\ xampp \\\\\\\\\\\\\\\\\\\\\\\\\\\\的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的程序有问题,在转换为String的数字之前加上数字0。在C#中它可以正常工作,但在php中它会抛出此错误:致命错误:第83行的C:\ xampp \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\有人知道为什么吗?



有人可以解决这个问题吗?



Hi,
I have a problem with a program, which puts number "0" before a number converted to String. In C# it works correctly, but in php it throws this error: Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\ProfilHrace.php on line 83. Does anybody know why?

Can anybody solve this problem?

80 $priceTmp = (string)$select["Price"]; //$select["Price"] returns number correctly
81 while(sizeof($priceTmp)%3 !=0)
82 {
83    $tmp = "0".$priceTmp;  //here it throws an error
84    $priceTmp = $tmp;
85 }</pre>





我找不到任何php的在线调试器并且我的调试器不起作用。



感谢您的回复!

Pepin z Hane



I can not find any online debugger for php and my debugger doesn't work.

Thanks for replies!
Pepin z Hane

推荐答案

priceTmp =(string)
priceTmp = (string)


选择[ 价格]; //
select["Price"]; //


select [Price]正确返回数字
81 while(sizeof(
select["Price"] returns number correctly 81 while(sizeof(


这篇关于致命错误:第83行的C:\ xampp \\\\\\\\\\\\\\\\\\\\\\\\\\\\的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆