Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Suppose if the variable $a is equal to 5 and variable $b is equal to character a, what's the value of $$b?



Suppose if the variable $a is equal to 5 and variable $b is equal to character a, what's the va..

Answer / Digvijay Bisht

In PHP, $$b would not work as expected because it's used for variable variables, not for interpolating characters. Instead, you can use the concatenation operator (.) or heredoc syntax to achieve your desired result.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WordPress Interview Questions

How to hide directory browsing in wordpress from server using .htaccess file?

1 Answers  


How do I create a wordpress site?

1 Answers  


How can I change what appears between categories when I post in more than one category?

1 Answers  


Tell me how is creating a site on wordpress.org different from wordpress.com?

1 Answers  


Can you have 2 themes in wordpress?

1 Answers  


Where is the root directory of my wordpress website?

1 Answers  


How do I publish changes on wordpress?

1 Answers  


How do I put a youtube social link on facebook?

1 Answers  


Is wordpress seo friendly?

1 Answers  


Do I need to download wordpress?

1 Answers  


Where can I host my wordpress site?

1 Answers  


Tell me what is the basic difference between posts vs. Pages?

1 Answers  


Categories