Changeset 2897
- Timestamp:
- 06/25/2008 03:02:08 AM (5 months ago)
- Location:
- trunk/system/core
- Files:
-
- 5 modified
-
Benchmark.php (modified) (1 diff)
-
Config.php (modified) (1 diff)
-
Event.php (modified) (1 diff)
-
utf8/from_unicode.php (modified) (1 diff)
-
utf8/str_ireplace.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/core/Benchmark.php
r2593 r2897 62 62 { 63 63 $times = array(); 64 $names = array_keys(self::$marks); 64 65 65 foreach ( array_keys(self::$marks)as $name)66 foreach ($names as $name) 66 67 { 67 68 // Get each mark recursively -
trunk/system/core/Config.php
r2877 r2897 161 161 162 162 // Normalize all paths to be absolute and have a trailing slash 163 foreach (self::item('core.modules') as $path) 163 $paths = self::item('core.modules'); 164 165 foreach ($paths as $path) 164 166 { 165 167 if (($path = str_replace('\\', '/', realpath($path))) === '') -
trunk/system/core/Event.php
r2696 r2897 215 215 // So callbacks can access Event::$data 216 216 self::$data =& $data; 217 218 foreach (self::get($name) as $callback) 217 $callbacks = self::get($name); 218 219 foreach ($callbacks as $callback) 219 220 { 220 221 call_user_func($callback); -
trunk/system/core/utf8/from_unicode.php
r2593 r2897 13 13 ob_start(); 14 14 15 foreach (array_keys($arr) as $k) 15 $keys = array_keys($arr); 16 17 foreach ($keys as $k) 16 18 { 17 19 // ASCII range (including control chars) -
trunk/system/core/utf8/str_ireplace.php
r1382 r2897 25 25 if (is_array($search)) 26 26 { 27 foreach (array_keys($search) as $k) 27 $keys = array_keys($search); 28 29 foreach ($keys as $k) 28 30 { 29 31 if (is_array($replace))
