]> granicus.if.org Git - php/commitdiff
Fix 32bit test failures due to ctor deprecation
authorNikita Popov <nikic@php.net>
Wed, 1 Apr 2015 07:36:43 +0000 (09:36 +0200)
committerNikita Popov <nikic@php.net>
Wed, 1 Apr 2015 07:36:43 +0000 (09:36 +0200)
ext/standard/tests/general_functions/gettype_settype_variation1.phpt
ext/standard/tests/general_functions/gettype_settype_variation2.phpt
ext/standard/tests/general_functions/gettype_settype_variation3.phpt
ext/standard/tests/general_functions/gettype_settype_variation4.phpt
ext/standard/tests/general_functions/gettype_settype_variation5.phpt
ext/standard/tests/general_functions/gettype_settype_variation6.phpt
ext/standard/tests/general_functions/gettype_settype_variation7.phpt
ext/standard/tests/general_functions/gettype_settype_variation8.phpt
ext/standard/tests/general_functions/print_r.phpt
ext/standard/tests/general_functions/var_dump.phpt

index b8834d514c8e4fd86816234600a870f577c05f5b..440443bca29e3433bd1e8c95007b25dda3a9e034 100644 (file)
@@ -47,7 +47,7 @@ class point
   var $x;
   var $y;
 
-  function point($x, $y) {
+  function __construct($x, $y) {
      $this->x = $x;
      $this->y = $y;
   }
index 25bf22cc2d14c64dce769bd4b11a4daf6b907e61..2242952769cc1375e48cdee2c142da6b1ef9ffcb 100644 (file)
@@ -50,7 +50,7 @@ class point
   var $x;
   var $y;
 
-  function point($x, $y) {
+  function __construct($x, $y) {
      $this->x = $x;
      $this->y = $y;
   }
index a82fc6ac199e1de2f28af385c7b0b108f9a18224..f00d04ef8887a07a927ef92321b9c50d69f1038a 100644 (file)
@@ -47,7 +47,7 @@ class point
   var $x;
   var $y;
 
-  function point($x, $y) {
+  function __construct($x, $y) {
      $this->x = $x;
      $this->y = $y;
   }
index 8b93e63c283de0c178a6851cfa8fbdc79bfe759e..6ff891391f0680a7ba14d1013c60897454ea3da0 100644 (file)
@@ -47,7 +47,7 @@ class point
   var $x;
   var $y;
 
-  function point($x, $y) {
+  function __construct($x, $y) {
      $this->x = $x;
      $this->y = $y;
   }
index c9fa57592cc2f6e45447b08ee30c0d7e0c7957ab..7c43b8e3182ef35004b13f928e120ae3390029f6 100644 (file)
@@ -47,7 +47,7 @@ class point
   var $x;
   var $y;
 
-  function point($x, $y) {
+  function __construct($x, $y) {
      $this->x = $x;
      $this->y = $y;
   }
index 0e99630b524bdd4881e64be4c0c88a6c7e480d6d..9e5ce2e600cece4921fe71e8be3b48fa77164822 100644 (file)
@@ -47,7 +47,7 @@ class point
   var $x;
   var $y;
 
-  function point($x, $y) {
+  function __construct($x, $y) {
      $this->x = $x;
      $this->y = $y;
   }
index 2da7bb2047afb7cf1c6003865d5a6a09231919f5..437a966fd103382040a754e7e7e988c28652b248 100644 (file)
@@ -47,7 +47,7 @@ class point
   var $x;
   var $y;
 
-  function point($x, $y) {
+  function __construct($x, $y) {
      $this->x = $x;
      $this->y = $y;
   }
index 54fb9c145a535980fee8525dfae2ca271241b934..5e568fe7aa65454f5d92a9e814077c5342f4dbeb 100644 (file)
@@ -47,7 +47,7 @@ class point
   var $x;
   var $y;
 
-  function point($x, $y) {
+  function __construct($x, $y) {
      $this->x = $x;
      $this->y = $y;
   }
index 19e71fbfd70e5471749124fd32e664d1d522b12a..01ee023e5c29dcb2cc80e04eb843cde044631a5d 100644 (file)
@@ -154,7 +154,7 @@ class object_class
   protected $protected_var1 = "string_1";
   protected $protected_var2;
 
-  function object_class ( ) {
+  function __construct() {
     $this->value = 50;
     $this->public_var2 = 11;
     $this->private_var2 = 21;
@@ -190,7 +190,7 @@ class contains_object_class
      echo "func() is called \n";
    }
 
-   function contains_object_class () {
+   function __construct() {
      $this->class_object1 = new object_class();
      $this->class_object2 = new object_class();
      $this->class_object3 = $this->class_object1;
index c47227141b02c0d00616812cda278ad8f1a5aafd..be8c648d3a2317115e92be1ef0873817d96c4f58 100644 (file)
@@ -148,7 +148,7 @@ class object_class
   protected $protected_var1 = "string_1";
   protected $protected_var2;
 
-  function object_class ( ) {
+  function __construct() {
     $this->value = 50;
     $this->public_var2 = 11;
     $this->private_var2 = 21;
@@ -184,7 +184,7 @@ class contains_object_class
      echo "func() is called \n";
    }
 
-   function contains_object_class () {
+   function __construct() {
      $this->class_object1 = new object_class();
      $this->class_object2 = new object_class();
      $this->class_object3 = $this->class_object1;