Browse Source

- fixed issue with php 5.3

Franco Ponticelli 16 years ago
parent
commit
6b90f00f53
1 changed files with 21 additions and 21 deletions
  1. 21 21
      std/php/Boot.hx

+ 21 - 21
std/php/Boot.hx

@@ -713,45 +713,45 @@ class _hx_lambda {
 		return $this->execute();
 	}
 
-	public function execute1(&$_1) {
-		if($this->scope == null) $this->scope= &$_1;
-		$this->params = array(&$_1);
+	public function execute1($_1) {
+		if($this->scope == null) $this->scope= $_1;
+		$this->params = array($_1);
 		return $this->execute();
 	}
 
-	public function execute2(&$_1, &$_2) {
-		if($this->scope == null) $this->scope= &$_1;
-		$this->params = array(&$_1, &$_2);
+	public function execute2($_1, $_2) {
+		if($this->scope == null) $this->scope= $_1;
+		$this->params = array($_1, $_2);
 		return $this->execute();
 	}
 
-	public function execute3(&$_1, &$_2, &$_3) {
-		if($this->scope == null) $this->scope= &$_1;
-		$this->params = array(&$_1, &$_2, &$_3);
+	public function execute3($_1, $_2, $_3) {
+		if($this->scope == null) $this->scope= $_1;
+		$this->params = array($_1, $_2, $_3);
 		return $this->execute();
 	}
 
-	public function execute4(&$_1, &$_2, &$_3, &$_4) {
-		if($this->scope == null) $this->scope= &$_1;
-		$this->params = array(&$_1, &$_2, &$_3, &$_4);
+	public function execute4($_1, $_2, $_3, $_4) {
+		if($this->scope == null) $this->scope= $_1;
+		$this->params = array($_1, $_2, $_3, $_4);
 		return $this->execute();
 	}
 
-	public function execute5(&$_1, &$_2, &$_3, &$_4, &$_5) {
-		if($this->scope == null) $this->scope= &$_1;
-		$this->params = array(&$_1, &$_2, &$_3, &$_4, &$_5);
+	public function execute5($_1, $_2, $_3, $_4, $_5) {
+		if($this->scope == null) $this->scope= $_1;
+		$this->params = array($_1, $_2, $_3, $_4, $_5);
 		return $this->execute();
 	}
 
-	public function execute6(&$_1, &$_2, &$_3, &$_4, &$_5, &$_6) {
-		if($this->scope == null) $this->scope= &$_1;
-		$this->params = array(&$_1, &$_2, &$_3, &$_4, &$_5, &$_6);
+	public function execute6($_1, $_2, $_3, $_4, $_5, $_6) {
+		if($this->scope == null) $this->scope= $_1;
+		$this->params = array($_1, $_2, $_3, $_4, $_5, $_6);
 		return $this->execute();
 	}
 
-	public function execute7(&$_1, &$_2, &$_3, &$_4, &$_5, &$_6, &$_7) {
-		if($this->scope == null) $this->scope= &$_1;
-		$this->params = array(&$_1, &$_2, &$_3, &$_4, &$_5, &$_6, &$_7);
+	public function execute7($_1, $_2, $_3, $_4, $_5, $_6, $_7) {
+		if($this->scope == null) $this->scope= $_1;
+		$this->params = array($_1, $_2, $_3, $_4, $_5, $_6, $_7);
 		return $this->execute();
 	}
 }