The real power of PHP comes from its ________
functions
PHP has over___________ that can be called directly, within script, to perform a specific task.
1000 built-in functions
is a block of statements that can be used repeatedly in a program.
Functions
will not execute automatically when a pageloads.
Functions
will be executed by a call to the function.
Function
A user-defined _______ declaration starts with the keyword function, followed by the name of the function followed by () {}
Function
To call the function, just write its name followed by ___________
parentheses()
To let a function return a value, use the __________
return statement
takes all the text/code/markup that exists in the specified file and copies it into the file that uses the include statement
Include (or require) statement
Including files is very useful when you want to include the same PHP,HTML,or text on multiple pages of a website.
Include and Require Statements
It is possible to insert the content of one PHP file into another PHP file (before the server executes it), with the _______ or _________ statement.
Include and Require Statements
Including files saves a lot of work. This means that you can create a standard header, footer, or menu file for all your webpages. Then, when the header needs to be updated, you can only update the header include file.
Include and Require Statements
will produce a fatal error (E_COMPILE_ERROR) and stop the script
Require Statement
will only produce a warning (E_WARNING) and the script will continue
Include Statement
Use _______ when the file is required by the application.
Require
Use ______ when the file is not required and application should continue when file is not found.
Include
is used to embed PHP code from another file. If the file is not found, a warning is shown and the program continues to run. If the file was already included previously, this statement will not include it again.
include_once
is used to embed PHP code from another file. If the file is not found, a fatal error is thrown and the program stops. If the file was already included previously, this statement will not include it again.
require_once