PHP Dokumentation: Function bcompiler-load
12. Januar 2010 von werner
bcompiler_load
(PECL bcompiler >= 0.4)
bcompiler_load — Reads and creates classes from a bz compressed file
Beschreibung
Reads data from a bzcompressed file and creates classes from the bytecodes.
Parameter-Liste
- filename
The bzcompressed file path, as a string.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
Beispiele
Beispiel #1 bcompiler_load() example
<?phpbcompiler_load
("/tmp/example");print_r(get_defined_classes());?>Anmerkungen
Diese Funktion istEXPERIMENTELL. Das Verhalten, der Funktionsname und allesAndere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohneAnkündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion aufeigenes Risiko.
Hinweis: Please use include or require statements to parse bytecodes, it's more portable and convenient way than using this function.
Please note that this function won't execute script body code contained in the bytecode file.
Siehe auch
- bcompiler_load_exe() – Reads and creates classes from a bcompiler exe file