PHP code example of efiku / cryfex
1. Go to this page and download the library: Download efiku/cryfex library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
efiku / cryfex example snippets
function divide($a, $b){
return ($b !== 0) ? $a/$b : throw new ಠ_ಥ("Why you do this..");
}
try{
divide( 10 / 0 );
}
catch( ಠ_ಥ $e ){
die( $e->getMessage() );
}