What Is The Output From This PHP Code? $x = 4; $rt = "Debug"; $rt_4 = "Test"; Echo ${rt_.$x};


1 Answers

Anonymous Profile
Anonymous answered
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"

Answer Question