summaryrefslogtreecommitdiff
path: root/tests/php/dbg.php
diff options
context:
space:
mode:
authorvalmat <ufabiz@gmail.com>2014-03-27 01:19:12 +0600
committervalmat <ufabiz@gmail.com>2014-03-27 01:19:12 +0600
commitd0d062b4a05a9eb64b8d2e6d038af96ac532e4b3 (patch)
tree4fc4026b988ca6da18a88d2e34dd1d88c28d24ae /tests/php/dbg.php
parent702c95cf779226550af6b33255a8e1b28ccca428 (diff)
Added new tests.
Due to support zts broke the ability to run tests without installation - fixed.
Diffstat (limited to 'tests/php/dbg.php')
-rw-r--r--tests/php/dbg.php45
1 files changed, 0 insertions, 45 deletions
diff --git a/tests/php/dbg.php b/tests/php/dbg.php
index 6f1dabc..9a28fc6 100644
--- a/tests/php/dbg.php
+++ b/tests/php/dbg.php
@@ -6,51 +6,6 @@
*/
-function out($obj) {
-
-
- $cl_name = is_object($obj) ?
- get_class($obj) :
- (is_array($obj) ? "Array" : "----");
-
- echo "++++-" , $cl_name , "-++++\n";
-
- echo "\x1b[1;31m";
- echo "\n Native iterate:\n\n";
- foreach($obj as $k => $v) {
- echo "$k\t=>\t$v\n";
- }
- echo "\x1b[0m";
-
-
- TestValueIterator\loopValue($obj);
-}
-
-
-
-require './include/valueiterator/1.php';
-
-#$arr = array('qwe' => 'qweqweqweqw',5,'asd' => '«£¥§©®°±¶⅐⅒⅓⅘⅞Ⅻↆ❄❅❆⚑⚐⌛⌚〰»', 'zxccvx' => 'sdfsecvyh6bug6yfty',);
-#$obj = (object)$arr;
-#$smpl = new SimpleClass;
-#$it = new impIterator;
-#$iag1 = new impIterAggr1;
-$iag2 = new impIterAggr2;
-
-
-//out($arr);
-#out($obj);
-#out($smpl);
-TestValueIterator\loopValue($iag2);
-#out($it);
-#out($iag1);
-#out($iag2);
-
-
-
-
-
-