下载链接和代码高亮测试
下载链接和代码高亮测试
代码高亮 <table border="1"> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$100</td> </tr> </table> <script> class Car { constructor(brand) { this.carname = brand; } } mycar = new Car("Tesla"); document.getElementById("demo").innerHTML = mycar.carname; </script> <?php class MyClass { public $var1 = 'value 1'; public $var2 = 'value 2'; public $var3 = 'value 3'; protected $protected = 'protected var'; private $private = 'private var'; function iterateVisible() { echo "MyClass::iterateVisible:\n"; foreach($this as $key => $value) { print "$key => $value\n"; } } } $class = new MyClass(); foreach($class as $key => $value) { print "$key => $value\n"; } echo "\n"; $class->iterateVisible(); ?>
 3个月前
     跳转到第 页,共 1 页

Theme By Brief 鄂ICP备19010459号
sitemap