PHP:-
Hypertext Preprocessor(Recursive Acronym)
Server-Side Programming/Scripting Language
It can be embedded directly within HTML. Files use a “.php” file extension.
PHP Case Sensitivity:-
PHP Comments:-
PHP Variables ($):-
PHP echo Statement:-
PHP Strings (” “):-
Strings define as (“DevOpsSchool”)
PHP Numbers:-
PHP Numbers no need to define Strings or Quote define as 123, 234, 345………. etc.
PHP Constants:-
PHP Constants like as identifier which simple value. The value cannot be changed as script. no need to sign $ before the constant name
PHP IF….. Else…..Elseif:-
PHP if…… else…….. elseif used that time you want to perform different actions for different conditions.
PHP switch Statement:-
PHP switch Statement is used to perform different actions based on different switch cases conditions.Switch statement use one conditions many blocks of code to be executed.
Ternary or Conditional Operator:-
Ternary or Conditional Operator used to similar as if else statement.
PHP While Loop:-
While Loop keeps repeating any action until all condition returns false.
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals