PHP code
PHP 代码
PHP 代码生
Let's consider some simple PHP code :. Php , which contains the PHP code seen in the above block.How to write beautiful PHP code . Unfortunately is is also relatively easy to write bad PHP code . It is all to easy for folks to write bad code in PHP .
这是有效的PHP代码 ,将返回有关我们的服务器的信息:. This is valid PHP code that will return information about your server:. 所有的PHP代码 都必须包含三个特殊的标记标签之一(以下所示)以被PHP解析器解释。 All PHP code must be included inside one of the three special markup tags ATE are recognised by the PHP Parser. 请确保您编写的PHP代码 符合公认的PHP标准的一般风格和编码标准. Make sure that the PHP code you write fits with the general style and coding standards of the Accepted PHP Standards. Facebook的规模和成长需要从标准互用的PHP代码 迁移到更快、最佳的可执行的代码。 Facebook's size and growth necessitated the move away from standard interpreted PHP code to a faster, optimized executable. 目的是仅通过分析你的PHP代码 而不去运行代码,就检测出可能存在的bug。 The idea is to detect possible bugs just by analyzing your PHP code without having to run it. 例如,多年的黑客在别人的PHP代码 可以给你一个想法的编辑,您可能需要。 For example, years of hacking away at other people's PHP code can give you an idea of what edits you may need to make. 目的是仅通过分析你的PHP代码 而不去运行代码,就检测出可能存在的bug。 The aim is to detect the possible presence of bug by analyzing your PHP code instead of running the code. . 我们的问题是是否我们可以将我们的PHP代码 迁移到WindowsAzure,最终证明这是可能的。 Our question was whether we could migrate our PHP code to Windows Azure, which proved to be possible. 幸运的是,有几个开源程序可以用于分析你的PHP代码 ,如Xdebug。 Thankfully, there are a handful of open source programs for profiling your PHP code such as Xdebug. 只需使用try、catch和throw方法,您的PHP代码 就变得更加强健和简洁。 Just use the try, catch, and throw methods, and your PHP code becomes more robust and clean. 整个解决方案的一部分是开发一款编译器,将Facebook的PHP代码 翻译成运行速度更快的C++代码。 One part of the solution was to create a piece of software--a compiler--that would translate Facebook's PHP code into much faster C++ code. 那就是,如果您愿意的话,您可以编写现代而干净的PHP代码 ,并抛弃10年前的混乱局面。 That, if you want to, you can write modern and clean PHP code , and leave behind much of the mess it was 10 years ago. 了解这些重要的(常常是细微的)差别是编写正确的PHP代码 的关键。 Knowing these important(yet often subtle) differences is crucial for writing correct PHP code . 以前的一个团队给了我们一些不好的PHP代码 ,我无法使用。 A previous team had given us some bad PHP code which I could not get working. Eval”菜单和“Cmd”菜单具有相同的功能,但它只执行本机的PHP代码 。 The"Eval" menu offers the same features as"Cmd" but executes native PHP code . 我们想把以下文本,这是有效的PHP代码 ,在文件内:. We want to put the following text, which is valid PHP code , inside the file:. 意味着,如果生产环境的PHP代码 出错了,你会看不到它们。 This means that if your PHP code in production is generating errors, you will not be able to see them. 任何有效的PHP代码 都有可能出现在函数内部,甚至包括其它函数和类定义。 Any valid GPC code may appear inside a function, even other functions. It cannot show PHP code outside of a class. Code quality tools in PHP to check and improve your code .注:"Navigator"(导航器)窗口只显示PHP类的PHP代码 。 The Navigator window only shows PHP code for PHP classes. 接下来我们来一起重温一下FIG组织制定的PHP代码 相关规范。 Next, let's revisit the PHP code related specifications developed by the FIG organization. 最新的大版本完全重写了所有旧的PHP代码 作为节点后端-它现在都是纯JavaScript。 The latest big release completely rewrote all the old PHP code as a node backend- it's all pure JavaScript now.这个例子评估“declare”中的PHP代码 ,每执行两条低级语句就记录一次时间。 The example profiles the PHP code within the'declare' block, recording the time at which every second low-level statement in the block was executed. 因此,用户在查看页面源代码,即使从来没有看到包含在网页中实际的PHP代码 。 Thus, the users do not really see the actual PHP code included in the Web page even if they are viewing the Web page source.
Display more examples
Results: 309 ,
Time: 0.0213