php - Solve PHP4 to PHP5 ugrade error

Solution:
Since you didn't provide code, I can only guess that you have classes using the now reserved keywordclone
(fromT_CLONE
).
If you simply replace all instances ofclone
withaclone
orclone1
or something, you'll be fine, albeit a very hacky solution. It's a key indicator that whatever library it is you're using was written specifically for PHP4 and has not been upgraded for 5.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: call to a member function format() on string
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.