From bdf315f5f32105fac3fe9923943be5d4b564062c Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 1 Apr 2015 18:43:07 +0200 Subject: [PATCH] fix tests --- ext/standard/tests/file/realpath_variation-win32.phpt | 2 +- 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 59db125fb9d..f58f6189939 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 d72305fa84b..0a5e74d36aa 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; } }