Home > Article > Backend Development > Two codes of PHP
This article introduces several codes in PHP, which has certain reference value. Friends in need can refer to it
<?php namespace Math { class Complex { //...code... function __construct() { print("hey"); } } } $m = new Math::Complex(); ?><?php namespace Math { class Complex { //...code... function __construct() { print("hey"); } } } $m = new Math::Complex(); ?>
<?php namespace Math { class Complex { //...code... function __construct() { print("hey"); } } } $m = new Math::Complex(); ?>
The above is the detailed content of Two codes of PHP. For more information, please follow other related articles on the PHP Chinese website!