PHP code example of sgolemon / table-flip
1. Go to this page and download the library: Download sgolemon/table-flip 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/ */
sgolemon / table-flip example snippets
try {
$ret = doSomething();
if ($ret === null) {
throw new (╯°□°)╯︵┻━┻;
} elseif ($ret === false) {
throw new (ノಥ益ಥ)ノ︵┻━┻;
} elseif (!is_string($ret)) {
throw new (ノ゜Д゜)ノ︵┻━┻;
}
} catch (┻━┻ $e) {
┬─┬ノ(・_・ノ);
}