<?php
class Car{
public $name="BWM";
}
$car=new Car();
echo $car->name;
?>
class Car{
public $name="BWM";
}
$car=new Car();
echo $car->name;
?>
2015-07-07
原文应该是路径错误了:$filename = '/data/webroot/usercode/code/resource/test.txt';
2015-07-07