blob: 93e467339c7bc04f579f354c825cceee01d520e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
require_once './cakephp_weaver.class.php';
ini_set('xdebug.max_nesting_level', 2000);
// Main
$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()."\n";
?>
|