|
update : 2015.11.03
php.shukuma.com검색:
|
parsekit_compile_file(PECL parsekit >= 0.2.0) parsekit_compile_file — Compile a PHP file and return the resulting op array 설명
array parsekit_compile_file
( string
$filename
[, array &$errors
[, int $options = PARSEKIT_QUIET
]] )Warning
이 함수는 실험적입니다. 이 함수의 작동, 함수의 이름, 그리고 관련된 모든 문서는 이후의 PHP 릴리즈에서 예고 없이 변경할 수 있습니다. 이 함수의 사용에 관한 것은 사용자 책임입니다. 인수
반환값Returns a complex multi-layer array structure as detailed below. 예제
Example #1 parsekit_compile_file() example
<?php위 예제의 출력:
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
}
|