14
votes
1answer
599 views

Dollar Sign Blues: Javascript and PHP

I grew up programming C++ and Java where everything was safe and beautiful. Compilers made sure to keep me in check if I ever strayed. Of course, everyone did a little Perl in college, but I didn't ...
2
votes
5answers
762 views

Why is it discouraged to create variables on the fly? PHP gives you a Notice Error

Are you guys familiar with those pesky PHP notice errors? You know, the ones that will appear when you do something like this: if($some_variable == 45) But if $some_variable wasn't created already, ...