- 27" iMac, late 2013
- 3.2 GHz Intel Core i5
- 8 GB 1600 MHz DDR3
- PHP
memory_limit
of 128MB
This file contains 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
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "hashicorp/precise64" | |
config.vm.provision "shell", inline: <<-shell | |
echo "Installing apt packages" | |
apt-get install curl git python-software-properties screen vim -y --force-yes | |
echo "Installing HHVM" |
This file contains 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 | |
/* | |
* This file is part of the Phony package. | |
* | |
* Copyright © 2014 Erin Millard | |
* | |
* For the full copyright and license information, please view the LICENSE file | |
* that was distributed with this source code. | |
*/ |
This file contains 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 | |
const WM_CASEFOLD = 1; | |
const WM_PATHNAME = 2; | |
const WM_ABORT_MALFORMED = 2; | |
const WM_NOMATCH = 1; | |
const WM_MATCH = 0; | |
const WM_ABORT_ALL = -1; | |
const WM_ABORT_TO_STARSTAR = -2; |
This file contains 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 Typhoon\Type; | |
class StringTest extends \Typhoon\Test\TypeTestCase | |
{ | |
protected function typeFixture() | |
{ | |
return new String; | |
} |
This file contains 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 Typhoon\Exception; | |
use Typhoon\Primitive\String; | |
use Typhoon\Test\ExceptionTestCase; | |
class ExceptionTest extends ExceptionTestCase | |
{ | |
/** |
This file contains 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 Foo; | |
use Bar\Baz\Qux; | |
use Bar\Baz\Splat; | |
class Donk | |
{ | |
public function foo(Qux $qux) {} |
This file contains 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
#!/usr/bin/env php | |
<?php | |
$paths = array(); | |
if (isset($_SERVER['argv'])) | |
{ | |
$paths = $_SERVER['argv']; | |
array_shift($paths); | |
if (!$paths) |
OlderNewer