Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60135 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45118 invoked from network); 17 Apr 2012 23:39:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Apr 2012 23:39:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:46113] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B2/3C-21594-92FFD8F4 for ; Tue, 17 Apr 2012 19:39:21 -0400 Received: by yenl5 with SMTP id l5so3871552yen.29 for ; Tue, 17 Apr 2012 16:39:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=MBSFyiij3vn3mt8C3zZh/7mY6A+PMZc65vadoIG/11c=; b=YP465fxjSvVKRkuhZKsHARPtu4fW5ILGUpSppgLSadcj4wXEPCPNlVYjiCNabGlt+X C2D6ngSZ0UHLcnkb6RyZtvHfrwIoTAQZH9Kp03hbaFxTNxgsm1Uwdbtp6Yhj8xGfhTgh gv/Wk8l82YgFtngPMOhuHCWDShgZBc1Q+naPYk7N2jMuTgoJvM9+LeBgb/WF+6+z6zP5 BQ9AAAb3/whlLmCUSCtM/7Ag92DGFoYXK04rtFxK4GE/ALQReoLgvT1yBT+Imyr4m2I5 ryEP8EapwSljy4bwOeWIurpCDn2O/zWSEEa62bQW3Qp4s6nyJAxHSa8OxLP4OwzeLtVt ISww== Received: by 10.236.170.197 with SMTP id p45mr80552yhl.86.1334705959321; Tue, 17 Apr 2012 16:39:19 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.146.86.14 with HTTP; Tue, 17 Apr 2012 16:38:39 -0700 (PDT) In-Reply-To: References: <4F8DF4B1.2040307@sugarcrm.com> <4F8DFC34.80000@sugarcrm.com> Date: Wed, 18 Apr 2012 08:38:39 +0900 X-Google-Sender-Auth: n-5ugyhAqfZYTtvBldzeGm5KijY Message-ID: To: Stas Malyshev Cc: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] skipping optional parameters From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi, It's undefined, so it does not have to keep track state ;) But it may require a lot of changes, so I don't matter much. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net 2012/4/18 Yasuo Ohgaki : > Hi, > > 2012/4/18 Stas Malyshev : >> Hi! >> >>> Introducing "undefined" might be good. >>> Intention becomes clearer and we may do >>> >>> if ($var =3D=3D=3D undefined) { >>> =A0 echo '$var is undefined'; >>> } >> >> What is undefined and how $var gets assigned it? > > I'm thinking undefined like JavaScript. > > AFAIK, engine does not have undefined state. > It may be too many changes required. > > Just skipping would work and I'm not against it. > > Regards, > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net