php short opening tags – class not found
November 18, 2009
No comments
Getting class not found errors even though the require and include statements work fine?
It might be the case that the php configuration (php.ini) does not allow short opening tags.
short_open_tag = 0
A short opening tags in php looks like this <? instead of <?php
Some older libraries use these short opening tags. Best practice is to replace them by standard php opening tags.
Comments
Leave a comment Trackback