What is the Use of a dollar sign in php?

1 answer

Answer

1268442

2026-03-27 17:50

+ Follow

the dollar sign appears before a variable/array. Essentially it just tells php that its a variable.

$food = "cheese Pizza";

or

$myfavoritenumber = 2 ;

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.