If you have any questions about WORDPRESS installation, please help me. thank you.
Source: Internet
Author: User
If you have any questions about installing WORDPRESS, please help me. thank you for Parseerror: syntaxerror, unexpectedT_VARIABLEin/z4/l/lin1860/public_html/wp-receivdes/option. phponline225 has a question about WORDPRESS installation using WORDPR. could you please help me? thank you.
Parse error: syntax error, unexpected T_VARIABLE in/z4/l/lin1860/public_html/wp-includes/option. php on line 225
After you Upload WORDPRESS to the VM space, the preceding error occurs when you run the installation. The same file was successfully installed on other hosts yesterday, but now
The above error occurs in this space. Is there a problem? PHP Version 4.4.9 used in the space
I checked the option. php 225 line code as $ newvalue = clone $ newvalue;
The code should be fine, because I installed it once yesterday. Is the PHP version low or other problems solved? thank you.
------ Solution --------------------
The clone keyword is available only in php5.
In the manual
Object replication can be completed by using the clone keyword (if possible, the _ clone () method of the object will be called ). The _ clone () method in the object cannot be called directly.
$ Copy_of_object = clone $ object;
After the object is copied, PHP5 performs a shallow copy on all the attributes of the object ). All the reference attributes will still be a reference pointing to the original variable.
However, this $ newvalue = clone $ newvalue; is too unreasonable.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service