[英]what difference between syntax php in php version 5.4.16 dengan 5.2.17?
I made my website with php version 5.4.16, but I learning that my hosted sites only support 5.2.17. 我使用5.4.16的php版本制作了网站,但我了解到托管网站仅支持5.2.17。 and it's make trouble with CKEditor, I can't post html or else.
这给CKEditor带来了麻烦,我无法发布html或其他内容。
anyone knows the syntax in ver 5.4.16 it doesn's support in ver 5.2.17 ? 有人知道版本5.4.16中的语法吗?它在版本5.2.17中不支持吗? please share what you know.
请分享您所知道的。 thanks for help.
感谢帮助。
Since you are doing a regression from 5.4 to 5.2, read the list of new features from 5.3 and 5.4. 由于您正在执行从5.4到5.2的回归,因此请阅读5.3和5.4的新功能列表。 If you are using any of them, you will need to remove them:
如果使用其中任何一个,则需要将其删除:
I did a regression like that, and the most painful part was that I had to stop using anonymous functions . 我做了这样的回归,最痛苦的部分是我不得不停止使用匿名函数 。
Also, it meant to change from arrays declared like $a = [1,2];
另外,它的意思是从声明
$a = [1,2];
数组更改$a = [1,2];
to $a = array(1,2);
到
$a = array(1,2);
. 。
Well, read the links and see how much you'll be missing. 好吧,请阅读链接,看看会丢失多少。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.