summaryrefslogtreecommitdiffhomepage
path: root/test/php/time_exec/index.php
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-02-28 21:18:33 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-02-28 21:18:33 +0300
commit38ea191fbb91db000b1e68185359e612e7e47c54 (patch)
tree13f0e547e15b183362f4c94753a9bd6a2d303905 /test/php/time_exec/index.php
parenta5dd0f8aa9b81921ff28c486a39fd46607dbdbd9 (diff)
downloadunit-38ea191fbb91db000b1e68185359e612e7e47c54.tar.gz
unit-38ea191fbb91db000b1e68185359e612e7e47c54.tar.bz2
Tests: fixed PHP "disable_functions" and "disable_classes" tests.
Diffstat (limited to 'test/php/time_exec/index.php')
-rw-r--r--test/php/time_exec/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/php/time_exec/index.php b/test/php/time_exec/index.php
new file mode 100644
index 00000000..05d59d28
--- /dev/null
+++ b/test/php/time_exec/index.php
@@ -0,0 +1,4 @@
+<?php
+echo 'time: ' . time();
+echo 'exec: ' . exec('pwd');
+?>