Skip to content
#externals

Search

68 results · page 3 of 4

  1. Rob Landers ·

    PHP does not have internal/private functions. Very often I use functions for really simple things like array_flatten (and register them via composer.json.autoload.files). But when the function requires decomposition to smaller ones, I switch to …

  2. Tom Boutell ·

    … by the catch { } block attached to the same try { }, then my refactoring still behaves exactly like 'finally'. I am not convinced the function is unnecessary, either. Decomposition is usually a good idea (: substitute for a native language construct try { $

  3. sepehrphpr@gmail.com ·

    Hi mickmackusa and everyone, Thank you for your time and the detailed feedback on the "array_search_range" RFC. Given the valid concerns and the strong opposition raised during the discussion, I have decided to officially withdraw this RFC. I …

  4. francois@php.net ·

    … invitation for contrary opinions, to avoid accusations that it was slipped in the back door. If there really is no opposition, the RFC will record that the vote was unanimous, and be a point of reference to anyone looking for …

  5. Stas Malyshev ·

    Hi! I don't have concrete idea right now. If there is cleaver way that avoids disadvantages, I would like to see such feature by default since almost all PHP competitors have this. We are not in competition with other …

  6. RFC Discussion array_match

    sepehrphpr@gmail.com ·

    … محمودی‬‎ sepehrphpr@gmail.com:‬ Hi everyone, As some of you may know, my previous RFC (array_search_range) faced significant opposition and feedback. I have listened to the community and officially withdrawn it. Thank you to everyone who took the …

  7. Rowan Tommins ·

    … as helpers, I suggest adding support for the expects keyword to indicate that the trait is part of the code decomposition taking into account ISP. Hi Kirill, I'm a little confused what problem this is trying to solve - in …

  8. michal.brzuchalski@gmail.com ·

    Hi Levi, śr., 8 lip 2020 o 22:25 Levi Morrison levi.morrison@datadoghq.com napisał(a): Any opposition for a parameter to limit stack depth? It's something I'd like on the old API too. I've updated …

  9. Yasuo Ohgaki ·

    … opposed based on false FUD. i.e. RPNG device access causes access error which is nothing to do with internal function. Another example is session ID validation. It is mandatory to keep session as secure as possible, yet there are …

  10. francois@tekwire.net ·

    … for two reasons: Opposition to doing it the other way Hack already doing it this way I don’t think function void foo(); will happen, since that’s been previously rejected as it breaks gripping for “function foo”. Similarly, I …

  11. Sebastian Krebs ·

    … AFTER a global function lookup. In this case, we must accept that namespaced functions named the same as a global function may be incorrectly ignored in some cases. This only affects the situation, where a function is in the same …

  12. francois.laupretre@francetv.fr ·

    … function fallback issue: in theory, we should call the autoloader before looking into the global namespace, but, in practice, most function calls reference PHP internal functions, and the performance hit would be too big. Forcing people to prepend a '' to …

  13. Sebastian Bergmann ·

    … add configuration directives to disable namespaces, classes, functions, and every syntax features that facilitates the separation of concerns and the decomposition of software. Of course we also need to add a function that allows developers to check which syntax features …

  14. Gareth Ardron ·

    … good indication of users as a whole, here - however, it still seems more of a documentation issue than a broken function issue to me. To break BC seems overkill for a function which is so useful to many of us …

  15. Andi Gutmans ·

    BTW take a look at zenderror(). This function is called when there's a parse error. It leads to an E_PARSE error and setting EG(exit_status) to 255. If there is a problem, and I haven't quite …

  16. Jeremy S. Johnstone ·

    I am running into a strange problem which goes in direct opposition to what is said in the documentation. I need to know what is the correct behaviour before I update the documentation. Problem is this: With the function xml …

  17. Andi Gutmans ·

    … mentioned beforehand, speed is really a secondary factor, although it does exist, and the concept of code references (passing around function pointers as opposed to function names) would make php faster anywhere callbacks are used. But its also a cleanliness …

  18. Benas IML ·

    … going to these nonsensical conclusions. PHP is a fully fledged language, not a "let's write the shortest code possible" competition. As for the nested attributes, you can implement those with simple recursion. You are trying to create problems here …

  19. Niklas Keller ·

    … 2:38 AM, "Charles R. Portwood II" < charlesportwoodii@erianna.com> wrote: Hello Internals, I'd like to improve the password_* functions by adding support for Argon2[1], the winner of the Password Hasing Competition[2]. I've previously implemented an …

  20. Stanislav Malyshev ·

    … Poly1305 AES-256-GCM (but only with modern hardware) ChaCha20-Poly1305 (IETF version with a bigger nonce) These are distinct functions in the C API to discourage "Hey, I'll add another algorithm and users can access it by changing …