Array
(
    [0] =>   51  78  
    [1] => 787
    [2] => 747Z
    [3] => 747z
    [4] => 1747
    [5] => .1792.AqP.44.
    [6] => AZerTY
    [7] => 8.15
    [8] => 123.78.94
    [9] => .514
    [10] => 357.
)


--+++---> 0 5178 +++++ 5178 Ne contient aucunes lettres
--+++---> 1 787 +++++ 787 Ne contient aucunes lettres
--+++---> 2 747Z +++++ 747Z Contient des lettres 747
--+++---> 3 747z +++++ 747z Contient des lettres 747
--+++---> 4 1747 +++++ 1747 Ne contient aucunes lettres
--+++---> 5 .1792.AqP.44. +++++ 1792AqP44 Contient des lettres 179244
--+++---> 6 AZerTY +++++ AZerTY Contient des lettres
--+++---> 7 8.15 +++++ 815 Ne contient aucunes lettres
--+++---> 8 123.78.94 +++++ 1237894 Ne contient aucunes lettres
--+++---> 9 .514 +++++ 514 Ne contient aucunes lettres
--+++---> 10 357. +++++ 357 Ne contient aucunes lettres


Array
(
    [0] => 5178
    [1] => 787
    [2] => 747
    [3] => 747
    [4] => 1747
    [5] => 179244
    [6] => vide
    [7] => 8.15
    [8] => vide
    [9] => 514
    [10] => 357
)


747Z contient des lettres 4 3
747z contient des lettres 747
1747 Ne contient pas des lettres
AZERTY contient des lettres 0
-----> 1235
-----> aze
-----> 8.15
-----> AZ9.78
-----> .127.Q78.2.5
.127.Q78.2.5 devient 127.Q78.2.5
-----> .514
.514 devient 514
-----> 357.
357. devient 357
------- ------- ------- Array ( [4] => 127.Q78.2.5 [5] => 514 [6] => 357 ) 1235Equal

Differente

8.15Equal

9.78Differente

.127.78.2.5Equal

.357Equal


-------

.357 devient 357
-------

357. devient 357
-------

---> .127.78.2.5
Array ( [0] => . [1] => 1 [2] => 2 [3] => 7 [4] => 8 [5] => 5 ) All keys 1
++++
----> Nb points 0 +++++++
---> 0 1
---> 1 2
---> 2 3
---> 3 5
OK 1235
----> Nb points 0 +++++++
---> 0 a
Erreur aze
----> Nb points 1 +++++++
---> 0 8
---> 1 .
---> 2 1
---> 3 5
OK 8.15
----> Nb points 1 +++++++
---> 0 A
Erreur AZ9.78
----> Nb points 4 +++++++
Erreur .127.78.2.5
----> Nb points 1 +++++++
---> 0 .
Erreur .357



Bingo
1
1
1
1

string contains only digits


1
0
1
string with numbers
string with numbers
string with numbers
'42' is numeric
1337 is numeric
1337 is numeric
1337 is numeric
1337 is numeric
1337.0 is numeric
'0x539' is NOT numeric
'02471' is numeric
'0b10100111001' is NOT numeric
'1337e0' is numeric
'not numeric' is NOT numeric
array ( ) is NOT numeric
9.1 is numeric
'78.7.21' is NOT numeric
NULL is NOT numeric
'' is NOT numeric