php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40896 hoy
Submitted: 2007-03-22 17:38 UTC Modified: 2007-03-22 18:04 UTC
From: crisarana2006 at yahoo dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.4.5 OS: mac os
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: crisarana2006 at yahoo dot com
New email:
PHP Version: OS:

 

 [2007-03-22 17:38 UTC] crisarana2006 at yahoo dot com
Description:
------------
La secuencia 1820.20 no consiste en todos los dígitos. 
La secuencia 10002 consiste en todos los dígitos. ¡El 
wsl de la secuencia! 12 no consiste en todos los 
dígitos.

Reproduce code:
---------------
¿<? php
¡$strings = arsenal (“1820.20???, “10002???, “wsl! 12???);
foreach ($strings como $testcase) {
   si (ctype_digit ($testcase)) {
       repetir “la secuencia $testcase consiste en todos los dígitos. \ n???;
   } {
       repetir “la secuencia $testcase no consiste en todos los dígitos. \ n???;
   }
}
?>

Expected result:
----------------
La secuencia 1820.20 no consiste en todos los dígitos. La 
secuencia 
10002 consiste en todos los dígitos. ¡El wsl de la secuencia! 12 
no 
consiste en todos los dígitos.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-22 18:04 UTC] tony2001@php.net
Please speak English.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 15:00:01 2026 UTC