PHP opretors | Logical Operator |String Operator | Array Operator | Conditional Assignment Opreto

Опубликовано: 30 Март 2026
на канале: Easy Technica
64
6

-- EASY TECHNICA --

LEARN CSS PLAYLIST :-

https://www.youtube.com/playlist?list...



LEARN FORM IN HTML PLAYLIST :-

https://www.youtube.com/playlist?list...



LEARN HTML PLAYLIST:-

https://www.youtube.com/playlist?list...


---- VIEDO ABOUT----
PHP TUTORIAL
PHP Introduction

PHP Logical Operators
The PHP logical operators are used to combine conditional statements.

++$x Pre-increment Increments $x by one, then returns $x
$x++ Post-increment Returns $x, then increments $x by one
--$x Pre-decrement Decrements $x by one, then returns $x
$x-- Post-decrement Returns $x, then decrements $x by one

PHP String Operators
PHP has two operators that are specially designed for strings.

. Concatenation $txt1 . $txt2 Concatenation of $txt1 and $txt2
.= Concatenation assignment $txt1 .= $txt2 Appends $txt2 to $txt1

. Concatenation $txt1 . $txt2 Concatenation of $txt1 and $txt2
.= Concatenation assignment $txt1 .= $txt2 Appends $txt2 to $txt1

PHP Array Operators
The PHP array operators are used to compare arrays

Union $x + $y Union of $x and $y
== Equality $x == $y Returns true if $x and $y have the same key/value pairs
=== Identity $x === $y Returns true if $x and $y have the same key/value pairs in the same order and of the same types
!= Inequality $x != $y Returns true if $x is not equal to $y
!== Non-identity $x !== $y Returns true if $x is not identical to $y


PHP Conditional Assignment Operators
The PHP conditional assignment operators are used to set a value depending on conditions:

?: Ternary $x = expr1 ? expr2 : expr3 Returns the value of $x.
The value of $x is expr2 if expr1 = TRUE.
The value of $x is expr3 if expr1 = FALSE
?? Null coalescing $x = expr1 ?? expr2 Returns the value of $x.
The value of $x is expr1 if expr1 exists, and is not NULL.
If expr1 does not exist, or is NULL, the value of $x is expr2.
Introduced in PHP 7



HOW TO USE PHP
===== CHANNEL ABOUT ====

HTML learn
HTML teach
CSS EASY teach
LEARN HTML
CSS WITH ENGLISH AND HINDI
CSS TUTORIAL IN HINDI AND ENGLISH
LEARN PHP
Simply learn Html
Learn Html
Easy Html Learn
All Topic Teach Html
Free Of Course Learn Html
Hindi Html Learn
Practical Html Learn
PPT Learn Html
Sublime In practicaL
learn php
what is php
java
learn php in hindi and english





-----------------------------------------------------
=PHP FREE DOWNLOD :-
=www.php.net
-----------------------------------------------
=Downlod sublime:
="https://www.sublimetext.com/"
----------------------------------------------------





= FOLLOW ON =
=====
Follow instagram
  / easytechnica  
=====
Follow facebook:
  / abhay.shiroya  
=====
Follow twitter:
  / easytechnica  
=====
Follow telegram:
@Easy technica
=====



LIKE VIEDO !!!!
SHARE VIEDO YOUR FRIEND
COMMENT YOUR REVIEW


AND TOUCH A BELL ICON AND SUBSCRIBE YOUTUBE CHANNEL EASY TECHNICA



====
THANK YOU FOR WATCHED VIEDO !!!!