I am trying to figure out why an old PHP code doesn't work as expected. The following line puzzles me:
In the above code,Code:$this = new $class($i!=$step);
So does the line mean:Code:$class=Step; $i=2; $step=2;
But there is no class Step, only Step1, Step2, etc.Code:$this = new Step;



Reply With Quote

Bookmarks