Hans Schultz wrote:
1. Error reporting set to show notices, warnings and errors. See
I am beginner with PHP and prior to PHP I have worked with java for
and with perl for very short period. I can't help to notice some
are little annoyance for me with PHP, but I am sure someone more
can help me :-)
Is there in PHP something like "use strict" from perl? I find it pretty
annoying to need to run script over and over again just to find out
made typo in variable name.
Is there some way for PHP to cache some data on the page? I like very
PHP's speed but it would be even better to be able to cache some
used data from database?
Also regarding databases, I liked a lot java's way of sending data to
using parameters ("select * from user where username = ?" and then
parameter separately with database doing necessary escaping and
Is there something like PHPDBC similar to JDBC?
2. For caching you can use memcache. See http://www.php.net/memcache
3. These are called prepared statements. See
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php