Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101073 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96312 invoked from network); 7 Nov 2017 01:43:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Nov 2017 01:43:31 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.216.175 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.216.175 mail-qt0-f175.google.com Received: from [209.85.216.175] ([209.85.216.175:48057] helo=mail-qt0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 98/2D-09857-2CF010A5 for ; Mon, 06 Nov 2017 20:43:31 -0500 Received: by mail-qt0-f175.google.com with SMTP id z50so13462170qtj.4 for ; Mon, 06 Nov 2017 17:43:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=2oR9L6YCWiekYqRUg9HdfgehtlD9fPuhP6XYFnOS6rY=; b=HnYN9gGr5C4r/5wl0CwGd3OBpRoiuk3YEC6S+oKHRfmRy9+P61mAjleBfgpRnT36si KCGi8fEnTDYalY2SKoTJtzApb50fc+E4CSAyBI1BqsphpbbsstEZFQ3xQoNdpaevz93Y EtN6P7vZp56oam8lhk7K5OlYcE15Jg/PE9acSDJhj34v4ftrXUcBp9MsUi/L2ZXkLBxU rDuXhOr0Oe7HquErNODSkZBCW33wRq21MlGHFaDG1IhRrwVaAPw7CKqLHJZA8oYCCIsx ruXJsNoUSWI5M3XEYoviE4eoB/+sYulWtVWwuEnTrlePKkVTaXuEg1Ffrjll9GLyBX5N /dhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=2oR9L6YCWiekYqRUg9HdfgehtlD9fPuhP6XYFnOS6rY=; b=QPv0FAGfEYuFjujX1m54cBEgZ2TZQoxRPUNE8VCZQTkW+3ijx9t3WHiEkZzpl+jIUG kjcRs19WA0XClcgYmx0P2uM/8cnVBYXHizYCCCB4w6Uq2uc+8pwXdPZNwCnXzKbSGKEH 8JaXRYbEriHBuYLtfgILWmDeyZCSCip+n8hhtddGJSkYI4XjBJ5euGGMKssVi9YDLiZC THiniQXFxasDsa0RV1pPoSewLuwijsTARmLvroLabk6ecw34LhcxQiW+Ln0qF/3hvIRW +r28h3lfbZVJe5LX30cmss5KXn5NUzvp7Ve88STieNEWrsneo9bjCZb8Gq9c0QH00CUN prIg== X-Gm-Message-State: AMCzsaXDbI+1C1eHHb/nkfyiu90Y3onxJEb2+raNhuJhfEpMAQb+DAOK c8Ir8f8abscVEX+c5Hv/7D2nTlMtguyI/BkXVFUPBw== X-Google-Smtp-Source: ABhQp+Rh2VxbqeXFSg85c+hf1+e3y95o0ZKJHrYIylfBo1Ye9QUtkqkr8bUs18qpvQBNhFnmOelwHvdjivp7hkoS3Rs= X-Received: by 10.200.17.1 with SMTP id c1mr24123461qtj.252.1510019009205; Mon, 06 Nov 2017 17:43:29 -0800 (PST) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.12.156.1 with HTTP; Mon, 6 Nov 2017 17:43:28 -0800 (PST) X-Originating-IP: [206.252.215.26] In-Reply-To: <5e102e2e-5d5a-4eaa-822a-201671428fb1@gmx.de> References: <5e102e2e-5d5a-4eaa-822a-201671428fb1@gmx.de> Date: Mon, 6 Nov 2017 20:43:28 -0500 X-Google-Sender-Auth: Aadp0KDilOw7WweM2IDw-iJGIUc Message-ID: To: "Christoph M. Becker" Cc: Andreas Treichel , PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Re: Proposal: Rename image functions From: pollita@php.net (Sara Golemon) On Sat, Nov 4, 2017 at 5:25 PM, Christoph M. Becker wrote: > In my opinion, just renaming the functions doesn't make much sense. > Instead we might consider to introduce OO wrappers, which wouldn't > unnecessarily polute the global namespace, and also could lead to more > concise userland code. Kalle's gdobjects[1] might serve as a base. > 100,000% this. Step 1: Transition the GD resource type to an object handle. Step 2: Add methods to that object as aliases to the original functions. Step 3: Profit. -Sara