Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

It is fun.

 

  //You can even add more Dollar Signs

 $Bar = "a";
 $Foo = "Bar";
 $World = "Foo";
 $Hello = "World";
 $a = "Hello";

 $a; //Returns Hello
 $$a; //Returns World
 $$$a; //Returns Foo
 $$$$a; //Returns Bar
 $$$$$a; //Returns a

 $$$$$$a; //Returns Hello
 $$$$$$$a; //Returns World

 //... and so on ...//

Posted

Things like that are the reason I love PHP so much for development; it's so damn flexible with its variables (I <3 no types) that you never end up digging through the manual to find the correct form for a datatype, or the function to typecast, you just get on with it. There's probably six different ways you could think of to do most things and PHP will probably let you code them all first time without too much hassle.

 

.Net, on the other hand... great for the 5% of projects that are real quick 'n' dirty, great for the 5% at the other end where you build your library up, but for the other 90% in the middle it never had the flexibility of PHP for me.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...