note 119318 rejected from function.is-numeric by cmb

From: Date: Thu, 12 May 2016 17:29:58 +0000
Subject: note 119318 rejected from function.is-numeric by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-205473@lists.php.net to get a copy of this message
Note Submitter: infowit at pro dot onet dot pl ---- <?php $tests = array("42",1337 , 0x539, 02471,//, // 0b10100111001);//, 1337e0, "not numeric", "tablica", "9.1"); echo "2część"; foreach ($tests as $element) { if (is_numeric($element)) { echo "'{$element}' is numeric", PHP_EOL; } else { echo "'{$element}' is NOT numeric", PHP_EOL; } } ?> I must comment one line of script if I have element of array 0b10100111001 script not works error 500

« previous php.notes (#205473) next »