Aer Interpreter Source
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
323 B

  1. class Program {
  2. public int main() {
  3. int[] $arr1;
  4. int[] $arr2 = {0, 0};
  5. float[] $arr3 = {1, 4.5};
  6. $arr1 = {1, 2, 3, 4, 5};
  7. $arr1[] = 6;
  8. $arr1[] = {7};
  9. $arr1[] = {'test' => 8};
  10. $arr1[] = $arr2;
  11. $arr3[] = {4, 5, 6.5};
  12. $arr3[] = 7.2;
  13. $arr3[] = 9;
  14. var_dump($arr1);
  15. var_dump($arr3);
  16. return 0;
  17. }
  18. }