Browse Source

fixed issue 659

Franco Ponticelli 13 years ago
parent
commit
1e8cef94b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/php/Boot.hx

+ 1 - 1
std/php/Boot.hx

@@ -103,7 +103,7 @@ class _hx_array implements ArrayAccess, IteratorAggregate {
 	}
 	}
 
 
 	function slice($pos, $end) {
 	function slice($pos, $end) {
-		if($end == null)
+		if($end === null)
 			return new _hx_array(array_slice($this->»a, $pos));
 			return new _hx_array(array_slice($this->»a, $pos));
 		else
 		else
 			return new _hx_array(array_slice($this->»a, $pos, $end-$pos));
 			return new _hx_array(array_slice($this->»a, $pos, $end-$pos));