Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88732 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11613 invoked from network); 10 Oct 2015 00:23:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Oct 2015 00:23:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=kris@nivenly.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kris@nivenly.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain nivenly.com designates 209.85.212.171 as permitted sender) X-PHP-List-Original-Sender: kris@nivenly.com X-Host-Fingerprint: 209.85.212.171 mail-wi0-f171.google.com Received: from [209.85.212.171] ([209.85.212.171:38758] helo=mail-wi0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/79-57614-87A58165 for ; Fri, 09 Oct 2015 20:23:20 -0400 Received: by wiclk2 with SMTP id lk2so86386978wic.1 for ; Fri, 09 Oct 2015 17:23:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=M+8eZJZ+yJORkJawm2vKcK5XqRYq16tf2UigaYC6Wlk=; b=HIUEUOd7Via8A0wIsQ5CiVWom+Q/5ca4of07ExTOBzeuCWgJWXubG6bLO1zfgzKhT+ aZTlPdHVYYS8PlxoyBTGvOWga2vVVNuTbOKU+qU4YaKYYlcxhH/XhStQPGjel/Bsr8HV dMnOVYHLnBok+x20hhsSh5+TSfBQJY7N7lImEzObST+3F/xgHuUNNg3XRd3TnFoGHnsI ThdfKOV8Ri8NYSU0T8r0zxjyDq1tO2nHGDYq+USBDPF7BPp7VyCctPNXGK5I3FvYdG/u VseukQ0fySlK8R8HvBXTKFAd8L9jsbVvQAoIrVqhj8DL5JMPCmKj/v33oP2CDTW5nB4F 7V9g== X-Gm-Message-State: ALoCoQkQqojsQ83rICSi4jphZAfYYlP86OdlM0zATs55P3W/GiPt2MypyJTp9nDBuPvkRtg9W7Rr MIME-Version: 1.0 X-Received: by 10.194.178.196 with SMTP id da4mr20246203wjc.41.1444436597115; Fri, 09 Oct 2015 17:23:17 -0700 (PDT) Received: by 10.28.97.70 with HTTP; Fri, 9 Oct 2015 17:23:17 -0700 (PDT) X-Originating-IP: [174.16.244.172] In-Reply-To: References: Date: Fri, 9 Oct 2015 18:23:17 -0600 Message-ID: To: Mattias Gonzalez Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=089e013d18ca45a8290521b51a5b Subject: Re: [PHP-DEV] New function proposal From: kris@nivenly.com (Kris Childress) --089e013d18ca45a8290521b51a5b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mattias, As an avid user of var_dump($something); die(); I think this is a *fabulous= * idea! Laravel has a good idea with dd(), I would like to see something that is quick and easy to type, that we can throw anything at.. Maybe something similar (basic example) to the following : function dd($anything) { var_dump(func_get_args()); die(1); } Or something along those lines.. What does the gang think? On Thu, Oct 8, 2015 at 9:05 AM, Mattias Gonzalez wrote: > I wanted to propose the "var_die($var)" functionallity. > My mates and i use a lot var_dump($var);die; > > Since die() wont print an array just a string, i think it=C2=B4ll be very > useful. > > It should do the var_dump($var);and die(); > > what do you think? > --=20 Kris Childress --089e013d18ca45a8290521b51a5b--