XenForo
Administrative
- Thread starter
- Admin
- #1
php supports converting a number of functions from function calls into specific bytecode as a fast-pass. This however requires the function be pulled from the global namespace, and in XF virtually call code is called from non-global namespace, which defeats this optimization.
A simple way would be to include something like this after the namespace declaration, in each file;
PHP:
Read more
ادامه مطلب...
A simple way would be to include something like this after the namespace declaration, in each file;
PHP:
use function strlen, is_null, is_bool, is_long, is_int, is_integer, is_float, is_double, is_string, is_array...
Read more
ادامه مطلب...