Example where this is being used. I believe this is old power store code. It is scattered through the pages usually in less clear situations. I can get other examples if you'd like?
$colname1_rsBIBinventory = (get_magic_quotes_gpc()) ? $_POST['BPeCart6_1_SizeID_Add'] : addslashes($_POST['BPeCart6_1_SizeID_Add']);
$colname2_rsBIBinventory = (get_magic_quotes_gpc()) ? $_POST['BPeCart6_1_ColorID_Add'] : addslashes($_POST['BPeCart6_1_ColorID_Add']);
$colname3_rsBIBinventory = (get_magic_quotes_gpc()) ? $_POST['BPeCart6_1_Option1ID_Add'] : addslashes($_POST['BPeCart6_1_Option1ID_Add']);