Adding leading backslashes to PHP function calls can significantly improve performance through OPcache optimizations. In the paragonie/constant_time_encoding library, prefixing `extension_loaded()` and `sodium_bin2hex()` with backslashes enabled compile-time evaluation and dead code elimination, resulting in an 18× speedup over

2 Comments

Sort: