php.NativeArray php.NativeAssocArray

haxe native array work only with php functions Globals.array_push, Globals.array_pop and etc?

how to work with native arrays from haxe?

Almost the same way you work with it in php:

import php.Globals.*;
import php.Syntax;

var a = new NativeArray();
a['hello'] = 'world';
array_push(a, 123);
unset(a['hello']);
//etc
1 Like