diff options
| author | Anatol Belski <ab@php.net> | 2015-04-01 18:43:07 +0200 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2015-04-02 11:37:02 +0200 |
| commit | bdf315f5f32105fac3fe9923943be5d4b564062c (patch) | |
| tree | 0011c7e23dce3a2d2cef1dfcb04a998160b4c738 | |
| parent | 0d240c3c5607f8be206f310b2c59b3f92bd5362c (diff) | |
| download | php-git-bdf315f5f32105fac3fe9923943be5d4b564062c.tar.gz | |
fix tests
| -rw-r--r-- | ext/standard/tests/file/realpath_variation-win32.phpt | 2 | ||||
| -rw-r--r-- | ext/standard/tests/file/stat_variation7-win32.phpt | 2 |
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; } } |
