parsekit_compile_file
Compilar un fichero de PHP y devolver el array op resultante
&reftitle.description;
arrayparsekit_compile_file
stringfilename
arrayerrors
intoptionsPARSEKIT_QUIET
&warn.experimental.func;
&reftitle.parameters;
filename
Una cadena que contiene el nombre del fichero a compilar.
Similar al argumento pasado a include.
errors
Un hash 2D de errores (incluyendo errores fatales) encontrados durante la compilación.
Devuelto por referencia.
options
O PARSEKIT_QUIET o
PARSEKIT_SIMPLE. Para producir varios
grados de verbosidad en la salida devuelta.
&reftitle.returnvalues;
Devuelve una estructura de array multicapa compleja como está detallado abajo.
&reftitle.examples;
Ejemplo de parsekit_compile_file
]]>
&example.outputs;
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
}
]]>
&reftitle.seealso;
parsekit_compile_string