Tell me what is the difference between characters 34 and x34?



Tell me what is the difference between characters 34 and x34?..

Answer / Gaurav Prakash

In PHP, both single quotes (`'`) and ASCII code 34 (`x34`) represent the same character: double quote (`"`). However, they have different purposes. Single quotes are used for string literals with no variable interpolation, while double quotes allow for variable interpolation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

what is PDO?

1 Answers  


List types of array are available in php?

1 Answers  


Is key in array php?

1 Answers  


PHP can be used frontend of for backend?

3 Answers   Global Logic,


What is nginx and what is it used for?

1 Answers  


What is string and its function?

1 Answers  


Is polymorphism inherited?

1 Answers  


How do you run a php script from the command line?

1 Answers  


Do you know what is use of count() function in php?

1 Answers  


can any one tell how to install LAMP server in terminal in ubuntu.....and also tell please how to run php files in ubunut and how to save and compile in ubuntu..i already installed ubuntu ..but i dont installed lamp server so i want to install lamp server in terminal is it possible please reply

2 Answers  


What is the meaning of symbol '$' in jquery?

1 Answers  


A company named Pensar Technologies in chennai has offered me a job as Software Trainee in chennai.But they are asking to pay demand draft of Rs.75000/- in the name of the company.They are saying the gross renumeration will pay Rs.90000/- annually.I want to know whether this is good or bad company?Help me out in this.

18 Answers  


Categories