picqer / php-barcode-generator

Barcode generator in PHP that is easy to use, non-bloated and framework independent.
GNU Lesser General Public License v3.0
1.67k stars 402 forks source link

Automated native_function_invocation fixes #84

Closed draco2003 closed 4 years ago

draco2003 commented 4 years ago

Reproduce with: php php-cs-fixer --rules=native_function_invocation fix ./ --allow-risky=yes (php-cs-fixer from : https://cs.symfony.com/)

Details: https://veewee.github.io/blog/optimizing-php-performance-by-fq-function-calls/

casperbakker commented 4 years ago

Thanks @draco2003 for your efforts. But I don't think this uncommon way of using functions is worth a maximum of 10% performance increase. Because it is not the hardest part of this library, I think the performance gains would be far less then 10%.