PHP » GoLang |
login |
register |
about
|
GoLang header_register_callback
request it (285)
GoLang replacement for PHP's header_register_callback
[edit | history]
header_register_callback(PHP 5 >= 5.4.0, PHP 7) header_register_callback — Call a header function DescriptionRegisters a function that will be called when PHP starts sending output.
The Parameters
Return Values
Returns ExamplesExample #1 header_register_callback() example
<?php The above example will output something similar to: Content-Type: text/plain a Notesheader_register_callback() is executed just as the headers are about to be sent out, so any output from this function can break output.
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|