docker-php-extension-installer/scripts/tests/newrelic

16 lines
265 B
Plaintext
Raw Permalink Normal View History

2024-04-16 08:52:52 +00:00
#!/usr/bin/env php
<?php
require_once __DIR__ . '/_bootstrap.php';
$rc = 0;
echo 'Checking if newrelic_start_transaction() exists... ';
if (!function_exists('newrelic_start_transaction')) {
$rc = 1;
echo "NO!\n";
} else {
echo "yes.\n";
}
exit($rc);