<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/bcompiler.xml, last change in rev 1.5 -->
  <refentry id="function.bcompiler-read">
   <refnamediv>
    <refname>bcompiler_read</refname>
    <refpurpose>Reads and creates classes from a filehandle</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>bool</type><methodname>bcompiler_read</methodname>
      <methodparam><type>resource</type><parameter>filehandle</parameter></methodparam>
     </methodsynopsis>
   &warn.experimental.func;
   <note>
    <para>
     Please use include or require statements to parse
     bytecodes, it's more portable and convenient way than using this function.
    </para>
   </note>
    <para>
     Reads data from a open file handle and creates classes from the bytecodes.
     Please note that this function won't execute script body code contained in the bytecode file.
    </para>
    <example>
     <title><function>bcompiler_read</function> example</title>
     <programlisting role="php">
<![CDATA[
<?php
$fh = fopen("/tmp/example","r");
bcompiler_read($fh);
fclose($fh);
print_r(get_defined_classes());

?>
]]>
     </programlisting>
    </example>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->