News for hackers. Stuff that matters.
Re:Modern PHP by nobleach on Sunday March 27, 2022 @11:48AM (#30821162)
jQuery's $ and lodash's _ are not prepended to a symbol to denote a variable. Both are objects actually. In the case of jQuery, $ === jQuery (the root jQuery object). The case that the parent is talking about is PHP's requirement that all variables are denoted as such `$variable_name`. (Perl and Bash also do this)
Re:Modern PHP by dylan604 on Sunday March 27, 2022 @01:05PM (#30821864)
i forget that's what's actually being done under the hood.