<?php $val = '2 dogs'; $int = (string)(int)$val; echo "'$val' == '$int'? ", var_export($int == $val, true), "\n";
You have javascript disabled. You will not be able to edit any code.