*/
public static function paliases($aliases,&$changed=[]) {
foreach ($aliases as $short=>$long) {
- if (!preg_match('/^\s*$/',self::p($short))) {
+ if (!preg_match('/^\s*$/',self::p($short,''))) {
self::pset($long,self::p($short));
$changed[$short] = $long;
}
if (!isset($o[$k])) {
# Cache methods
- if (!isset($methods))
- foreach (get_class_methods(get_class()) as $m) $methods[$m]=1
- ;
+ if (!isset($methods)) {
+ foreach (get_class_methods('Out') as $m) $methods[$m]=1;
+ }
# Try internal function
$call = $k.'_'.self::type();