Jump to content

[SOLVED] To $array['this'] or not to $array[this], that is the question!


cs.punk

Recommended Posts

Go to the manual - Type Array - and go to:

 

Array do's and don'ts

Why is $foo[bar] wrong?

 

Also, if you turn error_reporting on, you will notice it throws this:

 

Notice: Use of undefined constant without - assumed 'without' in

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.