Search
6 results
-
Dmitry Derepko ·
… The biggest question that has come up in the past (Ilija and I have discussed it at length) is, naturally, autoloading. How if at all do you address that? In the original message I mentioned use extension construction. This should …
-
Alex Rock ·
… for autoloading namespaced classes since 2014 and is used by virtually every modern PHP package via Composer. However, the actual autoloading still requires userspace code: spl_autoload_register() with a closure or class method (almost always generated by Composer) that …
-
ar@ez.no ·
… be fast as well [3]. [1] http://wiki.php.net/rfc/splclassloader [2] http://blog.runpac.com/post/splclassloader-php-extension-benchmarks [3] http://weierophinney.net/matthew/archives/245-Autoloading-Benchmarks.html Best ar Hello again, Has anyone had a …
-
tim@bastelstu.be ·
… in your point of view on this. I'm not aware of any point where exceptions thrown in user callback methods are wrapped, but at least autoloading, a very prominent one, does not. https://3v4l.org/vYmts Changing this (in …
-
John Bafford ·
… a la Kotlin, not as a secondary class, like Rust.) Autoloading and efficiently determining that you need to call an extension are the key stumbling blocks (though my stance on autoloading at this point is "we've got opcache enabled …
-
Bilge ·
… because of (a) autoloading and (b) the ability to use private/protected methods. Neither of those apply to a php extension. I agree with the others, the static parser class is weird. Either put the static methods on the url …