I am new to Zephir so I apologise if this is one of those 'should have read the docs' situation: Issue: When I use jsondecode() within a .zep file the build fails with ' undefined symbol: phpjsondecodeex in Unknown on line 0 '
My searches have revealed an optimizer for jsondecode, but optimizers are beyond me at present! I have found no other reference to jsondecode 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