From 0b11d59f9fe16b08a96f410d7c390b06594c918d Mon Sep 17 00:00:00 2001 From: belliash Date: Tue, 16 Apr 2019 13:59:10 +0200 Subject: [PATCH] Remove this dirty hack. This test should now work without it. --- tests/static_var.aer | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/static_var.aer b/tests/static_var.aer index 7d4a519..535e4ff 100644 --- a/tests/static_var.aer +++ b/tests/static_var.aer @@ -10,12 +10,11 @@ class Program { } void main() { - int $i, $j, $k; - for($i = 1; $i < 3; $i++) { + for(int $i = 1; $i < 3; $i++) { print($i + $this->cycle('a', 'b') + PHP_EOL); - for($j = 1; $j < 5; $j++) { + for(int $j = 1; $j < 5; $j++) { print(' ' + $j + $this->cycle('a', 'b', 1) + PHP_EOL); - for($k = 1; $k < 3; $k++) { + for(int $k = 1; $k < 3; $k++) { print(' ' + $k + $this->cycle('c', 'd', 2) + PHP_EOL); } }