Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #11314
| Message-ID | <7660010.il6QMlxOBB@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2013-10-07 19:37 +0200 |
| Subject | Re: Yet another error for some unknown reason |
| Newsgroups | comp.lang.php |
| References | <ar44fcpqvv23.4dvziqbqzlxp.dlg@40tude.net> <l2uobs$bp8$3@dont-email.me> |
Denis McMahon wrote: > (a) Set the array up as follows: > > $playme = array( > array(1960,1,"title","artist","file"), > array(1960,1,"title","artist","file"), > array(1960,1,"title","artist","file") > ); > > _^_ By the way, this semi-colon is *NOT* *OPTIONAL* An optional comma can be inserted after the last array() parameter, though, which is useful when you have to initialize with more elements. > […] > Here's an amazing fact about PHP: … and several other programming languages: > The elements of an array do not have to all be of the same type! ISTM that this naturally follows from using dynamic (run-time) instead of static (compile-time) type-checking. [Java (which uses static type- checking) can do this as well, but you have to wrap the value in an object and have to use a wrapper class that accepts object references.] PointedEars -- When all you know is jQuery, every problem looks $(olvable).
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Yet another error for some unknown reason richard <noreply@example.com> - 2013-10-07 12:10 -0400
Re: Yet another error for some unknown reason Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-10-07 09:20 -0700
Re: Yet another error for some unknown reason richard <noreply@example.com> - 2013-10-07 12:56 -0400
Re: Yet another error for some unknown reason "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2013-10-07 16:23 +0000
Re: Yet another error for some unknown reason Dennis <nobody@nowhere.invalid> - 2013-10-07 13:07 -0400
Re: Yet another error for some unknown reason Denis McMahon <denismfmcmahon@gmail.com> - 2013-10-07 16:43 +0000
Re: Yet another error for some unknown reason Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-10-07 19:37 +0200
Re: Yet another error for some unknown reason richard <noreply@example.com> - 2013-10-07 12:48 -0400
Re: Yet another error for some unknown reason "J.O. Aho" <user@example.net> - 2013-10-07 20:06 +0200
csiph-web