- strcmp: documentation ( source)
<?php
echo (strcmp('5-4',5) === 0 ? 'they are the same' : 'they aren\'t the same');
echo "\n";
echo (5 == '5-4' ? 'they are the same' : 'they aren\'t the same');
echo "\n";
echo ('5' === 5 ? 'they are the same' : 'they aren\'t the same');