Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68212 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42571 invoked from network); 19 Jul 2013 17:23:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jul 2013 17:23:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=arraypad@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=arraypad@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.52 as permitted sender) X-PHP-List-Original-Sender: arraypad@gmail.com X-Host-Fingerprint: 209.85.215.52 mail-la0-f52.google.com Received: from [209.85.215.52] ([209.85.215.52:52672] helo=mail-la0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/7C-13120-9F579E15 for ; Fri, 19 Jul 2013 13:23:05 -0400 Received: by mail-la0-f52.google.com with SMTP id fo12so3639376lab.39 for ; Fri, 19 Jul 2013 10:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZUoJ/IZCPR4pJ2P4rl4r53MNhLSmc9pste3BBTxUtuQ=; b=Y6a918sza51UoYzLpXr2Eq6INwOUL0RJ09Cfg0KtsKr9SblmgqH1kJxGUtD0UoCz+D SRxvY7IGLNRBOBs4/ONqCdkIwpi/RrnDjplzZ+EFQoUcwy5i/BC2u7tNHzo8FG5iCsXD 5KZ4Vq7m9PYZl4qZ0IY4IB6Syv+xFDkza8fU8rv/H5Gs/jEk5da1sUZarNNdhSWnyVNt oda9aIoYT0mllsL4SpJuGJmDDEMlvEpqnS74xuxAVYnx7bDW/klfHpCm7X0o3AdRa73j ITZYHNMkWVsuEtalprOYCHzvF2ZSX/jdSZQDsN/wodpp2IgwcfsW4NXBN69BEPwEYa9F RCuA== MIME-Version: 1.0 X-Received: by 10.112.205.163 with SMTP id lh3mr7846408lbc.45.1374254582417; Fri, 19 Jul 2013 10:23:02 -0700 (PDT) Received: by 10.112.18.200 with HTTP; Fri, 19 Jul 2013 10:23:02 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Jul 2013 18:23:02 +0100 Message-ID: To: Daniel Lowrey Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11c3159837508904e1e0944d Subject: Re: [PHP-DEV] Language constructs and callability From: arraypad@gmail.com (Arpad Ray) --001a11c3159837508904e1e0944d Content-Type: text/plain; charset=ISO-8859-1 On Fri, Jul 19, 2013 at 5:36 PM, Daniel Lowrey wrote: > How deeply ingrained into the engine is this behavior? Is there any chance > of language constructs ever passing the tests for callability or is that > just a pipe dream that's not worth the implementation effort? > It's actually pretty trivial to provide functions for echo and print (just did a 5 minute POC), but I'm not convinced it's very useful. I don't think isset would be possible other than making it equivalent to an is_not_null. If the aim is some sort of consistency, what would you do with constructs like define() or include()? Arpad --001a11c3159837508904e1e0944d--