bcompiler_write_constant

bcompiler_write_constant -- Writes a defined constant as bytecodes

Description

bcompiler_write_constant (resource filehandle, string constantName)

Warning

This function is EXPERIMENTAL. That means, that the behaviour of this function, the function name, in concreto ANYTHING documented here can change in a future release of this package WITHOUT NOTICE. Be warned, and use this function at your own risk.

This function reads the bytecodes from PHP for an existing constant, and writes them to the open file handle.

See also: bcompiler_write_header(), bcompiler_write_footer().