Zum Inhalt der Seite gehen


I have an RFC in preparation for a year now to add a function to PHP but because of lack of time and my small knowledge of internals I have not yet finished it. Most is done, the text, the stub and testing files, a polyfill for older PHP version and I have a partial implementation. If someone with better knowledge of PHP could step in and help me finish the implementation that would be great #PHP #RFC #help just ping me and we can discuss it
#help #php #rfc
Als Antwort auf ignace nyamagana butera

Whats the rfc? It's worth discussing on the list before you go further to see if there is even interest.
Als Antwort auf Larry Garfield

@Crell I was told it was better for small function to first have an implementation. gist.github.com/nyamsprod/8a5c… for the text if you are interested
Als Antwort auf ignace nyamagana butera

Interesting.

1. Do not return false for parse issues. That's an instant no vote. Return null or throw.

2. Mention performance?

3. The only BC issue is if someone has defined those functions in the global namespace, which is reserved for Internals use. So it's even less of a concern.

Als Antwort auf Larry Garfield

@Crell hence why I need someone with more experience to help me get it right but I believe most of the proposal seems reasonable to me
Als Antwort auf ignace nyamagana butera

overall I'd agree. I'm no help on the implementation, but I'm happy to consult on design and the rfc itself.
Als Antwort auf ignace nyamagana butera

@Crell There are actually composer packages that do this encoding. One example is: github.com/ChristianRiesen/bas…

Maybe it fits your requirements, maybe not. In either case, having a working implementation is the first step, but not the only. I think you should aim for a library or a public implementation first. Does seem easy to have an RFC approved...

Als Antwort auf Sico Axial

@Sicoaxial Yes, he's specifically trying to replace the user-space libraries with ones in C.

Diese Webseite verwendet Cookies. Durch die weitere Benutzung der Webseite stimmst du dieser Verwendung zu. https://inne.city/tos