<?php
/***************************************************************************
- * Copyright (C) 2003-2010 Polytechnique.org *
+ * Copyright (C) 2003-2011 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
$tree->addChild(array('test', 'hook'), new PlStdHook(array('EngineTest', 'barCallback')));
$page = new TestPage();
- $p = split('/', $path);
+ $p = explode('/', $path);
list($hook, $matched, $remain, $aliased) = $tree->findChild($p);
$matched = join('/', $matched);
$this->assertEquals($expmatched, $matched);