Calling Method Closes PHP. interpreted as '?>'
Posted: Tue Aug 12, 2008 3:51 pm
Hi all,
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 :
I have checked httpd.conf and php.ini but cant find where this happens. asp tags are off. has anybody ran into this?
Beto
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 :
Code: Select all
$class = new class; // works fine
$class->retrieve(); // returns "retrieve();" (equivalent of $class?>retrieve();
Beto