2 Test N++ operator : various numbers as strings
\r
7 "0","65","-44", "1.2", "-7.7", "abc", "123abc", "123e5", "123e5xyz", " 123abc", "123 abc", "123abc ", "3.4a",
\r
12 foreach ($strVals as $strVal) {
\r
13 echo "--- testing: '$strVal' ---\n";
\r
21 --- testing: '0' ---
\r
23 --- testing: '65' ---
\r
25 --- testing: '-44' ---
\r
27 --- testing: '1.2' ---
\r
29 --- testing: '-7.7' ---
\r
31 --- testing: 'abc' ---
\r
33 --- testing: '123abc' ---
\r
35 --- testing: '123e5' ---
\r
37 --- testing: '123e5xyz' ---
\r
38 string(8) "123e5xza"
\r
39 --- testing: ' 123abc' ---
\r
41 --- testing: '123 abc' ---
\r
43 --- testing: '123abc ' ---
\r
45 --- testing: '3.4a' ---
\r
47 --- testing: 'a5.9' ---
\r