PHP Conversion
Unit and datatype conversion-
TextualNumber Class is a class for generating textual representations of numbers. It is useful for protecting forms from auto-submission, or using in accounting applications. The class is very easy to implement in your own applications. Despite appearances the number should (though isn't required) be passed in as a string. This allows large numbers to be converted. Integers are handled just ...
-
xDIF can be used to convert data to the DIF file format used to share spreadsheets between applications such as Star Office, Microsoft Office, etc.. The class xDIF can convert data from arrays or database query result into the DIF format. It supports converting results of queries to the databases MySQL, Interbase, Microsoft SQL and PostgreSQL.
-
Numbers are converted to strings representing their equivalent in the Roman notation.Roman can also do the opposite, i.e. take a string with a number represented in Roman and converts it back to decimal.Requirements: PHP 5.0 or higher
-
Conversion can take values represented in unit of the metric and binary systems and vice-versa. The script supports units like byte, meter, gram and seconds to the SI standard but you can also define your own unit. Bytes can also be converted to the binary system, 1024 bytes becoming 1 KB. Requirements: PHP 5.0 or higher
-
Array to Object converter takes an array an assigns the variables of the class with the values of the array entries with the same name. Array entries with array values are also recursively being converted to objects. Requirements: PHP 5.0 or higher
-
Dec 2 Roman Converter can convert numbers both ways from 1 to 10999. Requirements: PHP 5 or higher
-
Colors can be converted between the RGB, HSV, HSL and hexadecimal RGB models.Requirements: PHP 5.0 or higher
-
Number to word class can be used to spell numbers in French in a way that respects the particularities of the French language.Number to word class also supports spelling numbers in English and German and can be adapted to support other idioms.Number to word class can spell numbers between 0 to 999 999 999 999 999 999.
-
ArCharsetC can be used to convert a given Arabic text between different character set encodings. Currently it supports converting between character sets windows-1256, iso-8859-6 and utf-8.
-
Chinese Party class can be used to convert a Chinese text between two character set encodings. Currently it can convert between character set encodings between UTF-8 traditional Chinese, UTF-8 simplified Chinese encodings, Big5 and GB2312.When Chinese Party meet some special Chinese character, such as Cantonese characters that commonly used in Hong Kong or Japanese characters that included in Big5 character ...
-
Cifra class can be used to convert numbers between representation formats. Currently it can convert between the number formats: decimal (Arabic), roman, any other base.
-
UTF8 is meant to convert text encoded as single byte string encodings such as CP1251 to UTF-8 multibyte format and vice versa.UTF8 loads character set from mapping files. Please access ftp://ftp.unicode.org/Public/MAPPINGS/ to obtain the mapping files that you need.The directory from where the map files may be loaded is pre-configured in the class. Each supported character set is also pre-configured ...
-
Cyrillic to Latin is a simple class can convert text between representations using cyrillic and latin character sets.The class can convert text in both directions: cyrillic to latin and latin to cyrillic.
-
Roman Numeral Conversion can convert decimal numbers to Roman representation and vice-versa.
-
Date Buddy is a simple class that can convert date and time values between PHP, ISO, MySQL and United States backwards date and time formats.

