0

<?php $x = "abc"; $x = 200; echo $x."<br/>"; echo $x."<br/>"; echo $abc; ?>

I want some confusion what $abc result come and why 200 is the results .

22nd Jan 2020, 2:05 AM
Rajat Khatore
Rajat Khatore - avatar
2 odpowiedzi
0
$x = $abc = 200 cause $x = "abc" and $x = 200
22nd Jan 2020, 2:13 AM
Jnn
Jnn - avatar
0
This is the same exact problem from Javatpoint explaining why $abc = 200... https://www.javatpoint.com/php-dollar-doubledollar https://code.sololearn.com/wAzkb5uS3PDq/?ref=app
22nd Jan 2020, 2:59 AM
BroFar
BroFar - avatar