Optimize #2982
diff --git a/system/libraries/Migration.php b/system/libraries/Migration.php
index 9185adf..9af4a82 100644
--- a/system/libraries/Migration.php
+++ b/system/libraries/Migration.php
@@ -189,7 +189,7 @@
 
 		if ($this->_migration_type === 'sequential')
 		{
-			$target_version = str_pad($target_version, 3, '0', STR_PAD_LEFT);
+			$target_version = sprintf('%03d', $target_version);
 		}
 		else
 		{