parsekit_compile_fileCompile a PHP file and return the resulting op array Beschreibung
array parsekit_compile_file
( string
$filename
[, array &$errors
[, int $options = PARSEKIT_QUIET
]] )Warnung
Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko. Parameter-Liste
RückgabewerteReturns a complex multi-layer array structure as detailed below. Beispiele
Beispiel #1 parsekit_compile_file example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
array(5) {
[0]=>
string(37) "ZEND_ECHO UNUSED 'Hello World' UNUSED"
[1]=>
string(30) "ZEND_RETURN UNUSED NULL UNUSED"
[2]=>
string(42) "ZEND_HANDLE_EXCEPTION UNUSED UNUSED UNUSED"
["function_table"]=>
NULL
["class_table"]=>
NULL
}
Siehe auch
|