dolibarr.bankimport/vendor/nemiah/php-fints/prettify_message.php
2026-02-13 18:30:28 +01:00

13 lines
324 B
PHP

<?php
$classLoader = require(__DIR__ . '/vendor/autoload.php');
// Read a message from stdin.
echo "Please enter a serialized FinTS message:\n";
$line = trim(fgets(STDIN));
// Parse it.
$message = \Fhp\Protocol\Message::parse($line);
// Print it. Tip: Put a breakpoint here to inspect it in your IDE.
print_r($message);