请问错误在哪里呢?显示运行成功,输出错误
<?php
class Car {
//增加构造函数与析构函数
function _construct(){
print "构造函数被调用\n";
}
function _destruct(){
print "析构函数被调用\n";
}
}
$car = new Car();
<?php
class Car {
//增加构造函数与析构函数
function _construct(){
print "构造函数被调用\n";
}
function _destruct(){
print "析构函数被调用\n";
}
}
$car = new Car();
2019-06-05
举报