I am not familiar with Ruby autoloading, but PHP autoloading is (in the vast majority of cases) not that magical.
PHP autoloading (with composer, the de facto standard) is basically just a one to one mapping of namespaces to file names, which have matching class names.
Now there can be more magical autoloading, if it is manually defined, but that's not very common compared to directly using `include` or `require`.
PHP autoloading (with composer, the de facto standard) is basically just a one to one mapping of namespaces to file names, which have matching class names.
Now there can be more magical autoloading, if it is manually defined, but that's not very common compared to directly using `include` or `require`.