Re: [Vbox4php-develop] Skinnig Support posted
Status: Pre-Alpha
Brought to you by:
philippmueller
|
From: Christophe T. <ch...@th...> - 2001-08-30 05:07:23
|
On 29 Aug 2001, at 23:45, Michael Renner wrote: > Parse error: parse error in cvboxlayout.inc.php3 on line 45 > Is there a special php4 syntax? Let me explain what this peace of code does: foreach ($this->objects as $obj => $objstr) $this->objects is a simple array in the form $objects["theObjectName"] = $theObjectValue; foreach puts every object and the corresponding value into two separate variables: every theObjectName (also named "key" in the php docu language) is put into $obj, every theObjectValue into $objstr. I don't know if this is a special php4 function as I never used php3 as deep as I use php4 now. > btw: why don't we chance the file extension from 'php3' to 'php'? this would be a good idea as some people use both php interpreter versions depending on the ext (php3 -> 3; php4,php,phps -> 4) greetings, chris -- christophe thil | ch...@th... | icq[10113170] |