cs.punk Posted June 18, 2009 Share Posted June 18, 2009 Uhm regarding arrays, the two little ' ', why are they there? What difference does it make? $example['with']; $example[without]; ... Link to comment https://forums.phpfreaks.com/topic/162757-solved-to-arraythis-or-not-to-arraythis-that-is-the-question/ Share on other sites More sharing options...
Maq Posted June 18, 2009 Share Posted June 18, 2009 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 Link to comment https://forums.phpfreaks.com/topic/162757-solved-to-arraythis-or-not-to-arraythis-that-is-the-question/#findComment-858889 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.