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 don't get syntax errors. I get warnings and notices though. but at the moment i have about a 500 line script with probably 1 or 2 errors in it and I can't find them. ;(
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
I have that, but would have a huge database to import locally if i wanted to test the actual script.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
just tried a 1 and "1" instead of on, too.. no luck.
PHP 4.1
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
i just don't understand why it will show warnings and notices but not syntax errors. if the page is completely free of syntax errors then it will show the warnings, otherwise i get nothing.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
scrotaye wrote:i just don't understand why it will show warnings and notices but not syntax errors. if the page is completely free of syntax errors then it will show the warnings, otherwise i get nothing.
Just a thought.
Maybe a quick command script to run through all .php files and do
yeah.. syntax errors happen before any of the code inside the file can run, therefore you won't get them displayed until it's set before php starts parsing the file like in a .htaccess or php.ini. Run it through the lint check somewhat like jmut suggested.