1PHP stands for Hypertext Preprocessor.
2It is an open source server-side scripting language which is widely used for web development.
3It supports many databases like MySQL, Oracle, Sybase, Solid, PostgreSQL, generic ODBC etc.
1// Example usage for: Ternary Operator
2$action = $_POST['action'] ?: 'default';
3
4// The above is identical to this if/else statement
5if (empty($_POST['action'])) {
6 $action = 'default';
7} else {
8 $action = $_POST['action'];
9}