1
0
mirror of https://github.com/silverstripe/silverstripe-framework synced 2024-10-22 14:05:37 +02:00
silverstripe-framework/tests/dump_constants.php

12 lines
340 B
PHP

<?php
// Helper for dumping the value of standard constants prior to test
require __DIR__ . '/../src/includes/autoload.php';
echo "=== User-Defined Constants ===\n";
$constants = get_defined_constants(true);
foreach ($constants['user'] as $name => $value) {
echo " - {$name}: '{$value}'\n";
}
echo "==============================\n";