Php uzantısı sorunlar

0 Cevap php

I get a tricky problem when i am trying to create a php extension with c, with an array returned. I do as some tutorials said, but i need to return an array. array_init(return_array) in all examples is said to initialize an returning-array, but i find nowhere the return_array is declared. So, i got error: error C2065: 'return_array' : undeclared identifier, however, if i add :

zval * return_array ;

But it throws your app cannot read address 000000f why?

Eğer milyonlarca kez thanx .... bana dizi-dönen içeren detaylı bir uzantısı örnek verebilirim

0 Cevap