summaryrefslogtreecommitdiff
path: root/poc/poc02-compiling-cake/src/php-weave/main2.php
diff options
context:
space:
mode:
Diffstat (limited to 'poc/poc02-compiling-cake/src/php-weave/main2.php')
-rw-r--r--poc/poc02-compiling-cake/src/php-weave/main2.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/poc/poc02-compiling-cake/src/php-weave/main2.php b/poc/poc02-compiling-cake/src/php-weave/main2.php
index faf3ac1..93e4673 100644
--- a/poc/poc02-compiling-cake/src/php-weave/main2.php
+++ b/poc/poc02-compiling-cake/src/php-weave/main2.php
@@ -7,11 +7,14 @@ ini_set('xdebug.max_nesting_level', 2000);
$weaver=new CakePHPWeaver;
$filelist = $weaver->findAllFiles("../workdir/cache", '/\.ast$/', '/^$/');
$asts=array();
+
+echo memory_get_usage()."\n";
+
foreach ($filelist as $f) {
echo "Unserializing '$f'\n";
$asts[]=$weaver->unserializeAST($f);
}
-echo memory_get_usage();
+echo memory_get_usage()."\n";
?>