PHP_GetLastCode

HP_GetLastCode


 

Description


Allows you to return the last executed PHP code, including PHPx functions.

If the StoreLastCode setting is disabled using PHP_Configure, this function will not return anything.

 

Parameters


There are no parameters for this function.

 

Return


Returns the last executed PHP code.

 

Errors


There are no errors for this function.

 

Example 1
PHP_GetLastCode
/*
Returns: echo 'Hello world!';
*/