Blog Archives

PHP String Function Mini-Quiz 3: From htmlspecialchars() to nl_langinfo().

The htmlspecialchars function, sized for desktop viewing.

This post provides a reference table and subsequent quiz for eleven PHP String functions. from htmlspecialchars() to nl_langinfo(). The reference table and quiz can be sized appropriately for mobile, tablet, and desktop viewports. There is also the option to have the computer complete the quiz itself, thanks to the magic of JavaScript!

Tagged with: , , , ,
Posted in PHP String Quizzes

PHP String Function Mini-Quiz 2: From crypt() to htmlspecialchars_decode().

Tabulated crypt PHP String function, sized for desktop viewing.

This post provides a reference table and subsequent quiz for eleven PHP String functions, from crypt() to htmlspecialchars_decode(). The reference table and quiz can be sized appropriately for mobile, tablet, and desktop viewports. There is also the option to have the computer complete the quiz itself, thanks to the magic of JavaScript!

Tagged with: , , , ,
Posted in PHP String Quizzes

PHP String Function Mini-Quiz 1: From addcslashes() to crc32().

The first two rows of the PHP String Mini-Quiz 1, sized for desktop viewing.

This post provides a reference table and subsequent quiz for eleven PHP String functions, ranging from addcslashes() to crc32(). Mobile, tablet, and desktop viewports are catered for, and users can choose to watch the computer complete the quiz itself thanks to the magic of JavaScript!

Tagged with: , , , ,
Posted in PHP String Quizzes

PHP Quiz: All String Functions

The final two PHP string functions.

This post provides a reference table and subsequent quiz for 95 PHP string functions. The user can choose to size the reference table and quiz suitably for the following viewports: mobile; tablet; and desktop. There is also the option to have the computer complete the quiz itself, thanks to the magic of JavaScript!

Tagged with: , , , ,
Posted in PHP String Quizzes

PHP Quiz: All Date/Time Functions

Comprehensive PHP DateTime Quiz, sized for desktop viewing.

This post serves as a reference point for 48 PHP date/time functions. Users can also click a ‘RANDOMIZE’ button, whereupon all the function descriptions, function syntaxes, and function return values are randomized. The user can then rearrange the table cells correctly (thus completing the quiz) or click an ‘AUTO COMPLETE’ button (following further optional manual randomization) and watch the computer complete the quiz itself! The computer completes the quiz at a speed that the human eye can follow, thus aiding learning.

Tagged with: , , , ,
Posted in PHP Date/Time Quizzes

PHP Date/Time Function Quiz 5: DateTimeZone::getLocation(); timezone_name_from_abbr(); DateTimeZone::getName(); DateTimeZone::getOffset(); DateTimeZone::__construct(); DateTimeZone::getTransitions(); and timezone_version_get().

First row of the PHP DateTime Mini Quiz 5, sized for desktop viewing.

This post serves as a reference point for 7 PHP date/time functions: DateTimeZone::getLocation(); timezone_name_from_abbr(); DateTimeZone::getName(); DateTimeZone::getOffset(); DateTimeZone::__construct(); DateTimeZone::getTransitions(); and timezone_version_get(). Users can also click a ‘RANDOMIZE’ button, whereupon all the function descriptions, function syntaxes, and function return values are randomized. The user can then rearrange the table cells correctly (thus completing the quiz) or click an ‘AUTO COMPLETE’ button (following further optional manual randomization) and watch the computer complete the quiz itself! The computer completes the quiz at a speed that the human eye can follow, thus aiding learning.

Tagged with: , , , ,
Posted in PHP Date/Time Quizzes

PHP Date/Time Function Quiz 4: microtime(); mktime(); strftime(); strptime(); strtotime(); time(); DateTimeZone::listAbbreviations(); and DateTimeZone::listIdentifiers().

First two rows of the PHP DateTime Mini Quiz 4, sized for desktop viewing.

