File: bootstrap.inc

package info (click to toggle)
php-solr 2.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,420 kB
  • ctags: 2,794
  • sloc: ansic: 26,401; php: 1,152; xml: 1,126; pascal: 4; makefile: 1
file content (11 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
<?php

require_once "test.config.inc";

function separator($label) {
	echo str_pad(' '.$label.' ', 80, '=', STR_PAD_BOTH) . PHP_EOL;
}

function print_exception(SolrException $e) {
	echo sprintf("%s %d: %s", get_class($e), $e->getCode(), $e->getMessage()). PHP_EOL;
}