blob: ad42ea897a8ab8bd2f2f8adc4dd9d448f4177be3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
// Used to print php binary info used to run
// test scripts.
// Called from run-tests.php
function dowrite($str)
{
global $term_bold, $term_norm;
$str = str_replace("%b", $term_bold, $str);
$str = str_replace("%B", $term_norm, $str);
print $str;
}
function dowriteln($str)
{
dowrite("$str\n");
}
dowriteln("PHP SAPI: ".PHP_SAPI);
dowriteln("PHP Version: ".PHP_VERSION);
?>
|