Raspberry Pi_Eng_24.4.7 Stop and Return of Processing

24.4.7 Stop and Return of Processing

24.4.7.1 “exit” Statement and “die” Statement

“exit” statement is a command that prints the specified message and terminates the execution of the PHP script. “die” statement is the same command as “exit” statement.

exit ( [ status-message ] )

exit ( [ status-number ] )

Raspberry Pi_Eng_24.4.5 Output

24.4.5 Output

You can use “echo” and “print” commands to print processing results in PHP. Both perform almost the same function. The text to be processed may include an HTML tag.

24.4.5.1 “echo” Command

“echo” command has no return value and can process several parameters simultaneously.