P4 API for PHP

Introduction

P4 API for PHP, the PHP interface to the P4 API for C/C++, enables you to write PHP code that interacts with a P4 Server. P4 API for PHP enables your PHP scripts to:

  • Get P4 Server data and forms in arrays.
  • Edit P4 Server forms by modifying arrays.
  • Provide exception-based error handling and optionally ignore warnings.
  • Issue multiple commands on a single connection (performs better than spawning single commands and parsing the results).