xref: /PHP-7.2/ext/intl/tests/resourcebundle.inc (revision 60a69dae)
1<?php
2define('BUNDLE', dirname(__FILE__)."/_files/resourcebundle");
3
4function debug( $res ) {
5	if (is_null( $res )) {
6		$ret = "NULL\n";
7	}
8	else {
9		$ret = print_r( $res, true ). "\n";
10	}
11	return $ret . sprintf( "%5d: %s\n", intl_get_error_code(), intl_get_error_message() );
12}
13