Re: Where did the _logo_ functions go?

From: Date: Sat, 17 Nov 2012 18:22:59 +0000
Subject: Re: Where did the _logo_ functions go?
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-63957@lists.php.net to get a copy of this message
On Sat, Nov 17, 2012 at 6:09 PM, Sherif Ramadan <theanomaly.is@gmail.com>wrote: > On Fri, Nov 16, 2012 at 5:07 PM, Nikita Popov <nikita.ppv@gmail.com> > wrote: > > Why would you need those data uris? > > For what reason would anyone need the GUIDs? To get the logo maybe? I > don't know. > > > I mean, if you want to embed a PHP logo, > > then just embed that logo. If you want to put an image on a website, you > > would usually also just include that .png, rather than creating a data > URI > > from it and embedding that. > > > > I don't see a reason to expose those uris. > > > > I didn't see a reason to expose the GUIDs either, but hey I'm just > stating the obvious here. > > PHP had a way to get the logo exposed to userspace. It seems like we > just make up these reasons as we go along. When they were GUIDs they > were OK when they became data URIs, obviously (and for reasons that > appear to be obvious only to those who make these decisions) they > weren't. > The GUID functions were added decades ago, but now we're talking about ... now. Things changed. PHP isn't in the just-add-a-function-for-everything mode anymore. Unless displaying a PHP logo is a common thing to do there is no reason to add a function for it.

« previous php.internals (#63957) next »