From e17392e46259e6f2e012017987cf7c31c171488f Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 28 Oct 2018 19:56:27 +0100 Subject: abstract config NWY --- public/test.php | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) (limited to 'public/test.php') 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 @@ '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 -- cgit v1.2.3