Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10176 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56581 invoked by uid 1010); 29 May 2004 21:47:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 56557 invoked from network); 29 May 2004 21:47:39 -0000 Received: from unknown (HELO hot.ee) (194.126.101.94) by pb1.pair.com with SMTP; 29 May 2004 21:47:39 -0000 Received: from localhost (relay6 [127.0.0.1]) by hot.ee (Postfix) with ESMTP id 10AE255F566 for ; Sun, 30 May 2004 00:47:39 +0300 (EEST) Received: from hot.ee ([127.0.0.1]) by localhost (relay6 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30832-09 for ; Sun, 30 May 2004 00:47:38 +0300 (EEST) Received: from portal.hot.ee (portal3.hot.ee [10.0.0.159]) by hot.ee (Postfix) with ESMTP id E81DB55F511 for ; Sun, 30 May 2004 00:47:38 +0300 (EEST) Received: by portal.hot.ee (Postfix, from userid 65534) id E13931C092; Sun, 30 May 2004 00:47:38 +0300 (EEST) To: internals@lists.php.net Errors-To: X-Mailer: Hot.ee webmail (http://portal.hot.ee) Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 Message-ID: <20040529214738.E13931C092@portal.hot.ee> Date: Sun, 30 May 2004 00:47:38 +0300 (EEST) X-Virus-Scanned: by mail.hot.ee Subject: question on function declarations From: ahtin@hot.ee (ahti) hello! i really don't know if this is the right place to post this kind of question, but it seems to be quite close. why can't i use C-like variable conversions in php's function declaration, eg. function myfunction($var1, (int)$var2, (bool)$var3=0) ? ----------------------------------------- ITV - Sinu lemmiksaated internetis! http://www.itv.ee