note 48724 added to function.bcompiler-write-file
| From: | dscharrer at gmail dot com | Date: | Wed, 05 Jan 2005 13:12:25 +0000 |
| Subject: | note 48724 added to function.bcompiler-write-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-82781@lists.php.net to get a copy of this message | ||
The above example should be
<?php
$fh = fopen("example.phb", "w");
bcompiler_write_header($fh);
bcompiler_write_file($fh, "example.php");
bcompiler_write_footer($fh);
fclose($fh);
/* the following should be equivalent:
include "example.php";
and
include "example.phb";
*/
?>
Note "bcompiler_" instead of "bcompile_"
----
Manual Page -- http://www.php.net/manual/en/function.bcompiler-write-file.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48724
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48724&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48724&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48724&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48724&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48724&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48724&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48724&report=yes
Search -- http://master.php.net/manage/user-notes.php