What’s the difference between unset() and unlink()

  • unset() sets a variable to "undefined" and unlink() deletes a file from the file system.

What’s the difference between the include() and require() functions?

  • require() function exits with a fatal error if the file can't be included, while the include() function may still pass and jump to the next step in the execution.

When connecting to a database through PHP, do you use mysql or mysqli?

  • mysqli

PHP variables can be one of (three/four/five/six) ____ scope types?

  • four

© 2018 Micro Solutions Bangladesh and/or MCQ Academy.