<?php $number = ['1,2', 1, '']; foreach ($number as $val) { echo 'val: $val is_numeric'.!!(is_numeric(number_format($val))); }
You have javascript disabled. You will not be able to edit any code.