顯示具有 false 標籤的文章。 顯示所有文章
顯示具有 false 標籤的文章。 顯示所有文章

2016年7月28日 星期四

[PHP] is_numeric Function



Finds whether a variable is a number or a numeric string



Example:

<?php

echo is_numeric('33');   => True

echo is_numeric('we');   => False


?>


Returns TRUE if it is a number