30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

zend_loader_file_licensed<br />

API <strong>Reference</strong><br />

Compares the signature of the running file against the signatures of the license files that are loaded into<br />

the License Registry by the php.ini file. If a valid license file exists, the values of the license file are read<br />

into an array. If a valid license does not exist or is not specified in the php.ini, it is not entered in the PHP<br />

server's license registry. If a valid license that matches the product and signature cannot be found in the<br />

license directory, an array is not created. For information on the proper installation of a license file, as well<br />

as the php.ini directive, see the Zend Guard User <strong>Guide</strong><br />

Available since version 4.0<br />

Description<br />

array zend_loader_file_licensed (void)<br />

Return Value<br />

Returns an array or FALSE. If an array is returned, a valid license for the product exists in the<br />

location indicated in the php.ini file.<br />

zend_loader_current_file<br />

Obtains the full path to the file that is currently running. In other words, the path of the file calling this API<br />

function is evaluated only at run time and not during encoding<br />

Available since version 4.0<br />

Description<br />

string zend_loader_current_file (void)<br />

Return Value<br />

Returns a string containing the full path of the file that is currently running<br />

241

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!