How can we help?

You can also find more resources in our Help Center.

9 terms

PHP

Things to know about PHP before going into an interview or exam.
STUDY
PLAY
$_GET[]
An array of variables passed in the URL
$_POST[]
An array of variables passed with <input /> data
mysql_fetch_object()
Similar to mysql_fetch_array(), but cannot be accessed by integer offset
mysql_fetch_array()
Returns an array that corresponds to the fetched row of MySQL data and moves the internal data pointer ahead
Shebang
The name of the #! used to designate the location of the PHP binary—this is used to make scripts executable at the command line
define()
Uses two arguments: constant name and constant definition
$_SESSION[]
The array that stores variables specific to a user's visit
Magic Constant
Predefined constants such as __LINE__, __FILE__, __FUNCTION__, __CLASS__ and __METHOD__
$$
The prefix for a dynamic variable, also known as a variable variable