这个简单的函数接受任何变量,并将它显示在屏幕上。
This simple function takes in any variable and displays it to the screen.
每个函数的末尾调用 printData 函数,根据 $print 类变量的值返回 XHTML 数据,或显示到浏览器。
The end of each function calls the printData function, and based on the value of the $print class variable the XHTML data will either be returned from the function or displayed to the browser.
清单2显示具有4个元素的阵列构造函数,其值分别由NULL常数、变量、文字和标量子查询提供。
Listing 2 shows an array constructor with four elements with values given by the NULL constant, a variable, a literal and a scalar sub-query, respectively.
应用推荐