Zend PHP 5 Certification
Zend PHP 5.3 Certification
ZF-100-500
Zend Certified Engineer
Zend Framework 2 Certification
What is the preferred method for preventing SQL injection?
Always using prepared statements for all SQL queries.
Always using the available database-specific escaping functionality on all variables prior to building the SQL query.
Using addslashes() to escape variables to be used in a query.
Using htmlspecialchars() and the available database-specific escaping functionality to escape variables to be used in a query.
What is the name of the key in $_FILES['name'] that contains the number of bytes of the uploaded file?
size
What function can be used to retrieve an array of current options for a stream context?
stream_context_get_params
stream_context_get_default
stream_context_get_options
The 'options' element of the stream_get_meta_data return value