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>.
Milligram is a unit of mass; milliliter is a unit of volume. You can't directly convert the two. If you know the density of a substance, you can say, for example, 1 milliliter of water has a mass of 1 gram (1000 milligrams), or 1 milliliter of lead has a mass of about 11 gram.