resourcebundle.inc 280 B

12345678910111213
  1. <?php
  2. define('BUNDLE', dirname(__FILE__)."/_files/resourcebundle");
  3. function debug( $res ) {
  4. if (is_null( $res )) {
  5. $ret = "NULL\n";
  6. }
  7. else {
  8. $ret = print_r( $res, true ). "\n";
  9. }
  10. return $ret . sprintf( "%5d: %s\n", intl_get_error_code(), intl_get_error_message() );
  11. }