Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127700 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 38EE91A00BC for ; Tue, 17 Jun 2025 21:34:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1750195921; bh=tIWWp3trWsZL6KYTxHkBtmMtptxqc4v9DwQFhHNimh4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=bpEBm+Iu1Y5cEdHrxvRswB7L4IP5I/+Mm7SHzdWuiHw00yPai9TeJc8ZPAb2RTRWg JffKgyFSSgmsN7+uXf6g9XzEQ0qLIpHdsPU5fhW2mRstJj7nmEHuqSUTAkS6i78YE/ kEI/CDabs19/lpW9YC4w+rATiABedP+eJ+oy9hzcjBhqKyE9APt+4xTo6vJ2ITV3B4 L1MfL9kpoxIcvlj/DEE7Tb4BNSZhwx9qfFv11oB9L9VYnZwJVk/68LCx3PvvYpHPlT fywtgbokqrCRhJYMq6QkFjkHa7rIop9GB8iLzQhyLCVpeDAbozSHmiHrIpHypSng8g g8rj2Pv2TFVwA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C33DC180041 for ; Tue, 17 Jun 2025 21:32:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 17 Jun 2025 21:32:00 +0000 (UTC) Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-3292aad800aso1436831fa.0 for ; Tue, 17 Jun 2025 14:33:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750196037; x=1750800837; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tIWWp3trWsZL6KYTxHkBtmMtptxqc4v9DwQFhHNimh4=; b=NiK8vce0N9LN/TCWfUS7oWB+PL4gfqrdOg1VQ35bSI1SWs1rLXd/olHsmVINp+LPy8 9R9duVMaQ2DOInS9VSpR4hzGZqhJMQ7j327Z+ZI+73LVDQjE7r6ZGO6OE1iosJ+Hjg7e V3euFZ5oUNheiN7iuq9PfEsznqtFZqJOC6xr/+hviX27phOCUr0FMb84pgOaAEyD/Wew 9CPN1FZG8rhblsj8g/xVmglkEb5oNKVIWr4466d5pcUY5K2QoNx2TMMO7CDC3f7U8Jlb 1HjzvI24Th8yZULs1Ym6daSpMgh1jh+51IkTg/pk3/1pXZF0I+mT3PWBFgFASU+sk11n MRQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750196037; x=1750800837; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tIWWp3trWsZL6KYTxHkBtmMtptxqc4v9DwQFhHNimh4=; b=iS4BPgMYP3vJ4HSzC0rWX+t4T4SbR8cv9IOrq5WlUaLWNBvIyoTyEgx+45mYx/cLZn Z7vZf+ixASwwQ2wRgRol2BYvbSuDR1/goV6MVT2cM0BYMx4GipL8MehyiPKbpNY40HmZ dPbln4L9bXlz/bRd/MktniAk9XWfCwRaZ/oWwxMxSaCJtPJiEiFPBKnWjXjuQouLjI3v Ixi3D4cfM7ovHYt/TlvBh4RqO2DEe8TeFH2C/0PlopMaXPyc7KzvWvUNPpmSfkmn613K eTKr6H2xu36vUe5kbgj1qTexSm54ZuvcqKthrTMCUifudSDCi33nQlXgEE6tYsdHRyIn ltUA== X-Gm-Message-State: AOJu0YxSXZ4HbmVCWig1wY362QxCeMT/VGiH5XK86IJ8JqbdR5b4VcAj z//SFznUVQ5rtSwb8mQGTllFBqNhGg+8EcVisA8e3hadg7ghmVG2AE/0TkbRLIgkrMv/MNG/dk5 CXdz6FQCN+4FGYPaa/Hu5NAdB2SHQoqc= X-Gm-Gg: ASbGnctICvtPLuACdadacq60hNF+4PjOEw6bxGuHYXupKpfCoTXOUo9nEANzMuNwYuD B4yn0OoBs9hdsynOP8lFvrOkSTkphSu3H3VpKRmyXgBvA2OtSH7EBQA+kHhyk2PgTbR6REtIdut Rrz9XDe64zHpWGfYC/4JX8QFcJOaXMLechaj+OGd3SM7KgqA+67DLP5w== X-Google-Smtp-Source: AGHT+IGKXPalbDuL3fzO3ULH76cto2h8iSVcY80yALjgYCCBXpqprp2UTu741CzL5nLuF2RVqOgRyaLW8KMtopOgR90= X-Received: by 2002:a05:651c:400b:b0:32a:e7cd:70b7 with SMTP id 38308e7fff4ca-32b7cf06444mr195521fa.8.1750196036955; Tue, 17 Jun 2025 14:33:56 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 17 Jun 2025 23:33:45 +0200 X-Gm-Features: AX0GCFtnZjWodduCo5dhg2Vj25nsewhR-sfgTbkC45Tk0WkY-Bex_hJ-N9XvZlo Message-ID: Subject: Re: [PHP-DEV] Pre-RFC: dd() and dump() functions for PHP core To: Braunson Yager Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000011f3fd0637cb4541" From: tekiela246@gmail.com (Kamil Tekiela) --00000000000011f3fd0637cb4541 Content-Type: text/plain; charset="UTF-8" While I understand that dd is a valid way of debugging PHP code, I don't think we should encourage this. Users should be encouraged to learn how to use proper debugger like XDebug. Plus PHP has plenty of dumping functions already and I see no need for yet another one. --00000000000011f3fd0637cb4541 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
While I understand that dd is a valid way of debugging PH= P code, I don't think we should encourage this. Users should be encoura= ged to learn how to use proper debugger like XDebug. Plus PHP has plenty of= dumping functions already and I see no need for yet another one.=C2=A0 --00000000000011f3fd0637cb4541--