PHP: bcompiler_write_functions_from_file - Manual in Deutsh
PHP: bcompiler_write_functions_from_file - Manual in French
PHP: bcompiler_write_functions_from_file - Manual in Polish

You Are At PHP: bcompiler_write_functions_from_file - Manual Area


recent searches:
include functions , variable functions , post functions...




If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.

PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.

PHP Manual
PrevNext

bcompiler_write_functions_from_file

(PECL)

bcompiler_write_functions_from_file -- Writes all functions defined in a file as bytecodes

Description

bool bcompiler_write_functions_from_file ( resource filehandle, string fileName )

Searches for all functions declared in the given file, and writes their correspondent bytecodes to the open file handle.

Parameters

filehandle

A file handle as returned by fopen().

fileName

The file to be compiled. You must always include or require the file you intend to compile.

Return Values

Returns TRUE on success or FALSE on failure.

Examples

Example 1. bcompiler_write_functions_from_file() example

<?php
require('module.php');

$fh = fopen("/tmp/example","w");
bcompiler_write_header($fh);
bcompiler_write_functions_from_file($fh,'module.php');
bcompiler_write_footer($fh);
fclose($fh);

?>

Notes

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

See Also

bcompiler_write_header()
bcompiler_write_footer()

hurtownia odzieży, zmywacz do paznokci
Pozycjonowanie Cypr ubezpieczenia na zycie telewizja przemysłowa warszawa Meble biurowe

Another Useful functions:


ref.bcompiler | function.bcompiler-write-included-filename | function.bcompiler-write-header | function.bcompiler-write-functions-from-file | function.bcompiler-write-function | function.bcompiler-write-footer | function.bcompiler-write-file | function.bcompiler-write-exe-footer | function.bcompiler-write-constant | function.bcompiler-write-class | function.bcompiler-read | function.bcompiler-parse-class | function.bcompiler-load | function.bcompiler-load-exe |


PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.