+------------------------------------------------------------+
| Process |
| +--------------------------------------------------------+
| | Threads (OS/User) |
| | +----------------------------------------------------+
| | | Coroutines |
| | | + - - - - - - - - - - - - - - - - +
| | | | ┌ Fiber (with stack, yield anywhere) |
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
diff --git a/ext/pcre/pcre2lib/sljit/sljitExecAllocator.c b/ext/pcre/pcre2lib/sljit/sljitExecAllocator.c | |
index 6e5bf78e45..7c773f40fc 100644 | |
--- a/ext/pcre/pcre2lib/sljit/sljitExecAllocator.c | |
+++ b/ext/pcre/pcre2lib/sljit/sljitExecAllocator.c | |
@@ -175,7 +175,7 @@ static SLJIT_INLINE void* alloc_chunk(sljit_uw size) | |
#endif | |
#ifdef MAP_ANON | |
- flags |= MAP_ANON | SLJIT_MAP_JIT; | |
+ flags |= MAP_ANON | SLJIT_MAP_JIT | MAP_JIT; |
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
ask_php () { | |
typeset res ret | |
php -derror_reporting=-1 -dlog_errors=0 -ddisplay_errors=1 -r' | |
set_error_handler(function($code, $message) { | |
fprintf(STDERR, "%s\n", $message); | |
exit(1); | |
}); | |
array_shift($argv); | |
$fn = array_shift($argv); |
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 | |
/** | |
* Extended HTTP support. Again. | |
* * Introduces the http namespace. | |
* * PHP stream based message bodies. | |
* * Encapsulated env request/response. | |
* * Modular client support. | |
*/ | |
namespace http; | |
use http; |
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
$ memcheck ~/src/php-719-opcache/usr/bin/php -d auto_prepend_file=status.php phan -l src | |
==21115== Memcheck, a memory error detector | |
==21115== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. | |
==21115== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info | |
==21115== Command: /home/mike/src/php-719-opcache/usr/bin/php -d auto_prepend_file=status.php phan -l src | |
==21115== | |
==21115== Syscall param writev(vector[...]) points to uninitialised byte(s) | |
==21115== at 0x8E6E950: __writev_nocancel (in /usr/lib/libc-2.25.so) | |
==21115== by 0xA02048B: zend_file_cache_script_store (zend_file_cache.c:810) | |
==21115== by 0xA01542F: cache_script_in_shared_memory (ZendAccelerator.c:1388) |
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 | |
require_once __DIR__."/../vendor/autoload.php"; | |
use seekat\API; | |
$log = new Monolog\Logger("seekat"); | |
$log->pushHandler((new Monolog\Handler\StreamHandler(STDERR)) | |
->setLevel(Monolog\Logger::INFO)); |
Debian wheezy (currently oldstable) ships courier-0.68 which was probably released on 2012. "Probably", because, head over to the Courier website and try to find the NEWS/ChangeLog.
Anyway. Courier-0.68 has built-in openssl support on Debian and it initializes a SSL context the following way:
ctx=SSL_CTX_new(protocol && strcmp(protocol, "SSL3") == 0
? SSLv3_method():
Sometimes, I find myself in a series of commits which should have been done in a separate branch:
A - B - C - D - E - F (master)
^- first commit that should not be in master
Here's what it should look like:
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
function psi\sigaction(int $sig, object $act, object &$oact = null) : int { | |
let sig = intval($sig); | |
let act = arrval($act, | |
callback void( | |
sa_handler( | |
to_int(signo) | |
) | |
), | |
objval(sa_mask), | |
intval(sa_flags), |
I hereby claim:
- I am m6w6 on github.
- I am m6w6 (https://keybase.io/m6w6) on keybase.
- I have a public key whose fingerprint is 1EC3 C71D DD63 5831 A337 D684 480E 3E14 B0A4 C7C7
To claim this, I am signing this object:
NewerOlder