Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49403 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95618 invoked from network); 12 Aug 2010 05:06:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2010 05:06:02 -0000 Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.83.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 74.125.83.170 mail-pv0-f170.google.com Received: from [74.125.83.170] ([74.125.83.170:55837] helo=mail-pv0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0D/D0-23169-931836C4 for ; Thu, 12 Aug 2010 01:06:01 -0400 Received: by pvg16 with SMTP id 16so389073pvg.29 for ; Wed, 11 Aug 2010 22:05:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=iIPlbuswHPIqSqv0EAAILo8hEAM7rysb5aznU0Ou6Vk=; b=nP2i56rFFRJBTlGIJglc2BuOo4nBuSWnW582Y+byWUJPWbCr294OOWKkLwXa2YW6Jv JGthOzYPf1CHGxnIxW41HSJ38Y+eOf+SQAuuKGSVlQP/1pnpo1iCzEhyqpgOBVmoAWnD EDMHxxXSfguVEsZ/NeOvaaPHpX1Lfd1UamkrQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bB+5vlAqMyUEzLHZdo5e9HzVkCjEi+oV/Gyqg4au1UQAZ6kkROjACyD4kK3WFn4xgi 6lahN0AnnZeYftdYOPbpmSdrhLSt5n1Q94ReUOcE/Q/DhzHiOl6ghUhPJfTWAbncxY47 XwOhPI12+d/gFQOZth9uu8AWLdmB+4PjRdLqo= MIME-Version: 1.0 Received: by 10.142.141.8 with SMTP id o8mr17012449wfd.298.1281589558768; Wed, 11 Aug 2010 22:05:58 -0700 (PDT) Received: by 10.142.43.8 with HTTP; Wed, 11 Aug 2010 22:05:58 -0700 (PDT) In-Reply-To: <4C6307E5.2040207@lsces.co.uk> References: <4C62EC4A.9020106@sugarcrm.com> <4C62FD01.7010306@lsces.co.uk> <7.0.1.0.2.20100811225933.0ef42d88@zend.com> <7.0.1.0.2.20100811231636.0ef42c40@zend.com> <4C6307E5.2040207@lsces.co.uk> Date: Thu, 12 Aug 2010 09:05:58 +0400 Message-ID: To: Lester Caine Cc: PHP Internals List Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] back to 5.4 alpha From: indeyets@gmail.com (Alexey Zakhlestin) On Thu, Aug 12, 2010 at 12:28 AM, Lester Caine wrote: > Zeev Suraski wrote: >> >> You're absolutely right, sorry about that! >> >> Zeev > > However if this is something controlled by php setup, it becomes another > 'register_global'. If my users have to have it off for my projects and on > for others ... complexity in managing instead :( Nothing is controlled by php setup. It is perfectly ok to not specify type-hints in your functions. both of these are fine: function a($var) {} function b(int $var) {} you just keep using syntax of "a" and everything works. you CAN specify typehint like in "b" but you don't have to. p.s. if something is still not clear, let's take this talk away from list -- Alexey Zakhlestin http://www.milkfarmsoft.com/