PDO::sqliteCreateFunction
PDO_4D DSN
PDO Drivers
PHP Manual

# 4D Functions (PDO_4D)

## Introduction

Warning

This extension is EXPERIMENTAL. The behaviour of this extension including the names of its functions and any other documentation surrounding this extension may change without notice in a future release of PHP. This extension should be used at your own risk.

PDO_4D is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to 4D databases.

4D is an integrated platform that speeds and simplifies the development and deployment of business applications, used in over 70 countries, by a community of thousands of developers and vertical solution providers, with millions of end-users worldwide.

By offering a suite of integrated tools such as an ANSI SQL relational and transactional database, a graphical development environment, a fourth-generation language with over 1000 high-level commands, a built-in HTTP server, application server, etc., 4D facilitates the creation and maintenance of applications from one to hundreds of simultaneous users, whether on Windows, Mac or from any Web client.

4D is also an open platform, offering a complete API for plug-in creation, including various connectors that allow it to act as a back-end or front-end for many environments (Oracle via OCI, SOAP client or server, Flex data source, all ODBC databases, XML over HTTP, etc.)

In addition to the ability to interact with 4D applications across Web Services, 4D databases can now be directly accessed using the PDO_4D driver.

More details about the 4D development environment on » http://www.4d.com/.

PDO_4D is known to work with 4D versions 12 beta and up, for Mac OS X and Windows. Older plat-forms may work, but are unsupported.

## Table of Contents

- PDO_4D DSN — Connecting to 4D SQL server
- Constants for PDO_4D — Constants for PDO_4D
- SQL types with PDO_4D and PHP — SQL types with PDO_4D and PHP
- SQL acceptable by 4D — PDO and SQL 4D
- Examples with PDO_4D — Examples PDO_4D

PDO::sqliteCreateFunction
PDO_4D DSN
PDO Drivers
PHP Manual