I have the following piece of code:
$item[\'price\'] = 0; /* Code to get item information goes in here */ if($item[\'price\'] == \'e\') { $item[\'price\'
The == operator will try to match values even if they are of different types. For instance:
'0' == 0 will be true
If you need type comparison as well, use the === operator:
'0' === 0 will be false