Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86166 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6787 invoked from network); 12 May 2015 12:24:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 May 2015 12:24:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=lauri.kentta@gmail.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=lauri.kentta@gmail.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain gmail.com does not designate 195.197.172.115 as permitted sender) X-PHP-List-Original-Sender: lauri.kentta@gmail.com X-Host-Fingerprint: 195.197.172.115 gw01.mail.saunalahti.fi Received: from [195.197.172.115] ([195.197.172.115:49083] helo=gw01.mail.saunalahti.fi) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/60-03335-011F1555 for ; Tue, 12 May 2015 08:24:49 -0400 Received: from tuikku (a91-154-97-170.elisa-laajakaista.fi [91.154.97.170]) by gw01.mail.saunalahti.fi (Postfix) with ESMTP id 108F8400CF; Tue, 12 May 2015 15:24:44 +0300 (EEST) Received: from localhost.localdomain ([::1] helo=k-piste.dy.fi) by tuikku with esmtp (Exim 4.85) (envelope-from ) id 1Ys9Ep-0006nb-Si; Tue, 12 May 2015 15:24:44 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 12 May 2015 15:24:43 +0300 To: Yasuo Ohgaki Cc: internals@lists.php.net In-Reply-To: References: Message-ID: X-Sender: lauri.kentta@gmail.com User-Agent: Roundcube Webmail/1.1.1 Subject: Re: [PHP-DEV] is_digits() and digits type From: lauri.kentta@gmail.com (=?UTF-8?Q?Lauri_Kentt=C3=A4?=) On 2015-05-12 03:56, Yasuo Ohgaki wrote: > - is_numeric() and numeric type for float like string FYI, there's ctype_digit($s) and preg_match('/⁠^[0-⁠9]+$/⁠s', $s); Adding more functions would be only confusing, I think. -- Lauri Kenttä