I am new to Zephir so I apologise if this is one of those 'should have read the docs' situation: Issue: When I use json_decode() within a .zep file the build fails with ' undefined symbol: php_json_decode_ex in Unknown on line 0 '
My searches have revealed an optimizer for json_decode, but optimizers are beyond me at present! I have found no other reference to json_decode and Zephir.
This may be another clue to my problem:
Trying to use the Zephir built in functions array->merge(anotherArray) and var s = "Hello" s->length() the compiler / parser appears to work OK and installs my extension, but then I get 500 errors from Apache. Using PHP's array_merge(arrayA, arrayB) works OK, extension compiles, installs and works.
Any help appreciated.
Thanks in advance. Jonathan