清单1中的示例说明了如何创建多种类型的变量(整型、浮点、字符串、数组和函数)。
The example in Listing 1 illustrates variable creation of a variety of types (int, float, string, array, and function).
下面是另外一个技巧:Xdebug提供了一个增强型var_dump函数,它对于php数组和类尤为有帮助。
Here's one more tip: Xdebug provides an enhanced var_dump function that's especially helpful with PHP arrays and classes.
Blue包含许多内置类型,包括数字(包含整型和浮点型)、字符串、数组、函数等等。
Blue includes a number of built-in types, including Numbers (which covers integer and floating point types), strings, arrays, functions, and others.
应用推荐