1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | /** * 这是一个绘五星图案的抽象类. * @abstract * @access public */ class paint_start { /** * 绘制数量 * @abstract * @access private */ var $number; /** * 绘制五星图案 * @abstract * @access public */ function paint() { ; } /** * @brother paint() */ function draw() { ; } } |
1 2 3 4 5 6 7 8 9 | /** * 过时的类 * * @deprec 1.5-2000/12/06 * @access public */ function dontUseMeAnyMore() { print "Don't use me any more. I have been deprecated."; } |
1 2 3 4 5 | /** * 圆周率 * @final */ var $PI = 3.1415926; |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | /** * Simuliert include_once in PHP 3. * * @global array $__used_files 已经include的文件列表 * @access public */ function include_once($filename) { global $__used_files; if (!isset($__used_files["include_once"][$filename])) { $__used_files["include_once"][$filename] = true; include($filename); } } |
1 2 3 4 5 6 | /** * 抽象绘图类的定义. * * @include Function: _require_ */ require("abstract.php"); |
1 2 3 4 5 | * * @param array $tags array of tags returned by getTags * @param array $data array where the allowed tags and their values are copied to * @param array $allowed array of allowed (recognized) tags |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |