Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
1. Read the documentation for both and changelogs.
2. Go through every single line of the code and modify accordingly. -
@Root FATAL ERROR syntax error, unexpected '->' (T_OBJECT_OPERATOR) on line number 2
-
nitnip18146yphp 3? Are you sure it isn't 5.3? But yeah, there's no such thing. You'll have to rewrite everything.
Php handles things very differently now than it did before. You can no longer for example, use undefined variables. And that's something that was heavily abused in 5.3 inside conditional expressions. -
@nitnip you are right my boss talkshit to me XD its 5.3... this guy know noting in programmation and is my mentor =_=
-
nitnip18146y@jak645 I knew it! Buuut anyways, that spells bad news for you since you can't really upgrade 5.3 to 7.x without breaking everything in the process.
You'll have to rewrite those classes from scratch.
Some hint on how to take an php 3 old code and transform it to php 7.3 without rewrite all the class ...
Like an auto converters or i dont know ?
question