Business Studies, asked by jaikumar5886, 11 months ago

Explain encoding and escaping in PHP.

Answers

Answered by riyaz112
0

Answer:

PHP lexical structure. Computer languages, like human languages, have a lexical structure. A source code of a PHP script consists of tokens. ... In PHP language, we have comments, variables, literals, operators, delimiters, and keywords.Comparing two strings is one of the most commonly used string operation in programming and web development practices. The strcmp() is an inbuilt function in PHP and is used to compare two strings. ... $string1 (mandatory): This parameter refers to the first string to be used in the comparison.

Answered by queensp73
1

Answer:

Escaping is when you place an escape charater in front of a metacharacter(s) to mark it/them as to behave differently than what they would have normally. Encoding, on the other hand, is all about transforming data into another form, and upon wanting to read the original content it is decoded back to its original form.

Similar questions