Javascript die : Miscellaneous Functions : PHP functions in JavaScript JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » PHP functions in JavaScript » Miscellaneous Functions »

 

Javascript die


Example 1

Running
1.die();

Could return
1.null
function die( status ) {
    // !No description available for die. @php.js developers: Please update the function summary text file.
    // 
    // version: 901.617
    // discuss at: http://phpjs.org/functions/die
    // +   original by: Brett Zamir
    //  -   depends on: exit
    // %        note 1: Should be considered expirimental. Please comment on this function.
    // *     example 1: die();
    // *     returns 1: null
    return exit(status);
}


HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo PHP functions in JavaScript
» Miscellaneous Functions