ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Scripts  >>  PHP
 
 


 

 
 PHP interview questions  PHP Interview Questions
 ASP interview questions  ASP Interview Questions
 CGI Perl interview questions  CGI Perl Interview Questions
 JavaScript interview questions  JavaScript Interview Questions
 VB Script interview questions  VB Script Interview Questions
 JSP interview questions  JSP Interview Questions
 Shell Script interview questions  Shell Script Interview Questions
 Python interview questions  Python Interview Questions
 Tcl interview questions  Tcl Interview Questions
 Awk interview questions  Awk Interview Questions
 AJAX interview questions  AJAX Interview Questions
 Ruby on Rails interview questions  Ruby on Rails Interview Questions
 Scripts AllOther interview questions  Scripts AllOther Interview Questions
Question
Would you initialize your strings with single quotes or
double quotes?
 Question Submitted By :: Rajan Vardawaj
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Would you initialize your strings with single quotes or double quotes?
Answer
# 1
Since the data inside the single-quoted string is not parsed
for variable substitution, it’s always a better idea
speed-wise to initialize a string with single quotes, unless
you specifically need variable substitution.
 
Is This Answer Correct ?    15 Yes 2 No
Rajan Vardawaj
 
  Re: Would you initialize your strings with single quotes or double quotes?
Answer
# 2
if in the special character is there then initialize with
double quotes else single quotes, as it will become fast.
 
Is This Answer Correct ?    2 Yes 4 No
Srimanta Chakraborty
 
 
 
  Re: Would you initialize your strings with single quotes or double quotes?
Answer
# 3
if in the string,substitution is needed then initialize with
double quotes else single quotes, as it will become fast.
 
Is This Answer Correct ?    4 Yes 0 No
Srimanta Chakraborty
 

 
 
 
Other PHP Interview Questions
 
  Question Asked @ Answers
 
I created a new joomla module for administrator. when am going to install this, it is going "joomla/modules" path. but, i want to install this in the "joomla/administration/modules" path.  2
Who is the father of PHP and explain the changes in PHP versions? Rushmore-Consultancy2
i want simple programs in php and outputs and how to use in web developed side in php briefly explined in exmple  1
Suppose your Zend engine supports the mode <? ?> Then how can u configure your PHP Zend engine to support <?PHP ?> mode ? Rushmore-Consultancy1
How can I check if a value is already in an array? Rushmore-Consultancy2
Can anyone explain about join?  3
How can we register the variables into a session?  1
how to get the value in script values  1
Is the cookies are available on cross domain?  2
what is the post and get method?? Google11
can any please tel me about "Expression Engine"  1
Give any ten basic functions in PHP? T3-Softwares4
How can we destroy the session, how can we unset the variable of a session?  4
how to retrieve from database..... this format (PRMRMDU402). firstname= prabhu, lastname=kumar, city=madurai, pincode=624402.... i want first name first two letters and last name last two letters ... city first two letters ... pin code last three letters....  1
How can you insert javascript in php code? TCS8
How to install PHP with --mcrypt and --mhash?  1
how to upload more than 50 mb? i tried but session was expired....certain time .....i was set session duration three days .... how to rectified? if any one know that post ur answer as soon as possible? thanks  1
what are Implode and Explode functions?  4
What's diffrence between Get() and Post() Function  6
What is the functionality of the function html entities?  2
 
For more PHP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com