Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49948 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93090 invoked from network); 21 Oct 2010 08:12:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Oct 2010 08:12:20 -0000 Authentication-Results: pb1.pair.com header.from=mike503@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=mike503@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: mike503@gmail.com X-Host-Fingerprint: 209.85.216.42 mail-qw0-f42.google.com Received: from [209.85.216.42] ([209.85.216.42:56422] helo=mail-qw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2E/B3-03733-4E5FFBC4 for ; Thu, 21 Oct 2010 04:12:20 -0400 Received: by qwg5 with SMTP id 5so3292090qwg.29 for ; Thu, 21 Oct 2010 01:12:17 -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=JAMURYbSxGRTmw2iMVrTOq+MK57j1DWvHuJLefoLryg=; b=xAD1YL590CdQoh5ZuH5zLfG8p2KTSU9XPNP+j5WTSHKoZzpjJl5dOxIBSvWuCqxw4+ m54C0hHceTixh1nuNa/l63x3BPiZoFW1v5FYsL2uDU2s+hKjCGlz0SrBDAXeGNK13PkA sD1LKw462iXuuyVat/BKE+wKksOYNRmeFMLRs= 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=PEK+hYpWpCnpSjaA5BP4WegHgpHX0skrxlEtOyCU/QKd0+4woOpBuLqqIwOf5L9x4b IxajaVuaGB1qbScBWz9ySNKZoVy3lGNnR7d6mT67lHwUf7+k4vui6qI0y3/KllAZPu+m P3yiWHTWZOdv3iH7YLfupLxRlIGyyFdQW+NI4= MIME-Version: 1.0 Received: by 10.224.218.73 with SMTP id hp9mr491333qab.72.1287648737729; Thu, 21 Oct 2010 01:12:17 -0700 (PDT) Received: by 10.229.221.9 with HTTP; Thu, 21 Oct 2010 01:12:17 -0700 (PDT) In-Reply-To: References: <4CBFF13B.5060404@gmail.com> Date: Thu, 21 Oct 2010 01:12:17 -0700 Message-ID: To: Ferenc Kovacs Cc: "Ionut G. Stan" , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Skipping of defaulted parameters. From: mike503@gmail.com (Michael Shadle) On Thu, Oct 21, 2010 at 1:10 AM, Ferenc Kovacs wrote: > With #6, you would lose the argument hinting(either be native, or phpdoc) > feature for your method. you would, however a) it's already supported b) there's no language changes required c) do your own typecasting, sanity checking, bounds checking, etc. inside of the function i put an example in another email.