1.2.1458. __halt_compiler

__halt_compiler() usage.

<?php

// open this file
$fp = fopen(__FILE__, 'r');

// seek file pointer to data
fseek($fp, __COMPILER_HALT_OFFSET__);

// and output it
var_dump(stream_get_contents($fp));

// the end of the script execution
__halt_compiler(); the installation data (eg. tar, gz, PHP, etc.)

?>

See also __halt_compiler.

1.2.1458.1. Specs

Short name

Php/Haltcompiler

Rulesets

All, Appinfo, CE

Exakat since

0.8.4

PHP Version

All

Severity

Time To Fix

Precision

Very high

Features

halt-compiler

Available in

Entreprise Edition, Community Edition, Exakat Cloud