diff options
| author | Dmitry Stogov <dmitry@zend.com> | 2015-04-02 12:38:16 +0300 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@zend.com> | 2015-04-02 12:38:16 +0300 |
| commit | a764214b028f8179bc2ffc5d1fb85ed9eb3d24aa (patch) | |
| tree | fdbd4d9365ada0a6258f073dc5ea77fcf5a757e3 | |
| parent | 7c2956d15c7b5e8ce10efb1bb80470ff8a8dc9fd (diff) | |
| parent | bdf315f5f32105fac3fe9923943be5d4b564062c (diff) | |
| download | php-git-a764214b028f8179bc2ffc5d1fb85ed9eb3d24aa.tar.gz | |
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
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; } } |
