当前位置:Gxlcms > PHP教程 > PHP的两个代码

PHP的两个代码

时间:2021-07-01 10:21:17 帮助过:36人阅读

这篇文章介绍的内容是关于PHP中的几个代码,有着一定的参考价值,有需要的朋友可以参考一下

  1. <?php
  2. namespace Math
  3. {
  4.   class Complex
  5.   {
  6.    //...code...
  7.    function __construct()
  8.    {
  9.    print("hey");
  10.    }
  11.    }
  12. }
  13. $m = new Math::Complex();   
  14. ?><?php
  15. namespace Math
  16. {
  17.   class Complex
  18.   {
  19.    //...code...
  20.    function __construct()
  21.    {
  22.    print("hey");
  23.    }
  24.    }
  25. }
  26. $m = new Math::Complex();   
  27. ?>
  1. <?php
  2. namespace Math
  3. {
  4.   class Complex
  5.   {
  6.    //...code...
  7.    function __construct()
  8.    {
  9.    print("hey");
  10.    }
  11.    }
  12. }
  13. $m = new Math::Complex();   
  14. ?>

以上就是PHP的两个代码的详细内容,更多请关注Gxl网其它相关文章!

人气教程排行