![]() ![]() | ![]() |
1.1 ! misho 1: <?php ! 2: define('BUNDLE', dirname(__FILE__)."/_files/resourcebundle"); ! 3: ! 4: function 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: