Replace printf with php_printf
Test extest_compat_array