Menu
I was doing some dev work on an oscommerce site and I noticed that in places oscommerce uses variables in functions expressed like so.
(int)$customer_id
as in
tep_db_query(“select products_id, products_price, products_tax_class_id, products_weight from ” . TABLE_PRODUCTS . ” where products_id = ‘” . (int)$products_id . “‘”);
What does the (int) mean.
Sorry if its a newb question but I have had trouble finding any reference to this in the php online manual.