The ASE driver for PHP supports all the ASE datatypes in language query result
sets.
Also the ASE driver for PHP supports extended datatypes for remote procedure call
parameters. The sybase_rpc_bind_param_ex() API has been updated to
accept those datatypes.
The ASE driver for PHP uses the PHP datetime ISO 8601 parsing function, which is
available with the PHP driver extension. On some platforms, you might need to explicitly
instruct the PHP build process to export date/time functions. For example, you can use
these settings on the following plaforms:
- On Windows – add a reference of the
PHP_DLL_DEF_SOURCES variable to ext\date\php_date.def file. The Makefile
variable is a reference to ext\date\php_date.def that
contains EXPORTS for the PHP date core extension functions.
- On Linux – when using the gcc compiler to build a PHP environment, ensure that
the configure script does not set '--fvisibility=hidden' in CFLAGS.
- On AIX – when using the xlc compiler, ensure CFLAGS contains '-bexpall' before
compiling PHP environment.
See the Adaptive Server Enterprise Extension Module for PHP Programmers
Guide for more information about supported datatypes.