I\'m confused by something I just ran into in a script I was working on. I had the following:
function getPart($part) { $array = array(\'a\', \'b\', \'c\');
Check out (int) 'first'. That is essentially what PHP is doing to the right hand operand.
(int) 'first'
PHP will coerce operand types when not using the strict equality comparison operator (===) between two operands of different types.
===