diff --git a/php/test/ExchangeTest.php b/php/test/ExchangeTest.php new file mode 100644 index 0000000000000..9fe726d54b1c5 --- /dev/null +++ b/php/test/ExchangeTest.php @@ -0,0 +1,14 @@ +assertSame (0, Exchange::sum ()); + $this->assertSame (2, Exchange::sum (2)); + $this->assertSame (432, Exchange::sum (2, 30, 400)); + $this->assertSame (439, Exchange::sum (2, null, [88], 30, '7', 400, null)); + } +} diff --git a/php/test/bootstrap.php b/php/test/bootstrap.php new file mode 100644 index 0000000000000..48b34a7a581b8 --- /dev/null +++ b/php/test/bootstrap.php @@ -0,0 +1,3 @@ + + + + + + + php/test + + + + + + php + + + + + + +