News for hackers. Stuff that matters.
Re:Modern PHP by dot_michael on Sunday March 27, 2022 @10:45PM (#30826558)
I still have to type $ whenever I use a variable. No thanks.
Re:Modern PHP by francislavoie on Monday March 28, 2022 @01:16AM (#30827360)
You also need to do that if you ever write bash scripts. That such a weird thing to get hung up on. You'll get over it after a week of working in PHP.
Re:Modern PHP by ihateolives on Monday March 28, 2022 @05:18AM (#30828721)
Not if you use IDE that takes care of it. Intellij IDEA or PhpStorm just let you type the variable and put $ there for you.