简体   繁体   English

Symfony2 PHP函数

[英]Symfony2 php functions

I deployed a Symfony2 application on my server and I wanted to disable some php functions but I don't know if I can or not. 我在服务器上部署了Symfony2应用程序,我想禁用一些php函数,但我不知道是否可以。

But I can't find any informations. 但是我找不到任何信息。

Should I just try to disable a function and look Symfony reaction ? 我是否应该尝试禁用功能并查看Symfony反应? Or do you know any list or informations about unused php functions in Symfony2 ? 还是您知道Symfony2中未使用的php函数的任何列表或信息?

Should I just try to disable a function and look Symfony reaction ? 我是否应该尝试禁用功能并查看Symfony反应?

No. 没有。

Do you know any list or informations about unused php functions in Symfony2 ? 您知道有关Symfony2中未使用的php函数的任何列表或信息吗?

No such list is published. 此类列表未发布。


I think you can safely disable functions which are usually under the control of the old PHP safe mode . 我认为您可以安全地禁用通常在旧的PHP 安全模式下控制的功能 As a contributor of Symfony 2, I might be able to ask more precisely to your question, if you give us some details about the functions you want to disable. 作为Symfony 2的贡献者,如果您向我们提供有关您要禁用的功能的一些详细信息,我也许可以更精确地问您的问题。

You may try to disable functions and launch the Symfony2 test suite. 您可以尝试禁用功能并启动Symfony2测试套件。 And, why not, your application test suite ;) 而且,为什么不呢,您的应用程序测试套件;)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM