Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am rlerdorf on github.
  • I am rlerdorf (https://keybase.io/rlerdorf) on keybase.
  • I have a public key whose fingerprint is 403E ED6C 5061 618B 2D2E D92E 9716 B229 3BAA 3AE0

To claim this, I am signing this object:

4:58pm x220:~/php-2.0.1> ./install
PHP/FI Installation
If you do not understand any of the following questions,
then the default should be safe - simply hit 'Return'.
Do you have mSQL installed on this system? [yN]
Do you have Sybase libraries installed on this system [yN]
Do you have Postgres installed in this system? [yN]
4:58pm x220:~/php-2.0.1> cd src
4:58pm x220:~/php-2.0.1/src> make
gcc -O -I. -DLOGGING=1 -DLOG_DIR=\"/usr/local/etc/httpd/cgi-data\" -DFILE_UPLOAD -DPHPSENDMAIL=1 -DSENDMAIL=\""/usr/sbin/sendmail -t"\" -DPHP_DOCUMENT_ROOT=\"/usr/local/etc/htdocs\" -c parse.c
gcc -O -I. -DLOGGING=1 -DLOG_DIR=\"/usr/local/etc/httpd/cgi-data\" -DFILE_UPLOAD -DPHPSENDMAIL=1 -DSENDMAIL=\""/usr/sbin/sendmail -t"\" -DPHP_DOCUMENT_ROOT=\"/usr/local/etc/htdocs\" -c lex.c
gcc -O -I. -DLOGGING=1 -DLOG_DIR=\"/usr/local/etc/httpd/cgi-data\" -DFILE_UPLOAD -DPHPSENDMAIL=1 -DSENDMAIL=\""/usr/sbin/sendmail -t"\" -DPHP_DOCUMENT_ROOT=\"/usr/local/etc/htdocs\" -c main.c
gcc -O -I. -DLOGGING=1 -DLOG_DIR=\"/usr/local/etc/httpd/cgi-data\" -DFILE_UPLOAD -DPHPSENDMAIL=1 -DSENDMAIL=\""/usr/sbin/sendmail -t"\" -DPHP_DOCUMENT_ROOT=\"/usr/local/etc/htdocs\" -c error.c
gcc -O -I. -DLOGGING=1 -DLOG_
<?php
$patt = '/\s/';
$subj = ' ';
$repl = '';
setlocale(LC_ALL, 'en_GB');
preg_replace($patt, $repl, $subj);
setlocale(LC_ALL, 'en_US');
==11548== Memcheck, a memory error detector
==11548== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==11548== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==11548== Command: php -dpcre.jit=1 h
==11548==
==11548== Invalid read of size 1
==11548== at 0x4031E69: ???
==11548== by 0x23150E27: ???
==11548== by 0xFFEFF3CBF: ???
==11548== Address 0x2315d650 is 864 bytes inside a block of size 1,088 free'd
#!/usr/bin/env php
<?php
function rgb($hex) {
$r = substr($hex,0,2);
$g = substr($hex,2,2);
$b = substr($hex,4,2);
return [hexdec($r), hexdec($g), hexdec($b)];
}
function preview($str, $cols) {
system/src/Grav/Common/Assets.php:201 PhanCompatiblePHP7 Expression may not be PHP 7 compatible
system/src/Grav/Common/Backup/Backups.php:119 PhanPossiblyNonClassMethodCall Call to method getTimestamp on type \DateTime|false that could be a non-object
system/src/Grav/Common/Backup/Backups.php:123 PhanPossiblyNonClassMethodCall Call to method format on type \DateTime|false that could be a non-object
system/src/Grav/Common/Backup/Backups.php:230 PhanPossiblyInfiniteRecursionSameParams purge() is calling itself with the same parameters it was called with. This may cause infinite recursion (Phan does not check for changes to global or shared state).
system/src/Grav/Common/Backup/Backups.php:240 PhanPossiblyInfiniteRecursionSameParams purge() is calling itself with the same parameters it was called with. This may cause infinite recursion (Phan does not check for changes to global or shared state).
system/src/Grav/Common/Backup/Backups.php:250 PhanPossiblyInfiniteRecursionSameParams purge() is calling itself with t
system/src/Grav/Common/Assets.php:201 PhanCompatiblePHP7 Expression may not be PHP 7 compatible
system/src/Grav/Common/Backup/Backups.php:120 PhanPossiblyNonClassMethodCall Call to method getTimestamp on type \DateTime|false that could be a non-object
system/src/Grav/Common/Backup/Backups.php:124 PhanPossiblyNonClassMethodCall Call to method format on type \DateTime|false that could be a non-object
system/src/Grav/Common/Backup/Backups.php:230 PhanPossiblyInfiniteRecursionSameParams purge() is calling itself with the same parameters it was called with. This may cause infinite recursion (Phan does not check for changes to global or shared state).
system/src/Grav/Common/Backup/Backups.php:240 PhanPossiblyInfiniteRecursionSameParams purge() is calling itself with the same parameters it was called with. This may cause infinite recursion (Phan does not check for changes to global or shared state).
system/src/Grav/Common/Backup/Backups.php:250 PhanPossiblyInfiniteRecursionSameParams purge() is calling itself with t
--- /boot/config-5.4.0-2-amd64 2020-01-05 06:40:37.000000000 -0800
+++ .config 2020-01-20 09:19:18.260602066 -0800
@@ -1,10 +1,10 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.4.8 Kernel Configuration
+# Linux/x86 5.5.0-rc7 Kernel Configuration
#
#
Electron Main Context
Electron Isolated Context
Secure Electronic Transactions
electron.asar
gen/third_party/electron_node/src/inspector/src/node/inspector/protocol/Protocol.cpp
electron
is not supported in Electron
../../third_party/electron_node/src/node_mutex.h
../../electron/atom/browser/api/atom_api_top_level_window.h
../../third_party/electron_node/src/node_internals.h