This post serves as a reference point for 8 PHP date/time functions: microtime(); mktime(); strftime(); strptime(); strtotime(); time(); DateTimeZone::listAbbreviations(); and DateTimeZone::listIdentifiers(). Users can also click a ‘RANDOMIZE’ button, whereupon all the function descriptions, function syntaxes, and function return values are randomized. The user can then rearrange the table cells correctly (thus completing the quiz) or click an ‘AUTO COMPLETE’ button (following further optional manual randomization) and watch the computer complete the quiz itself! The computer completes the quiz at a speed that the human eye can follow, thus aiding learning.

Tagged with: , , , ,
Posted in PHP Date/Time Quizzes

PHP Date/Time Function Quiz 3: DateTime::setTimestamp(); DateTime::getTimezone(); DateTime::setTimezone(); date(); getdate(); gettimeofday(); gmdate(); gmmktime(); gmstrftime(); idate(); and localtime().

First three rows of the PHP DateTime Mini Quiz 3, sized for desktop viewing.

This post serves as a reference point for 11 PHP date/time functions: DateTime::setTimestamp(); DateTime::getTimezone(); DateTime::setTimezone(); date(); getdate(); gettimeofday(); gmdate(); gmmktime(); gmstrftime(); idate(); and localtime(). Users can also click a ‘RANDOMIZE’ button, whereupon all the function descriptions, function syntaxes, and function return values are randomized. The user can then rearrange the table cells correctly (thus completing the quiz) or click an ‘AUTO COMPLETE’ button (following further optional manual randomization) and watch the computer complete the quiz itself! The computer completes the quiz at a speed that the human eye can follow, thus aiding learning.

Tagged with: , , , ,
Posted in PHP Date/Time Quizzes

PHP Date/Time Function Quiz 2: DateTime::setISODate(); DateTime::modify(); DateTime::getOffset(); date_parse_from_format(); date_parse(); DateTime::sub(); date_sun_info(); date_sunrise(); date_sunset(); DateTime::setTime(); and DateTime::getTimestamp().

First four rows of the PHP Date/Time Function Mini-Quiz 2, sized for mobile viewing.

This post serves as a reference point for 11 PHP date/time functions: DateTime::setISODate(); DateTime::modify(); DateTime::getOffset(); date_parse_from_format(); date_parse(); DateTime::sub(); date_sun_info(); date_sunrise(); date_sunset(); DateTime::setTime(); and DateTime::getTimestamp(). Users can also click a ‘RANDOMIZE’ button, whereupon all the function descriptions, function syntaxes, and function return values are randomized. The user can then rearrange the table cells correctly (thus completing the quiz) or click an ‘AUTO COMPLETE’ button (following further optional manual randomization) and watch the computer complete the quiz itself! The computer completes the quiz at a speed that the human eye can follow, thus aiding learning.

Tagged with: , , , ,
Posted in PHP Date/Time Quizzes

PHP Date/Time Function Quiz: checkdate(); date_add(); date_create_from_format(); date_date_set(); date_default_timezone_get(); date_default_timezone_set(); date_diff(); date_format(); date_get_last_errors(); DateInterval::createFromDateString(); and DateInterval::format().

First two rows of the PHP DateTime Function Mini-Quiz 1, sized for desktop viewing.

This post serves as a reference point for 11 PHP date/time functions: checkdate(); date_add(); date_create_from_format(); date_date_set(); date_default_timezone_get(); date_default_timezone_set(); date_diff(); date_format(); date_get_last_errors(); DateInterval::createFromDateString(); and DateInterval::format(). Users can also click a ‘RANDOMIZE’ button, whereupon all the function descriptions, function syntaxes, and function return values are randomized. The user can then rearrange the table cells correctly (thus completing the quiz) or click an ‘AUTO COMPLETE’ button (following further optional manual randomization) and watch the computer complete the quiz itself! The computer completes the quiz at a speed that the human eye can follow, thus aiding learning.

Tagged with: , , , ,
Posted in PHP Date/Time Quizzes