bcompiler_write_footer
(PECL bcompiler:0.4-0.8)
bcompiler_write_footer — Writes the single character \x00 to indicate End of compiled data
Description
bool bcompiler_write_footer
( resource $filehandle
)
Writes the single character \x00 to indicate End of compiled data.
Return Values
Returnerar TRUE vid framgång eller FALSE vid fel.
Exempel
Example#1 bcompiler_write_footer() example
<?php
$fh = fopen("/tmp/example","w");
bcompiler_write_header($fh);
bcompiler_write_class($fh,"DB");
bcompiler_write_class($fh,"DB_common");
bcompiler_write_footer($fh);
fclose($fh);
?>
Notes
Warning
Den här funktionen är EXPERIMENTELL. Dess beteende, namnet på den, och allt annat dokumenterat om den här funktionen kan ändras i framtida utgåvar av PHP. Använd den på egen risk.