Skip to content

Commit b8d5595

Browse files
committed
Remove create_function() use in PEAR_Downloader
1 parent 585246e commit b8d5595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PEAR/Downloader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function __construct($ui = null, $options = array(), $config = null)
185185
if (!count($unused)) {
186186
continue;
187187
}
188-
$strtolower = create_function('$a','return strtolower($a);');
188+
$strtolower = function($a) { return strtolower($a); };
189189
array_walk($this->_installed[$key], $strtolower);
190190
}
191191
}

0 commit comments

Comments
 (0)