PHP Exam Study Guide+Questions with
100% Complete Solutions
arsort() - ANSWER Sorts an array in reverse order and maintain index association
asort() - ANSWER Sorts an array and maintain index association
compact() - ANSWER Create array containing variables and their values
count() - ANSWER Counts elements in an array, or properties in an object
current() - ANSWER Returns the current element in an array
each() - ANSWER Returns the current key and value pair from an array
end() - ANSWER Sets the internal pointer of an array to its last element
extract() - ANSWER Imports variables into the current symbol table from an array
in_array() - ANSWER Checks if a specified value exists in an array
key() - ANSWER Fetches a key from an array
,krsort() - ANSWER Sorts an array by key in reverse order
ksort() - ANSWER Sorts an array by key
list() - ANSWER Assigns variables as if they were an array
natcasesort() - ANSWER Sorts an array using a case insensitive "natural order" algorithm
natsort() - ANSWER Sorts an array using a "natural order" algorithm
next() - ANSWER Advance the internal array pointer of an array
pos() - ANSWER Alias of current()
prev() - ANSWER Rewinds the internal array pointer
range() - ANSWER Creates an array containing a range of elements
reset() - ANSWER Sets the internal pointer of an array to its first element
rsort() - ANSWER Sorts an array in reverse order
shuffle() - ANSWER Shuffles an array
sizeof() - ANSWER Alias of count()
,sort() - ANSWER Sorts an array
uasort() - ANSWER Sorts an array with a user-defined function and maintain index
association
uksort() - ANSWER Sorts an array by keys using a user-defined function
usort() - ANSWER Sorts an array by values using a user-defined function
cal_days_in_month() - ANSWER Returns the number of days in a month for a
specified year and calendar
cal_from_jd() - ANSWER Converts a Julian day count into a date of a specified calendar
cal_info() - ANSWER Returns information about a given calendar
cal_to_jd() - ANSWER Converts a date to Julian day count
easter_date() - ANSWER Returns the Unix timestamp for midnight on Easter of
a specified year
easter_days() - ANSWER Returns the number of days after March 21, on which
Easter falls for a specified year
FrenchToJD() - ANSWER Converts a French Republican date to a Julian day count
, GregorianToJD() - ANSWER Converts a Gregorian date to a Julian day count
JDDayOfWeek() - ANSWER Returns the day of a week
JDMonthName() - ANSWER Returns a month name
JDToFrench() - ANSWER Converts a Julian day count to a French Republican date
JDToGregorian() - ANSWER Converts a Julian day count to a Gregorian date
jdtojewish() - ANSWER Converts a Julian day count to a Jewish date
JDToJulian() - ANSWER Converts a Julian day count to a Julian date
jdtounix() - ANSWER Converts a Julian day count to a Unix timestamp
JewishToJD() - ANSWER Converts a Jewish date to a Julian day count
JulianToJD() - ANSWER Converts a Julian date to a Julian day count
unixtojd() - ANSWER Converts a Unix timestamp to a Julian day count
checkdate() - ANSWER Validates a Gregorian date
date_default_timezone_get() - ANSWER Returns the default time zone
100% Complete Solutions
arsort() - ANSWER Sorts an array in reverse order and maintain index association
asort() - ANSWER Sorts an array and maintain index association
compact() - ANSWER Create array containing variables and their values
count() - ANSWER Counts elements in an array, or properties in an object
current() - ANSWER Returns the current element in an array
each() - ANSWER Returns the current key and value pair from an array
end() - ANSWER Sets the internal pointer of an array to its last element
extract() - ANSWER Imports variables into the current symbol table from an array
in_array() - ANSWER Checks if a specified value exists in an array
key() - ANSWER Fetches a key from an array
,krsort() - ANSWER Sorts an array by key in reverse order
ksort() - ANSWER Sorts an array by key
list() - ANSWER Assigns variables as if they were an array
natcasesort() - ANSWER Sorts an array using a case insensitive "natural order" algorithm
natsort() - ANSWER Sorts an array using a "natural order" algorithm
next() - ANSWER Advance the internal array pointer of an array
pos() - ANSWER Alias of current()
prev() - ANSWER Rewinds the internal array pointer
range() - ANSWER Creates an array containing a range of elements
reset() - ANSWER Sets the internal pointer of an array to its first element
rsort() - ANSWER Sorts an array in reverse order
shuffle() - ANSWER Shuffles an array
sizeof() - ANSWER Alias of count()
,sort() - ANSWER Sorts an array
uasort() - ANSWER Sorts an array with a user-defined function and maintain index
association
uksort() - ANSWER Sorts an array by keys using a user-defined function
usort() - ANSWER Sorts an array by values using a user-defined function
cal_days_in_month() - ANSWER Returns the number of days in a month for a
specified year and calendar
cal_from_jd() - ANSWER Converts a Julian day count into a date of a specified calendar
cal_info() - ANSWER Returns information about a given calendar
cal_to_jd() - ANSWER Converts a date to Julian day count
easter_date() - ANSWER Returns the Unix timestamp for midnight on Easter of
a specified year
easter_days() - ANSWER Returns the number of days after March 21, on which
Easter falls for a specified year
FrenchToJD() - ANSWER Converts a French Republican date to a Julian day count
, GregorianToJD() - ANSWER Converts a Gregorian date to a Julian day count
JDDayOfWeek() - ANSWER Returns the day of a week
JDMonthName() - ANSWER Returns a month name
JDToFrench() - ANSWER Converts a Julian day count to a French Republican date
JDToGregorian() - ANSWER Converts a Julian day count to a Gregorian date
jdtojewish() - ANSWER Converts a Julian day count to a Jewish date
JDToJulian() - ANSWER Converts a Julian day count to a Julian date
jdtounix() - ANSWER Converts a Julian day count to a Unix timestamp
JewishToJD() - ANSWER Converts a Jewish date to a Julian day count
JulianToJD() - ANSWER Converts a Julian date to a Julian day count
unixtojd() - ANSWER Converts a Unix timestamp to a Julian day count
checkdate() - ANSWER Validates a Gregorian date
date_default_timezone_get() - ANSWER Returns the default time zone