aboutsummaryrefslogtreecommitdiff
path: root/public/test.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-10-28 19:56:27 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-10-28 19:56:27 +0100
commite17392e46259e6f2e012017987cf7c31c171488f (patch)
tree72b61b63e32819e81433e8df6f14dc92b0e3a604 /public/test.php
parenta91c916248f967da2d4218b575e665242b7c975b (diff)
downloadwcms-e17392e46259e6f2e012017987cf7c31c171488f.tar.gz
wcms-e17392e46259e6f2e012017987cf7c31c171488f.zip
abstract config NWY
Diffstat (limited to 'public/test.php')
-rw-r--r--public/test.php30
1 files changed, 13 insertions, 17 deletions
diff --git a/public/test.php b/public/test.php
index 0544502..7af0a01 100644
--- a/public/test.php
+++ b/public/test.php
@@ -1,19 +1,15 @@
<?php
-
-$data = ['id' => 'cool', 'redirect' => 'edit'];
-
-require('../w/class/route.php');
-
-$route = new Route($data);
-
-var_dump($route);
-
-var_dump($route->toarray());
-var_dump($route->tostring());
-
-$array = [];
-
-var_dump(implode(' ', $array));
-
-
+function test()
+{
+ static $count = 0;
+
+ $count++;
+ echo $count;
+ if ($count < 10) {
+ test();
+ }
+ $count--;
+}
+
+test();
?> \ No newline at end of file