Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75240 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81534 invoked from network); 3 Jul 2014 22:47:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jul 2014 22:47:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.52 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 209.85.219.52 mail-oa0-f52.google.com Received: from [209.85.219.52] ([209.85.219.52:56972] helo=mail-oa0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C0/54-49322-E6DD5B35 for ; Thu, 03 Jul 2014 18:47:10 -0400 Received: by mail-oa0-f52.google.com with SMTP id j17so961667oag.25 for ; Thu, 03 Jul 2014 15:47:07 -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=QLjRp2dsA7YiLWRc5KIJqoc5a+h7I5n8KzTHBQ7rj5Q=; b=eRxM03DyzNQNy0gIWsvVxfpsT+5q3HCt8nwdgU+yz9HOyDK2J0/pDAZEJwDUCmhWoL Hokyd4QeRKnl4ReAUnqJNc0OFFNiQP+BKv0YOyptSlqhgntUzmFuGL0Zwqk9uHJL2l9Z E82m8OjDagHquFHGf1IMsgQnmcc8UyTx4jqaa2zwULfDyTsNZZVpogXH5CfLKVg3dapb X83ExfHYbNFPNlTx8koAHC3IC/bPeEXQL13ahQ8tWf3+eJITHV//RtbhTsbinor0hUQw R5FUeoMkN2DjwP9lrzRFZd8PD/RVdg01b1ftSxrx7g1Cxd+PUYvpnEN9VDGzL1Om22h5 ipIQ== MIME-Version: 1.0 X-Received: by 10.182.66.79 with SMTP id d15mr8150003obt.49.1404427627470; Thu, 03 Jul 2014 15:47:07 -0700 (PDT) Received: by 10.202.15.72 with HTTP; Thu, 3 Jul 2014 15:47:07 -0700 (PDT) In-Reply-To: References: Date: Thu, 3 Jul 2014 15:47:07 -0700 Message-ID: To: Andrey Andreev Cc: Xen , Pierre Joye , PHP internals Content-Type: multipart/alternative; boundary=e89a8fb1fca4d925ba04fd51c9a7 Subject: Re: [PHP-DEV] not_null function From: kris.craig@gmail.com (Kris Craig) --e89a8fb1fca4d925ba04fd51c9a7 Content-Type: text/plain; charset=UTF-8 > > $var !== null > ! is_null($var) Is there any *practical* difference between these two? I mean, aside from performance? I still don't get why we need is_null() at all if the exact same thing can be accomplished-- but with better performance-- with === NULL. --Kris --e89a8fb1fca4d925ba04fd51c9a7--