Reply to Re: Syntax bug?

Your name:

Reply:


Posted by Andy Hassall on 05/29/05 01:21

On Sun, 29 May 2005 00:15:38 +0200, "Janwillem Borleffs" <jw@jwscripts.com>
wrote:

>Hello wrote:
>> I use PHP 5.01. Could you see if it works in other vesions?
>>
>> If you declare an array:
>>
>> $a=array(1,2,3,4,5,); <------no error, even though there is a COMMA
>> after "5"
>
>Yes it will, the last element will be NULL.

It produces a five-element array, not six.

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация