This file contains 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 | |
// This file need to be included before vendor/autoload.php | |
if (!function_exists('dump')) { | |
function dump(...$vars) | |
{ | |
$placeholder = "vscode://file/{file}:{line}:0"; | |
// Get caller info | |
$file = ''; |
This file contains 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
"use strict"; | |
// IE support if needed | |
// @link https://caniuse.com/?search=math.imul | |
if (!Math.imul) { | |
Math.imul = function (opA, opB) { | |
opB |= 0; | |
var result = (opA & 0x003fffff) * opB; | |
if (opA & 0xffc00000) result += (opA & 0xffc00000) * opB | 0; | |
return result | 0; |
NewerOlder