1--TEST--
2Test implode() function, problems with big numbers
3--SKIPIF--
4<?php
5if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
6?>
7--FILE--
8<?php
9var_dump( implode(" ", ["hello long", 999999999999999999, PHP_INT_MAX]));
10var_dump( implode(" ", ["hello negative long", -999999999999999999, PHP_INT_MIN] ) );
11var_dump( implode(" ", ["hello small long", -101, -100, -99, -90, -11, -10, -9, -1, 0, 1, 2, 9, 10, 11, 90, 99, 100, 101] ) );
12echo "Done\n";
13?>
14--EXPECT--
15string(49) "hello long 999999999999999999 9223372036854775807"
16string(60) "hello negative long -999999999999999999 -9223372036854775808"
17string(76) "hello small long -101 -100 -99 -90 -11 -10 -9 -1 0 1 2 9 10 11 90 99 100 101"
18Done
19