azure login
azure group create -t project=<project_name> <group_name> westeurope
azure appserviceplan create <group_name> <service_name> westeurope F1
azure webapp create <group_name> <app_name> westeurope <service_name>
azure webapp config set --phpversion 7.1 --detailederrorloggingenabled true <group_name> <app_name>
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 | |
/** | |
* Functionality to verify if "Do not track" is set | |
* in the browser configuration. | |
*/ | |
if (array_key_exists('HTTP_DNT', $_SERVER) && (1 === (int) $_SERVER['HTTP_DNT'])) { | |
echo 'Do not track me enabled'; | |
} else { | |
echo 'Do not track me disabled'; |
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
ant | |
bouncycastle-api | |
build-timeout | |
checkstyle | |
cloverphp | |
crap4j | |
credentials-binding | |
credentials | |
docker-commons | |
docker-workflow |
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 | |
namespace FinalClass; | |
require_once __DIR__ . '/vendor/autoload.php'; | |
use PHPUnit\Framework\TestCase; | |
final class Foo | |
{ | |
protected $bar; |
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
class SortableDirectoryIterator extends RecursiveDirectoryIterator | |
{ | |
/** | |
* \ArrayObject | |
*/ | |
private $dirArray; | |
public function __construct(string $path) | |
{ | |
parent::__construct($path); |
Conference | Country | Date | Accepted |
---|---|---|---|
Dutch PHP Conference 2017 | NL, EU | Jun 29 - Jul 1 | |
North-East PHP 2017 | PE, CA | Aug 9 - 11 | X |
WeCamp 2017 | NL, EU | Aug 22 - 26 | X |
Pacific North-West PHP 2017 | WA, USA | Sep 7 - 9 | X |
MadisonPHP 2017 | WI, USA | Sep 22 - 23 | X |
PHP North-West 2017 | UK, EU | Sep 29 - Oct 1 | X |
I posted several talks about compiling PHP from source, but everyone was trying to convince me that a package manager like Homebrew was a more convenient way to install.
The purpose of Homebrew is simple: a package manager for macOS that will allow you to set up and install common packages easily and allows you to update frequently using simple commands.
I used a clean installation of macOS Sierra to ensure all steps could be recorded and tested. In most cases you already have done work on your Mac, so chances are you can skip a few steps in this tutorial.
I’ve made this according to the installation instructions given on GetGrav.
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 | |
return [ | |
'caches' => [ | |
'cache_longterm' => [ | |
'adapter' => \Zend\Cache\Storage\Adapter\Redis::class, | |
'options' => [ | |
'server' => [ | |
'host' => getenv('APP_REDIS_HOST'), | |
'port' => getenv('APP_REDIS_PORT'), |
Verloren maandag bestelling
Conference | Country | Date | Accepted |
---|---|---|---|
SkiPHP | UT, USA | Jan 14-15 | |
PHPBenelux | BE, EU | Jan 27-28 | X |
SunshinePHP | FL, USA | Feb 2-4 | X |
FOSDEM - PHP & Friends | BE, EU | Feb 4-5 | |
PHP UK | UK, EU | Feb 16-17 | |
Confoo Montreal | QB, CA | Mar 8-10 |