mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src: fix tests
This commit is contained in:
@@ -27,7 +27,7 @@ fclose($file_handle);
|
||||
// creating object with members as filename
|
||||
class object_temp {
|
||||
public $filename;
|
||||
function object_temp($file) {
|
||||
function __construct($file) {
|
||||
$this->filename = $file;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ echo "\n*** Testing stat(): with filename
|
||||
// creating object with members as numeric and non-numeric filename and directory name
|
||||
class object_temp {
|
||||
public $var_name;
|
||||
public function object_temp($name) {
|
||||
public function __construct($name) {
|
||||
$this->var_name = $name;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user