What Is The Output From This PHP Code? $x = 4; $rt = "Debug"; $rt_4 = "Test"; Echo ${rt_.$x};
-
-
Answer:
Output is TestBecause $x is 4 and the echo statement prints value from the variable which begins with rt, but then has $x in it (which is in this case, 4), final variable would be $rt_4.And $rt_4 = "Test"
Anonymous at Blurtit.com Visit the source
Related Q & A:
- What's the output from this program using fork() and why?Best solution by Stack Overflow
- What's the music off the grand theft auto 4 advert?Best solution by en.wikipedia.org
- What is the sound difference between 2 ohms and 4 ohms?Best solution by Yahoo! Answers
- What's the difference between getting a certificate in a year or getting an AA for x ray tech?Best solution by Yahoo! Answers
- What does vga output mean?Best solution by wiki.answers.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.