Quellcode durchsuchen

fixed issue 659

Franco Ponticelli vor 13 Jahren
Ursprung
Commit
1e8cef94b5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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) {
-		if($end == null)
+		if($end === null)
 			return new _hx_array(array_slice($this->»a, $pos));
 		else
 			return new _hx_array(array_slice($this->»a, $pos, $end-$pos));