Warning: file_put_contents(): Only -1 of 52 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
runkit_function_rename runkit_lint_file runkit PHP Manual runkit_import (PECL runkit:0.7-0.9) — Process a file importing function and class definitions, overwriting where appropriate Description ...
Forum und email

runkit_import

(PECL runkit:0.7-0.9)

runkit_import — Process a PHP file importing function and class definitions, overwriting where appropriate

Description

bool runkit_import ( string $filename [, int $flags ] )

Similar to include() however any code residing outside of a function or class is simply ignored. Additionally, depending on the value of flags , any functions or classes which already exist in the currently running environment will be automatically overwritten by their new definitions.

Parameters

filename

Filename to import function and class definitions from

flags

Bitwise OR of the RUNKIT_IMPORT_* family of constants.

Return Values

Επιστρέφει TRUE σε επιτυχία ή FALSE σε αποτυχία.