File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+ $ n = (0.1 + 0.7 ) * 10 ;
3+
4+ echo $ n ;
5+ echo "\n" ;
6+ echo (int )($ n );
7+ echo "\n" ;
8+ if ($ n == 8 ){
9+ echo "8 == 8 " ;
10+ } else {
11+ echo "8 != 8 " ;
12+ }
13+ ?>
Original file line number Diff line number Diff line change @@ -12,8 +12,10 @@ $Error.clear()
1212php " $PSScriptRoot \clockhands.php" |
1313 Compare-Object (Get-Content " $PSScriptRoot \..\test\clockhands_expected" ) |
1414 Assert-MatchTests &&
15+ php " $PSScriptRoot \float_cast_error.php" &&
1516php " $PSScriptRoot \hello_world.php" &&
1617php " $PSScriptRoot \html_escaping.php" &&
18+ php " $PSScriptRoot \integer_overflow.php" &&
1719php " $PSScriptRoot \ternary_madness.php" &&
1820php " $PSScriptRoot \triples.php" |
1921 Compare-Object (Get-Content " $PSScriptRoot \..\test\triple_expected" ) |
You can’t perform that action at this time.
0 commit comments