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 | |
/** | |
* Flexihash - A simple consistent hashing implementation for PHP. | |
* | |
* The MIT License | |
* | |
* Copyright (c) 2008 Paul Annesley | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal |
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 | |
define('XDEBUG', "xdebug"); | |
define('ZEND_DEBUGGER', "Zend Debugger"); | |
function createXmlHeader() | |
{ | |
return "<?xml version=\"1.0\"?>"; | |
} |
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
FROM php:7.1-fpm | |
ENV LIBEVENT_VERSION=2.0.22 | |
RUN apt-get -y update && \ | |
apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev \ | |
libpng12-dev libmemcached-dev libmysqlclient-dev libicu-dev libcurl4-nss-dev \ | |
libzmq-dev libpq-dev libyaml-dev zlib1g-dev \ | |
curl git wget netcat && \ | |
rm -rf /var/lib/apt/lists/* |