Is there a performance penalty when a class is not found by Composer autoload? #11797
-
Let's say I have: <?php
use NotFoundClass;
#[NotFoundClass]
class Acme {
} Now |
Beta Was this translation helpful? Give feedback.
Answered by
Seldaek
Jan 18, 2024
Replies: 1 comment
-
By default yes, it will try to look up that class once, but if you use authoritative classmaps then you can skip that. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gskema
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By default yes, it will try to look up that class once, but if you use authoritative classmaps then you can skip that.