Re: Where did the _logo_ functions go?
| From: | Kalle Sommer Nielsen | Date: | Sat, 17 Nov 2012 12:01:25 +0000 |
| Subject: | Re: Where did the _logo_ functions go? | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-63945@lists.php.net to get a copy of this message | ||
Hi Nikita
2012/11/16 Nikita Popov <nikita.ppv@gmail.com>:
> I don't see a reason to expose those uris.
We all seem in the PHP project to talk about the inconsistency of the
language, and the like, re-implementing a "feature", or well an
ability, what I proposed and I even think I committed a change until
it was shut down was to convert the *_logo_guid() functions into
constants, since it returns a constant/static value, I don't think it
would hurt to do the same here for the data:uri's.
But I honestly don't think it makes much sense to re-add them as
functions, while I do think it makes sense to expose the data, because
why not if its useful to some users like the *_logo_guid() functions
did/does.
--
regards,
Kalle Sommer Nielsen
kalle@php.net