PHP Reserved Keywords - PHP Tutorial 16

Опубликовано: 28 Сентябрь 2024
на канале: ChidresTechTutorials
2,993
49

Notes for You:: PHP Reserved Keywords - PHP Tutorial 16
- Keywords are reserved words.
- Their meaning and purpose is already defined within the PHP.
- Keywords must be used only for the purpose for which they are defined.
- All keywords are defined in lower case letters.
- Hence keywords must be written in lower case letters.
- Keywords should not be used as identifiers or user defined names;
i.e. for naming variables, constants, arrays, functions, objects, etc. do not use keywords

Ex (65+):

echo, print, eval
if, endif, else, elseif
switch, endswitch, case, default
for, endfor, while, endwhile, do
foreach, endforeach, as, yield
break, continue, goto
function, return, callable, global
array, list
try, catch, throw, finally
new, clone, instanceof
and, or, xor
class, interface, namespace
var, static, const
private, protected, public
abstract, final
extends, implements
include, include_once, require, require_once
declare, enddeclare
die, exit
empty, isset, unset
trait, insteadof, use


=========================================

Follow the link for next video:
PHP Tutorial 17 - PHP Identifiers | PHP Naming Conventions
   • PHP Identifiers | PHP Naming Conventi...  

Follow the link for previous video:
PHP Tutorial 15 - Comments in PHP language | PHP Comments
   • PHP Comments - PHP Tutorial 15  

=========================================

PHP Tutorials Playlist:-
   • PHP Tutorials  

=========================================
Watch My Other Useful Tutorials:-

MySQL Tutorials Playlist:-
   • MySQL Tutorials  

HTML Tutorials Playlist:-
   • HTML Tutorials  

CSS Tutorials Playlist:-
   • CSS Tutorials  

JavaScript Tutorials Playlist:-
   • JavaScript Tutorials  

=========================================

► Subscribe to our YouTube channel:
   / chidrestechtutorials  

► Visit our Website:
https://www.chidrestechtutorials.com

=========================================
Hash Tags:-
#ChidresTechTutorials #PHP #PHPTutorial