diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2023-12-19 01:08:06 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2023-12-19 01:08:06 +0100 |
commit | 4d45cc64499de2de6f758ff7c6f33d1fdd06f73e (patch) | |
tree | f8ce28a67c114633f9ba0789e3a1ea0bb375641e /test | |
parent | 878b3e840ec0a02901c9e3fb33ed0837813aaeac (diff) |
add PhpServer
Diffstat (limited to 'test')
-rw-r--r-- | test/server.php | 1 | ||||
-rw-r--r-- | test/test.php | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/test/server.php b/test/server.php index adc9d05..2268d14 100644 --- a/test/server.php +++ b/test/server.php @@ -11,6 +11,7 @@ $server = new Server( 'key' => __DIR__ . '/key.rsa', 'passphrase' => '', ], + '0.0.0.0' ); $server->onRequest(new DocumentServer( diff --git a/test/test.php b/test/test.php new file mode 100644 index 0000000..d1bfe19 --- /dev/null +++ b/test/test.php @@ -0,0 +1,4 @@ +<?php + +echo date("c"); +echo date(); |