we use version_compare for comparison and it has no documented limit. Works well with 4 numbers, iirc i tested even more some  time ago.