PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm new here but have been coding for a while.. I've never run across this though, was hoping maybe somebody here had and could give me a tip. I am basically on a clients new box. php 5.2.4/apache 2.2. I am implementing classes and I can instantiate them fine, but when I go to call a method, Somehwere the '->' is interpreted as a ?> close tag so :
Your theory sounds fishy to me. If that were the case, you would get a PHP parsing error due to the missing semicolon. I think it is a lot more likely that PHP parsing is not enabled in apache, and your browser shows you the rest of what it considers to be "outside" the php "Tag", after it encounters ">". Take a look at the source of the page and post it here.
I guess you put some valid identifier for class name but 'class' is reserved word and new class is parse error.
@ghurtado Last statment wouldn't require semicolon;