Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Implementing __set_state for CakeRoute #4953
@lorenzo That's a good question. My brain was half-off and I copied the solution from FastRoute (https://github.com/nikic/FastRoute/blob/master/src/functions.php#L54-L58)
That's true. I haven't thought about the opcache, but makes sense. Also, probably if you have lots of routes it will generate a gigantic string and it will take a while for the php to parse it before build the objects.