Skip to content

Instantly share code, notes, and snippets.

@ak4n
ak4n / iterator.php
Last active August 29, 2015 14:27 — forked from piotrpasich/iterator.php
Iterator
<?php
$start = microtime(true);
$mem = memory_get_usage();
function t() {
global $argv;
$array = array();
for ($i = 0; $i < $argv[1]; $i++) {
$array[] = rand(0, 100);
}
@ak4n
ak4n / symfony.phpunit.xml
Created October 8, 2015 19:33 — forked from havvg/symfony.phpunit.xml
An example PHPUnit configuration file for symfony projects running on 512MB phpUnderControl server
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnFailure="true">
<filter>
<blacklist>