Learning PHP and WordPress
Apparently, even with creating WordPress theme, you don't really have to learn PHP much.
The only way to learn PHP well seems to be by creating a new CMS. Although, you might learn a little with some CMS, such as Bolt CMS.
Bolt CMS: Easy for editors, and a developer's dream CMS | Bolt CMS