zend framework scripts
Posted: Fri Mar 21, 2008 6:32 am
Each zend framework script begins from "<?php", but they are have not at the end "?>". Does it makes for special purpose or only for simplifying?
Thanks!
Thanks!
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Thank you very much!arborint wrote:Only for simplifying. When the PHP parser reached the end of the script it will close everything, so the ?> is not required. Sometimes you will have a space or newline after the ?> which will cause "headers sent" errors but it difficult to track down. So it is both not necessary and can cause a problem.