Registry / build-tool / leofeyer-optimize-native-functions-fixer

leofeyer-optimize-native-functions-fixer

JSON →
library1.1.1phppackagistunverified

Prefixes native PHP functions which can be replaced with opcodes by the OPcache.

composer require leofeyer/optimize-native-functions-fixer
INSTALL
IMPORT
SIG · LEOFEYER-OPTIMIZE-
L
leofeyer-optimize-native-functions-fixer
build-toolphpv1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Fixer
use Leofeyer\OptimizeNativeFunctionsFixer\Fixer;

Optimize a PHP file by prefixing native functions

use Leofeyer\OptimizeNativeFunctionsFixer\Fixer; $fixer = new Fixer(); $fixer->fixFile('/path/to/file.php');
Debug
Known issues
gotchaOnly works with OPcache enabled
fix
Enable OPcache in php.ini (opcache.enable=1)
affects: >=1.0.0
Upgrade
Version history
1.1.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
10
OpenAI (training)
1
Resources
leofeyer-optimize-native-functions-fixer — pip install leofeyer-optimize-native-functions-fixer · libregistry