com php-src: fix tests: ext/standard/tests/file/realpath_vari ation-win32.phpt ext/standard/tests/file/stat_variati on7-win32.phpt

From: Date: Thu, 02 Apr 2015 09:37:02 +0000
Subject: com php-src: fix tests: ext/standard/tests/file/realpath_vari ation-win32.phpt ext/standard/tests/file/stat_variati on7-win32.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86047@lists.php.net to get a copy of this message
Commit: bdf315f5f32105fac3fe9923943be5d4b564062c Author: Anatol Belski <ab@php.net> Wed, 1 Apr 2015 18:43:07 +0200 Parents: 0d240c3c5607f8be206f310b2c59b3f92bd5362c Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bdf315f5f32105fac3fe9923943be5d4b564062c Log: fix tests Changed paths: M ext/standard/tests/file/realpath_variation-win32.phpt M ext/standard/tests/file/stat_variation7-win32.phpt Diff: diff --git a/ext/standard/tests/file/realpath_variation-win32.phpt b/ext/standard/tests/file/realpath_variation-win32.phpt index 59db125..f58f618 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 d72305f..0a5e74d 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; } }

« previous php.cvs (#86047) next »