PHP: How To Parse Decimal Number from String
$string = “$4.9/inch”; $res = filter_var($string, FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION); echo $res; It will print4.9
$string = “$4.9/inch”; $res = filter_var($string, FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION); echo $res; It will print4.9
Today I am writing about new steps that how to create a social login in CakePHP with HybridAuth library.
Like others now you also want an online presence and looking for Custom Web Development Services?