@@ -8,6 +8,7 @@
flash9 : fixed TypedDictionary.exists
all : added @:build for enums
neko : Std.parseFloat now returns NaN with invalid string
+ php: fixed Array.push must return the current length
2010-08-14: 2.06
neko : change serializer to be able to handle instances of basic classes from other modules
@@ -69,7 +69,7 @@ class _hx_array implements ArrayAccess, IteratorAggregate {
function push($x) {
$this->»a[] = $x;
- $this->length++;
+ return ++$this->length;
}
function remove($x) {