Definition and Usage. The array() function is used to create an array. In PHP, there are three types of arrays: Indexed arrays - Arrays with numeric index. Associative arrays - Arrays with named keys. Multidimensional arrays - Arrays containing one or more arrays.
Liters and milligrams aren't compatible (liters measure volume and milligrams measure mass). One liter of water is equal to 1,000,000 milligrams, and there are 1000 milliliters in one liter. ChaCha again soon! data-config-site-section=chacha>.
What is the difference between a milligram and a milliliter? One milliliter (British spelling: millilitre) (ml) is 1/1000 of a liter and is a unit of volume. 1 milligram (mg) is 1/1000 of a gram and is a unit of mass/weight. This means that we require an extra piece of information in order to be able to convert the measurement across.