This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="invoice-POS"> | |
<center id="top"> | |
<div class="logo"></div> | |
<div class="info"> | |
<h2>SBISTechs Inc</h2> | |
</div><!--End Info--> | |
</center><!--End InvoiceTop--> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$start_time = microtime(true); | |
$startMemoryUsage = memory_get_peak_usage(); | |
/********************************************** | |
WITHOUT GENERATOR | |
**********************************************/ | |
$array = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function event(string $name, array $data = [],callable $action = null,int $priority = 0){ | |
static $events = []; | |
if($action){ | |
$events[$name][]=[ | |
'priority' => $priority, | |
'action' => $action | |
]; | |
return null; | |
} |
OlderNewer