Master PHP with our interactive study cards designed for effective learning. These flashcards use proven spaced repetition techniques to help you memorize key concepts, definitions, and facts. Perfect for students, professionals, and lifelong learners seeking to improve knowledge retention and ace exams through active recall practice.
Click any card to reveal the answer
Use opening tag <?php
Use dollar sign followed by variable name like $variable
Use the dot operator like $str1 . $str2
Use array() function or square brackets like $arr = [1 2 3]
Use square brackets with index like $arr[0]
Use key-value pairs like $arr = ['key' => 'value']
Use include or require statements
require stops execution if file not found include continues with warning
Use function keyword like function myFunction() {}
Use function name followed by parentheses like myFunction()
Use class keyword like class MyClass {}
Use new keyword like $obj = new MyClass()
Use arrow operator like $obj->property
Use define() function or const keyword
Use try-catch blocks or error handling functions
Use mysqli_connect() or PDO
Use mysqli_query() or PDO prepare and execute methods
Use $_POST $_GET or $_REQUEST superglobals
Use session_start() function
Use $_SESSION superglobal like $_SESSION['key'] = 'value'
Use header() function like header('Location: page.php')
Use filter_var() with FILTER_VALIDATE_EMAIL
Use password_hash() function
Use password_verify() function
Use date() function with format strings
Use $_FILES superglobal and move_uploaded_file()
Use file_get_contents() or fread() functions
Use file_put_contents() or fwrite() functions
Use json_decode() to convert JSON to PHP arrays or objects
Use json_encode() to convert PHP data to JSON format
Remember: Use all available resources to study. Flearn alone cannot guarantee success in any exams—make sure to supplement your learning!