Skip to content

Instantly share code, notes, and snippets.

@trakos
trakos / test.sh
Created May 25, 2016 06:48
Symfony adapters test runner
SERVER="http://localhost:555"
function run_test
{
ITEMS=$1
N=$2
curl -sS -X GET "$SERVER/test.php?clear=1"
echo
@trakos
trakos / test.php
Created May 25, 2016 06:47
Symfony adapters test
<?php
if (isset($_GET['clear']) && $_GET['clear'] == 1) {
opcache_reset();
apcu_clear_cache();
exit(0);
}
require('vendor/autoload.php');