Answers to Chapter 19

  1. "Assert() flags a warning when the condition specified is true: true or false" False: quite the opposite is true.

  2. "Using @ to hide errors is good practice: true or false" False: only do it when you must, otherwise you're masking errors that are probably worth correcting.

  3. "Name three reasons why you might receive the error, "Call to undefined function"" There are various reasons why this error and others like it might pop up: You might have named using an extension that isn't supported, spelling the function name wrong, trying to access a private function, forgotten to include the relevant file, or be in a safe mode environment where that function is disabled.


Next chapter: The future of PHP >>

Previous chapter: Answers to Chapter 18

Jump to:


Home: Table of Contents

Follow us on or Twitter

Username:   Password:
Create Account | About TuxRadar