Subject: | You are using eval to add a function... |
Summary: | Package rating comment |
Messages: | 1 |
Author: | Theo de Beo |
Date: | 2011-03-02 23:36:48 |
|
|
|
Theo de Beo rated this package as follows:
Utility: | Insufficient |
Consistency: | Sufficient |
Documentation: | Sufficient |
Examples: | Sufficient |
|
Theo de Beo - 2011-03-02 23:36:53
You are using eval to add a function after you loading the code from a file.
Althought, this can be dangerous, you can better use the create_function method of php. Also, it is not suitable for large objects because it loads every function from a file. I cannot see the benefit to this, can you?
|