No, don't even think of learning CodeIgniter. Besides being pretty much dead (version 3 has been coming out for, what, about 2 years now?), it has terrible architecture. The superglobal singleton is just awful and will kill you slowly.
Conversely, it is a bad choice because it teaches you bad practices and you will be forced to implement so many hacks on any reasonable sized project. Just don't use it.
Switching from CI to something better later is really not that hard and it's much, much easier that learning one of the modern frameworks from scratch.
I'm talking about self-taught begginers without CS degree or working-in-a-large-team experience.