summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/tests/file/realpath_variation-win32.phpt2
-rw-r--r--ext/standard/tests/file/stat_variation7-win32.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/file/realpath_variation-win32.phpt b/ext/standard/tests/file/realpath_variation-win32.phpt
index 59db125fb9..f58f618993 100644
--- a/ext/standard/tests/file/realpath_variation-win32.phpt
+++ b/ext/standard/tests/file/realpath_variation-win32.phpt
@@ -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;
}
}
diff --git a/ext/standard/tests/file/stat_variation7-win32.phpt b/ext/standard/tests/file/stat_variation7-win32.phpt
index d72305fa84..0a5e74d36a 100644
--- a/ext/standard/tests/file/stat_variation7-win32.phpt
+++ b/ext/standard/tests/file/stat_variation7-win32.phpt
@@ -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;
}
}