mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-15 10:26:55 +01:00
47 lines
601 B
Plaintext
47 lines
601 B
Plaintext
Different float syntaxes
|
|
-----
|
|
<?php
|
|
|
|
0.0;
|
|
0.;
|
|
.0;
|
|
0e0;
|
|
0E0;
|
|
0e+0;
|
|
0e-0;
|
|
30.20e10;
|
|
300.200e100;
|
|
1e10000;
|
|
-----
|
|
array(
|
|
0: Scalar_DNumber(
|
|
value: 0
|
|
)
|
|
1: Scalar_DNumber(
|
|
value: 0
|
|
)
|
|
2: Scalar_DNumber(
|
|
value: 0
|
|
)
|
|
3: Scalar_DNumber(
|
|
value: 0
|
|
)
|
|
4: Scalar_DNumber(
|
|
value: 0
|
|
)
|
|
5: Scalar_DNumber(
|
|
value: 0
|
|
)
|
|
6: Scalar_DNumber(
|
|
value: 0
|
|
)
|
|
7: Scalar_DNumber(
|
|
value: 302000000000
|
|
)
|
|
8: Scalar_DNumber(
|
|
value: 3.002E+102
|
|
)
|
|
9: Scalar_DNumber(
|
|
value: INF
|
|
)
|
|
) |