On Sat, Nov 4, 2017 at 5:25 PM, Christoph M. Becker <cmbecke...@gmx.de> 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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to