Using data streams in require/include statements requires allow_url_include and allow_url_fopen directives to be enabled, which is considered as a potential security vulnerability.
Also base64 encoding/decoding adds extra overhead. Eval in this case performs more than 2x faster.
Using data streams in require/include statements requires
allow_url_include
andallow_url_fopen
directives to be enabled, which is considered as a potential security vulnerability. Also base64 encoding/decoding adds extra overhead. Eval in this case performs more than 2x faster.