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
.global __aeabi_uidiv | |
__aeabi_uidiv: | |
cmp r1, #0 | |
mov r2, r0 | |
beq .L8 | |
mov r3, #1 | |
blt .L3 | |
.L4: | |
lsls r1, r1, #1 |
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 getAllTypes(ReflectionParameter $reflectionParameter): array | |
{ | |
$reflectionType = $reflectionParameter->getType(); | |
if (! $reflectionType) { | |
return []; | |
} |
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 | |
$urls = []; | |
$string = file_get_contents('https://www.google.com'); | |
preg_match_all('#\bhttps?://[^,\s()<>]+(?:\([\w\d]+\)|([^,[:punct:]\s]|/))#', $string, $matches); | |
foreach ($matches[0] as $result) { | |
$result = trim($result); | |
$result = rtrim($result, '/'); |
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 | |
use SebastianBergmann\Diff\Differ; | |
use SebastianBergmann\Diff\Output\DiffOutputBuilderInterface; | |
class MinimalDiffOutputBuilder implements DiffOutputBuilderInterface | |
{ | |
/** | |
* @param array $diff | |
* @return string |
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
br | |
br_if | |
br_table | |
call | |
call_indirect | |
current_memory | |
data.drop | |
drop | |
elem.drop | |
f32.abs |