Strict Standards?
Posted: Sun Feb 19, 2006 2:59 pm
What are these new "Strict Standards" and why are they breaking all kinds of code?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
This is the second application that doesn't want to work very well under this version of php.Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /mnt/storage/server/www/html/complete/database/libraries/storage_engines.lib.php on line 108
Keep in mind that the PHP group realized just how harsh of a switch this was, and in PHP6, it will not give that notice.agtlewis wrote:I am using the newest version of phpMyAdmin on a linux pc running php version 5.0.4 and I keep getting errors such as:
This is the second application that doesn't want to work very well under this version of php.Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /mnt/storage/server/www/html/complete/database/libraries/storage_engines.lib.php on line 108
Keep in mind that public/private don't work in php4, so switching it 'fixes' it for php5, but makes the script not run on php4.feyd wrote:Since the code was written for 4, switching all the instances of "var" in that context to "public" will fix it, generally