diff --git a/language/oop5/autoload.xml b/language/oop5/autoload.xml index 85cb389b5f..e2496defd0 100644 --- a/language/oop5/autoload.xml +++ b/language/oop5/autoload.xml @@ -1,5 +1,5 @@ - + Autoloading Objects @@ -28,6 +28,14 @@ interactive mode. + + + If the class name is used e.g. in call_user_func then + it can contain some dangerous characters such as ../. + It is recommended to not use the user-input in such functions or at least + verify the input in __autoload. + + Autoload example