SlideShare a Scribd company logo
z/OS




IBM Ported Tools for z/OS: PHP for z/OS
Feature User’s Guide and Reference




                                    SA23-2210-00
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
z/OS




IBM Ported Tools for z/OS: PHP for z/OS
Feature User’s Guide and Reference




                                    SA23-2210-00
Note
  Before using this information and the product it supports, be sure to read the general information under “Notices” on page
  289.




First Edition, May 2007
This edition applies to Version 1 Release 1 of IBM Ported Tools for z/OS: PHP for z/OS Feature (5655-M23) and to
all subsequent releases and modifications until otherwise indicated in new editions.
IBM welcomes your comments. A form for readers’ comments may be provided at the back of this document, or you
may address your comments to the following address:
   International Business Machines Corporation
   Department 55JA, Mail Station P384
   2455 South Road
   Poughkeepsie, NY 12601-5400
   United States of America

   FAX (United States & Canada): 1+845+432-9405
   FAX (Other Countries):
      Your International Access Code +1+845+432-9405

   IBMLink™ (United States customers only): IBMUSM10(MHVRCFS)
   Internet e-mail: mhvrcfs@us.ibm.com
   World Wide Web: www.ibm.com/servers/eserver/zseries/zos/webqs.html
If you would like a reply, be sure to include your name, address, telephone number, or FAX number.
Make sure to include the following in your comment or note:
v Title and order number of this document
v Page number or topic related to your comment
When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any
way it believes appropriate without incurring any obligation to you.
© Copyright International Business Machines Corporation 2006. All rights reserved.
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Contents
                         Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . v

                         About this document . . . . . . . . . . .                              .        .        .        .        .        .        .        .        .        .        .    vii
                         Who should use this document? . . . . . . .                             .        .        .        .        .        .        .        .        .        .        .   vii
                         Where to find more information . . . . . . . .                          .        .        .        .        .        .        .        .        .        .        .   vii
                           Softcopy publications . . . . . . . . . . .                           .        .        .        .        .        .        .        .        .        .        .   vii
                           IBM Systems Center publications . . . . . .                           .        .        .        .        .        .        .        .        .        .        .   vii
                           Using LookAt to look up message explanations .                       .        .        .        .        .        .        .        .        .        .        .    viii
                           Using IBM Health Checker for z/OS . . . . .                          .        .        .        .        .        .        .        .        .        .        .    viii

                         Chapter 1. Introduction .      .   .   .   .   .   .   .   .   .   .        .        .        .        .        .        .        .        .        .        .        .    1
                         Finding more information .     .   .   .   .   .   .   .   .   .   .        .        .        .        .        .        .        .        .        .        .        .    1
                         Script engine support . .      .   .   .   .   .   .   .   .   .   .        .        .        .        .        .        .        .        .        .        .        .    1
                         Restrictions and limitations   .   .   .   .   .   .   .   .   .   .        .        .        .        .        .        .        .        .        .        .        .    3

                         Chapter 2. Installing PHP for z/OS . . .                   .   .   .        .        .        .        .        .        .        .        .        .        .        .    5
                         Pre-installation planning . . . . . . . .                  .   .   .        .        .        .        .        .        .        .        .        .        .        .    5
                           File-System Allocation . . . . . . . .                   .   .   .        .        .        .        .        .        .        .        .        .        .        .    5
                           Files and directory structure . . . . .                  .   .   .        .        .        .        .        .        .        .        .        .        .        .    5
                           Migrating from previous versions of PHP .                .   .   .        .        .        .        .        .        .        .        .        .        .        .    5
                         Post-installation setup . . . . . . . . .                  .   .   .        .        .        .        .        .        .        .        .        .        .        .    7
                           Adding symbolic link for man page . . .                  .   .   .        .        .        .        .        .        .        .        .        .        .        .    7
                           Adding symbolic link to php in /usr/bin . .              .   .   .        .        .        .        .        .        .        .        .        .        .        .    7

                         Chapter 3. Considerations for porting or writing PHP scripts .                                                       . . . .                             . . 9
                         The location of php on your system . . . . . . . . . . . .                                                           . . . .                             . . 9
                         Using application servers . . . . . . . . . . . . . . .                                                              . . . .                             . . 9
                            Enabling CGI applications for use with IHS . . . . . . .                                                         . . . .                             . . 10
                         Bootstrap statement not required . . . . . . . . . . . .                                                            . . . .                             . . 10
                         Calls to UNIX commands and utilities . . . . . . . . . .                                                            . . . .                             . . 10
                         Message numbers . . . . . . . . . . . . . . . . . .                                                                 . . . .                             . . 11
                         EBCDIC versus ASCII . . . . . . . . . . . . . . . .                                                                 . . . .                             . . 11
                            Sort order differences . . . . . . . . . . . . . . .                                                             . . . .                             . . 11
                            Characters versus code points . . . . . . . . . . . .                                                            . . . .                             . . 12
                            Non-contiguous character ranges . . . . . . . . . . .                                                            . . . .                             . . 13
                         Iconv function . . . . . . . . . . . . . . . . . . .                                                                . . . .                             . . 13
                         Handling Unicode and multi-byte characters . . . . . . . .                                                          . . . .                             . . 13
                         System functions . . . . . . . . . . . . . . . . . .                                                                . . . .                             . . 14
                         Floating point . . . . . . . . . . . . . . . . . . .                                                                . . . .                             . . 15
                            Floating point special values . . . . . . . . . . . . .                                                          . . . .                             . . 15
                            Floating point precision issues . . . . . . . . . . . .                                                          . . . .                             . . 16
                            Converting between float and other types . . . . . . . .                                                         . . . .                             . . 16
                         Heap management . . . . . . . . . . . . . . . . .                                                                   . . . .                             . . 16
                         Hash functions . . . . . . . . . . . . . . . . . . .                                                                . . . .                             . . 17
                         Random number generator . . . . . . . . . . . . . .                                                                 . . . .                             . . 17
                         Using XML with PHP for z/OS . . . . . . . . . . . . .                                                               . . . .                             . . 17

                         Chapter 4. PHP application development with z/OS DB2                                              .        .        .        .        .        .        .        .    19
                         Overview of the relationship between PHP and DB2 . . .                                            .        .        .        .        .        .        .        .    19
                         Requirements for using z/OS DB2 with PHP applications .                                           .        .        .        .        .        .        .        .    20
                         The PDO extension . . . . . . . . . . . . . . .                                                   .        .        .        .        .        .        .        .    21
                         How to access z/OS DB2 from PHP sample code . . . .                                               .        .        .        .        .        .        .        .    22
                         More examples for using PHP with database applications .                                          .        .        .        .        .        .        .        .    23

© Copyright IBM Corp. 2006                                                                                                                                                                         iii
Tips for avoiding common z/OS DB2 problems . . . . . . . . . . . . . 24
                          Tips for porting PHP applications from a MySQL database to z/OS DB2 . . . . 26

                          Chapter 5. PHP command           reference    .    .       .       .       .       .       .       .       .       .       .       .       .       .       .       .   29
                          Synopsis . . . . . . .            . . . .     .    .       .       .       .       .       .       .       .       .       .       .       .       .       .       .   29
                          Description . . . . . .           . . . .     .    .       .       .       .       .       .       .       .       .       .       .       .       .       .       .   29
                          Options. . . . . . . .            . . . .     .    .       .       .       .       .       .       .       .       .       .       .       .       .       .       .   29

                          Chapter 6. PHP messages . . . . . . . . . . . . . . . . . . . . 31

                          Appendix A. Known problems . . . . . . . . . . . . . . . . . . 271

                          Appendix B. Code pages . . . . . . . . . . . . . . . . . . . . 273

                          Appendix C. DateTime functions . . . . . . . . . . . . . . . . . 275

                          Appendix D. Accessibility . .          . . . .         .       .       .       .       .       .       .       .       .       .       .       .       .       .   287
                          Using assistive technologies .         . . . .         .       .       .       .       .       .       .       .       .       .       .       .       .       .   287
                          Keyboard navigation of the user       interface.       .       .       .       .       .       .       .       .       .       .       .       .       .       .   287
                          z/OS information . . . . . .           . . . .         .       .       .       .       .       .       .       .       .       .       .       .       .       .   287

                          Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
                          Trademarks. . . . . . . . . . . . . . . . . . . . . . . . . . 290

                          Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291




iv   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Tables
1.   CGI and FastCGI environment variables. . . . . . . . . . . . . . . . . . . . . . . 1
2.   Supported hash functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.   PDO_ODBC supported and non-supported methods . . . . . . . . . . . . . . . . . . 21
4.   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275




© Copyright IBM Corp. 2006                                                             v
vi   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
About this document
                         This document presents the information you need to set up and use IBM Ported
                         Tools for z/OS: PHP for z/OS Feature.

Who should use this document?
                         This document is for the system programmers who run a z/OS system with z/OS
                         UNIX System Services (z/OS® UNIX®), and for their users who use IBM Ported
                         Tools for z/OS: PHP for z/OS Feature. On other open systems, some system
                         programmer tasks may be done by an administrator.

                         This document assumes the readers are familiar with z/OS systems and with the
                         information for z/OS and its accompanying products.

Where to find more information
                         Where necessary, this document references information in other documents about
                         the elements and features of z/OS. For complete titles and order numbers for all
                         z/OS documents, see z/OS Information Roadmap.

                         Direct your request for copies of any IBM publication to your IBM representative or
                         to the IBM branch office serving your locality.

                         There is also a toll-free customer support number (1-800-879-2755) available
                         Monday through Friday from 6:30 a.m. through 5:00 p.m. Mountain Time. You can
                         use this number to:
                         v Order or inquire about IBM publications
                         v Resolve any software manufacturing or delivery concerns
                         v Activate the program reorder form to provide faster and more convenient ordering
                           of software updates

Softcopy publications
                         The z/OS library is available on the z/OS Collection Kit, SK2T-6700. This softcopy
                         collection contains a set of z/OS and related unlicensed product documents. The
                         CD-ROM collection includes the IBM® Library Reader™, a program that enables
                         customers to read the softcopy documents.

                         Softcopy z/OS publications are available for web-browsing and PDF versions of the
                         z/OS publications for viewing or printing using Adobe Acrobat Reader. Visit the z/OS
                         library at www.ibm.com/servers/eserver/zseries/zos/bkserv/.

IBM Systems Center publications
                         IBM Systems Centers produce Redbooks that can be helpful in setting up and using
                         z/OS. You can order these publications through normal channels, or you can view
                         them with a Web browser. See the IBM Redbooks site at www.ibm.com/redbooks.

                         These documents have not been subjected to any formal review nor have they
                         been checked for technical accuracy, but they represent current product
                         understanding (at the time of their publication) and provide valuable information on
                         a wide range of z/OS topics. You must order them separately.



© Copyright IBM Corp. 2006                                                                                 vii
Using LookAt to look up message explanations
                          LookAt is an online facility that lets you look up explanations for most of the IBM
                          messages you encounter, as well as for some system abends and codes. Using
                          LookAt to find information is faster than a conventional search because in most
                          cases LookAt goes directly to the message explanation.

                          You can use LookAt from the following locations to find IBM message explanations
                          for z/OS elements and features, z/VM®, VSE/ESA™, and Clusters for AIX® and
                          Linux:
                          v The Internet. You can access IBM message explanations directly from the LookAt
                             Web site at http://www.ibm.com/eserver/zseries/zos/bkserv/lookat/.
                          v Your z/OS TSO/E host system. You can install code on your z/OS or z/OS.e
                             systems to access IBM message explanations, using LookAt from a TSO/E
                             command line (for example, TSO/E prompt, ISPF, or z/OS UNIX System
                             Services).
                          v Your Microsoft® Windows® workstation. You can install code to access IBM
                             message explanations on the z/OS Collection (SK3T-4269), using LookAt from a
                             Microsoft Windows command prompt (also known as the DOS command line).
                          v Your wireless handheld device. You can use the LookAt Mobile Edition with a
                             handheld device that has wireless access and an Internet browser (for example,
                             Internet Explorer for Pocket PCs, Blazer, or Eudora for Palm OS, or Opera for
                             Linux handheld devices). Link to the LookAt Mobile Edition from the LookAt Web
                             site.

                          You can obtain code to install LookAt on your host system or Microsoft Windows
                          workstation from a disk on your z/OS Collection (SK3T-4269), or from the LookAt
                          Web site (click Download, and select the platform, release, collection, and location
                          that suit your needs). More information is available in the LOOKAT.ME files
                          available during the download process.

Using IBM Health Checker for z/OS
                          IBM Health Checker for z/OS is a z/OS component that installations can use to
                          gather information about their system environment and system parameters to help
                          identify potential configuration problems before they impact availability or cause
                          outages. Individual products, z/OS components, or ISV software can provide checks
                          that take advantage of the IBM Health Checker for z/OS framework. This book may
                          refer to checks or messages associated with this component.

                          For additional information about checks and about IBM Health Checker for z/OS,
                          see IBM Health Checker for z/OS: User’s Guide. z/OS V1R4, V1R5, and V1R6
                          users can obtain the IBM Health Checker for z/OS from the z/OS Downloads page
                          at http://www.ibm.com/servers/eserver/zseries/zos/downloads/.

                          SDSF also provides functions to simplify the management of checks. See z/OS
                          SDSF Operation and Customization for additional information.




viii   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Chapter 1. Introduction
                         PHP, which stands for ″PHP: Hypertext Preprocessor″, is an open source
                         general-purpose scripting language that is particularly suited for Web development
                         and can be embedded into HTML.

                         IBM Ported Tools for z/OS: PHP for z/OS Feature (PHP for z/OS) is a ported
                         version of the PHP scripting language (version 5.1.2) available from php.net. PHP
                         for z/OS has been tested and packaged for use on z/OS.

                         This document is designed specifically for users of the PHP for z/OS product, and
                         assumes the user has working knowledge of PHP. For more information on the IBM
                         Ported Tools for z/OS product, go to the following site: http://www.ibm.com/
                         servers/eserver/zseries/zos/unix/port_tools.html

Finding more information
                         Information specific to the z/OS UNIX implementation of PHP can be found in this
                         document. For general information about the PHP language including links to
                         additional reference sources, refer to the PHP Web site:
                         http://www.php.net

                         The official online source for PHP core user documentation can be found on the
                         PHP Web site:
                         http://www.php.net/docs.php

                         There are also mailing lists that may prove useful. To subscribe to these mailing
                         lists, go to the following site:
                         http://www.php.net/mailing-lists.php

                         And finally, there is the MVS-OE forum which provides general discussions on z/OS
                         UNIX topics. Go here to subscribe:
                         http://www-03.ibm.com/servers/eserver/zseries/zos/unix/bpxa1dis.html

                         Note: IBM is not responsible for content or examples provided by non-IBM Web
                               sites or other non-IBM resources.

Script engine support
                         PHP for z/OS contains support for two versions of the PHP script engine: Web
                         scripting and command-line scripting. The Web scripting engine (php_cgi) supports
                         both CGI and FastCGI environments. php_cgi is the default engine and is invoked
                         via the symbolic link /usr/lpp/php/5.1.2/bin/php. The command-line scripting
                         engine (php_cli) supports the command-line environment. The following table
                         displays the environment variables required for both CGI and FastCGI support:
                             Table 1. CGI and FastCGI environment variables
                             Environment variable         CGI                     FAST_CGI
                             SCRIPT_FILENAME              /docroot/info.php       /path/to/php/bin/php/php-cgi
                             SCRIPT_NAME                  /info.php               /php/php-cgi
                             REQUEST_URI                  /info.php               /info.php




© Copyright IBM Corp. 2006                                                                                       1
For information on how to enable CGI functions by installing IBM HTTP Server, see
                         IBM HTTP Server for WebSphere Application Server, Version 6.1 on the Websphere
                         Information Center.

                         Restriction: mod_php is incompatible and cannot be used with IBM HTTP Server.

                         For configuration information not related to Websphere, see Apache HTTP Server
                         Version 2.0 Documentation

                         To enable FastCGI functions, add the statements below to the httpd.conf file.

                         Note: Some statements will need to be modified according to your system
                               configurations, for example /fastcgi-bin /u/USER293/fastcgi-bin/.

                         # Home of php wrappers which are the only thing directly run by fastcgi
                         ScriptAlias /fastcgi-bin /u/USER293/fastcgi-bin/

                         # Ths php wrapper referred to above:
                         ##!/bin/sh
                         #
                         #PHP_FCGI_CHILDREN=1
                         #PHP_FCGI_MAX_REQUESTS=2000
                         #
                         #
                         #export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS
                         #
                         ## The real php binary
                         #exec /u/USER293/bin/php $*


                         <Location>
                         SetHandler fastcgi-script</Location>

                         # User scripts run as CGI
                         ScriptAlias /php-cgi/     /u/USER293/cgi-bin/

                         # User scripts run as fastcgi using dynamic servewr
                         ScriptAlias /php-fastcgi/ /u/USER293/cgi-bin/

                         # User scripts run via the statically defined FastCGIServer
                         ScriptAlias /php-fastcgi-static/ /u/USER293/cgi-bin/

                         <Location>
                         Options FollowSymLinks
                         AllowOverride None
                         CharsetSourceEnc IBM-1047
                         CharsetDefault ISO8859-1</Location>

                         # Apache will dynamically start the PHP interpreter via the wrapper when it’s required
                         AddHandler php4-script .php
                         <Location>
                         Action php4-script /fastcgi-bin/php</Location>

                         # This is the same as the other PHP wrapper, but with a different name
                         # It will be started at initialization time
                         FastCGIServer /u/USER293/fastcgi-bin/php-static -processes 2
                         <Location>
                         Action php4-script /fastcgi-bin/php-static</Location>

                         #   Valid URLs are
                         #   http://foo/php-cgi/info.php
                         #   http://foo/php-fastcgi/info.php
                         #   http://foo/php-fastcgi-static/info.php


2   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Restrictions and limitations
               The below restrictions and limitations apply to PHP for z/OS:
               v Custom extensions are not supported.
               v The following functions have restrictions in their use:
                 mail (string to, string subject, string message [, string additional_headers [,
                 string additional_parameters]])
                         PHP implements mail() by calling the system function mailx directly. The
                         parameters additional_headers and additional_parameters should not be
                         used in PHP for z/OS. If they are used, the paramerters will function as
                         follows:
                         1. Any input for the parameter additional_headers will be used as the
                              mail body.
                         2. Any input for the parameter additional_parameters will generate
                              warning messages, such as the following:
                              FSUMA930 /bin/mailx: Unknown option -w
                 error_log (string message [, int message_type [, string destination [, string
                 extra_headers]]])
                         If the input for the parameter message_type is equal to 1, then this
                         function will call mailx. This will have the same restrictions as the PHP
                         mail() function.
               v mod_php cannot be used with IBM HTTP Server.




                                                                               Chapter 1. Introduction   3
4   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Chapter 2. Installing PHP for z/OS
                         This chapter should be read before installing PHP for z/OS. It consists of the
                         following sections which provide pre-installation planning information and additional
                         post-installation steps.
                         v Pre-installation Planning. This section provides information for file-system
                            allocation and help on locating and relocating or removing previous versions of
                            PHP that may reside on your system.
                         v Post-installation setup. This section provides required and optional
                            post-installation steps such as providing symbolic links to PHP for z/OS.

Pre-installation planning
                         The following sections provide you with information that will be helpful in planning to
                         install PHP for z/OS.

File-System Allocation
                         PHP for z/OS will installed into /usr/lpp/php/5.1.2. The Program Directory for IBM
                         Ported Tools for z/OS describes that an HFS file-system of 265 tracks of 3390
                         DASD is required. This is approximately 12.5MB (assuming 15 tracks/cyl and
                         737,280 bytes/cylinder for a 3390 device).

Files and directory structure
                         PHP for z/OS will be installed into the following directories and files as follows:
                         /usr/lpp/php/5.1.2                       Parent directory for PHP for z/OS
                         /usr/lpp/php/5.1.2/bin                   Directory for PHP executable files
                         /usr/lpp/php/5.1.2/bin/php               PHP executeable (symbolic link to php_cgi)
                         /usr/lpp/php/5.1.2/bin/php_cli           PHP executeable for command line scripting
                         /usr/lpp/php/5.1.2/bin/php_cgi           PHP executeable for CGI scripting
                         /usr/lpp/php/5.1.2/ini                   PHP sample configuration files
                         /usr/lpp/php/5.1.2/man                   Directory for PHP man page

                         Note: The files php.ini-dist and php.ini-recommended are available in the ini
                               directory. Both of these files are identical to what you would find in a typical
                               PHP package. For more information on the php.ini file, see
                               http://www.php.net/ini.core.

                         The following symbolic links are not automatically created by the installation
                         process, and therefore need to be created during post installation. (See
                         “Post-installation setup” on page 7 for more information on defining these links):
                         /usr/bin/php                  -> /usr/lpp/php/5.1.2/bin/php
                         /usr/man/C/man1/hphza200.book -> /usr/lpp/php/5.1.2/man/C/man1/hphza200.book

Migrating from previous versions of PHP
                         Before installing PHP for z/OS, you should check if a previous version of PHP
                         acquired from another source has already been installed. Because these versions
                         are not supported, you may wish to remove them. However, PHP for z/OS can
                         co-exist with previous versions, so if you choose to retain them, you will need to
                         make sure that the location of the previous PHP module and PHP utilities does not
                         conflict.

                         Although PHP for z/OS is functionally equivalent to other available versions of PHP
                         at the same level or earlier, PHP itself has occasionally introduced changes

© Copyright IBM Corp. 2006                                                                                        5
between versions which are not compatible with previous versions and so your user
                         community may need access to the previous version until those version-related
                         migration issues are resolved. Therefore, you should retain any previous versions
                         until your user community has transitioned to PHP for z/OS .

                         The PHP application consists of two different versions of the PHP interpreter: one
                         designed primarily for command-line scripting, and one designed for web-based
                         scripting. The command-line scripting version is named ″php_cli″, while the
                         web-based version is named ″php_cgi″. For convenience, the latter version has a
                         symbolic link named ″php″ pointing to it.

                         PHP for z/OS will be installed into directories in /usr/lpp/php/5.1.2. This is a unique
                         directory specific to PHP for z/OS and so during the installation into these
                         directories there should be no risk of conflict with other versions of PHP.

                         It is customary, however, for the PHP executable or links to it, to be located in
                         /usr/bin, and/or /usr/local/bin (and sometimes /bin). A symbolic link to php
                         should be defined in one of these directories. This is the point at which a conflict
                         with a previous version of PHP may occur. So, if you have a previous version, you
                         will need to make sure to remove or rename these executables or symbolic links.

                         Tips for finding previous versions of PHP
                         As stated in “Migrating from previous versions of PHP” on page 5, the only conflict
                         during the installation of PHP for z/OS and a previous version of PHP may be in the
                         /usr/bin/ or /usr/local/bin/ directories where the executables are typically
                         installed. So, this section will focus on providing tips for finding the executables.
                         v Use the whence command. If php is located in a directory which is defined in
                            $PATH, then the whence command will indicate which directory it is in. From the
                            UNIX command line, enter: whence php
                         v Check common directories. Typically, the php module, or a link to it, is installed
                            in one or more of the following directories:
                            /usr/bin
                            /usr/local/bin
                            /bin                  (although not typical)

                           Do an ″ls -ld php*″ in each of these directories.
                         v Use the find command. The find command is the most thorough method as it
                           performs a search on all directories. However, it can take several minutes to run
                           on systems with heavily populated file-systems. Also, to check all paths, it will
                           most likely need to be run as a superuser. You may wish to restrict the find to
                           system directories such as /usr or /bin. Examples:
                            find /usr -type f -name "php*"
                            find /bin -type f -name "php*"
                            If you run this command as a non-superuser, you may wish to redirect all error
                            messages for directories you do not have access to to /dev/null. To do so, add
                            ″ 2> /dev/null″ to the end of the above find commands.

                         Removing or relocating previous versions of PHP
                         If you have determined that you have a previous version of PHP, you need to
                         determine whether you should remove it or relocate it. It is advisable that you
                         initially relocate previous versions-- rather than remove them-- until you are
                         satisfied that your user community has no dependencies on them.

                         Some other considerations:



6   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
v php executables from previous versions which have been installed in the
                 common locations should be relocated or removed to avoid conflict with
                 executables provided with PHP for z/OS. The complete list of these potential
                 extensions follows (however, not all of these are supported in PHP for z/OS):
                 php          php5.*.*

               Analyzing existing PHP scripts
               If you have a previous version of PHP installed, then there are probably user-written
               PHP scripts on the system as well. While PHP does not guarantee that it is
               upwardly compatible, it is rare to encounter problems due to this. So, there is a high
               likelihood that existing scripts will work fine with PHP for z/OS without modification.

               If you have mission-critical PHP applications, you should test them with PHP for
               z/OS before making it the default version of PHP on your system. This can be done
               by installing PHP for z/OS but not creating the symbolic links in the standard
               directories such as /usr/bin. This way, you can continue to use the previous
               version while directing specific test scripts to the new PHP for z/OS php installed as
               /usr/lpp/php/5.1.2/bin/php.

Post-installation setup
               This section describes the post-installation steps.

Adding symbolic link for man page
               The PHP for z/OS man page file is hphza200.book and is located in the directory
               /usr/lpp/php/5.1.2/man/C/man1/. In order to view this with the command man php,
               the directory /usr/lpp/php/5.1.2/man/C (without the ″/man1/″) needs to be added
               to the default MANPATH environment variable defined in /etc/profile.

               Alternately, you can create a symbolic link to hphza200.book in the
               /usr/man/C/man1/ directory which is typically defined as the default path of
               MANPATH in /etc/profile. To do this:
               cd /usr/man/C/man1
               ln -s /usr/lpp/php/5.1.2/man/C/man1/hphza200.book     hphza200.book

Adding symbolic link to php in /usr/bin
               php is typically installed into /usr/bin (and sometimes also /usr/local/bin or /bin
               although these are less often done). A symbolic link for php can be created in
               /usr/bin which points to /usr/lpp/php/5.1.2/bin/php. For example:
               cd /usr/bin
               ln -s /usr/lpp/php/5.1.2/bin/php     php

               You may also wish to create a symbolic link in /usr/local/bin which is less typical
               than /usr/bin although reasonably common. It is not advisable to create a link in
               /bin although that can be found on some systems.




                                                                     Chapter 2. Installing PHP for z/OS   7
8   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Chapter 3. Considerations for porting or writing PHP scripts
                         The purpose of this chapter is to familiarize you with those aspects of PHP which
                         may differ on z/OS UNIX as compared with other platforms. While every effort has
                         been made to ensure that the behavior of PHP for z/OS is consistent with PHP on
                         other platforms, each platform has its unique characteristics that can affect how
                         PHP operates. When writing a new PHP script, particularly one that might be used
                         on other platforms, or when porting a PHP script from another platform to z/OS
                         UNIX, you should keep in mind the issues discussed in this chapter.

                         The following topics are discussed:
                         v “The location of php on your system”
                         v “Using application servers”
                         v “EBCDIC versus ASCII” on page 11
                         v “Bootstrap statement not required” on page 10
                         v “Calls to UNIX commands and utilities” on page 10
                         v “Message numbers” on page 11
                         v “EBCDIC versus ASCII” on page 11
                         v   “Iconv function” on page 13
                         v   “System functions” on page 14
                         v   “Handling Unicode and multi-byte characters” on page 13
                         v   “Floating point” on page 15
                         v   “Heap management” on page 16
                         v   “Hash functions” on page 17
                         v   “Random number generator” on page 17
                         v   “Using XML with PHP for z/OS” on page 17

The location of php on your system
                         It is standard practice to define the location of php on the first line of a PHP script.
                         For example:
                         #!/usr/bin/php

                         The default installation path of the php module is /usr/lpp/php/5.1.2/bin/php,
                         however, /usr/bin/php should be created as a symbolic link to
                         /usr/lpp/php/5.1.2/bin/php so that no changes are required to your PHP scripts.

                         Your system administrator may have purposely or accidentally overlooked creating
                         this link, so if your PHP script fails, verify that the location of php on your sytem
                         matches that defined in your script.

Using application servers
                         IBM HTTP Server (IHS) is supported by PHP. This section will describe how CGI
                         applications can be made to work with IHS, along with any environment variables
                         that would need to be configured.




© Copyright IBM Corp. 2006                                                                                          9
Enabling CGI applications for use with IHS
                         To enable IHS to execute a CGI application, a directory must be configured to allow
                         for execution. This is done by adding a line to the httpd.conf configuration file for
                         IHS. The line would look something like the following:
                         Exec               /cgi-bin/*          /usr/lpp/internet/server_root/cgi-bin/*

                         This will allow scripts in the cgi-bin directory to be properly run. If this is not set,
                         then the script files will just be displayed as normal files.

                         After setting up IHS to allow for CGI execution, you can test it by creating a small
                         script in the cgi-bin directory like the following:
                         #!/bin/sh
                         printf "Content-type: text/htmlnn"
                         printf "<html><body>The test.sh cgi-bin script is working</body></html>n";

                         You should then set the permissions on the script to 0755 to allow for execution.
                         You should then be able to load the file through your Web browser, and see the
                         script output as a Web page. If you see the raw contents of the script file, then you
                         need to check your configuration.

                         Now you need to set the PHPRC environment variable. This will make the php.ini
                         file accessible to the PHP CGI script thats running on the IHS server (for
                         information on the php.ini file, see http://www.php.net/ini.core). This environment
                         variable is set in the IHS configuration file, httpd.envvars. The PHPRC
                         environment variable will indicate where the php.ini file can be found by PHP
                         engine while running on the IHS server. Once found, all the php.ini file directives
                         can then act on the PHP CGI script based on the IHS server. The following
                         example shows how to set the PHPRC environment variable in httpd.envvars. After
                         setting the environment variable, you will need to re-start the IHS server for the
                         changes to take effect.
                         PHPRC=/etc

                         Note: The default location for the php.ini configuration file is the /etc directory. If
                               this is not the case on your system, make sure to replace /etc with the
                               actual location of the php.ini file.

Bootstrap statement not required
                         Prior to OS/390 V2R8, the shell did not support the shbang ( ″#!...″, ″pound bang″,
                         or ″Magic Number″), so the ″#!/usr/bin/php″ statement was not recognized. In
                         order to get PHP scripts to run, you had to insert the following statement at the
                         beginning of the script:
                         eval ’exec /usr/bin/php -S $0 ${1+"$@"}’
                         if 0;

                         If you have these in your scripts, they should be removed and the proper shbang
                         statement used. If you leave them in, your scripts will still work fine (presuming
                         you’ve installed php in the same location), but they will probably cause unnecessary
                         confusion to new developers as well as reducing performance.

Calls to UNIX commands and utilities
                         When porting scripts from other platforms that contain calls to UNIX system
                         commands or utilities, be aware that the syntax or behavior of these commands
                         may vary. Two examples to illustrate this:

10   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
v The sort utility (not to be confused with the PHP sort() function although this
                 issue applies to it as well), can sort data in a different order depending on the
                 platform. For more details, refer to “Sort order differences.”
               v The date command, while a standard utility on UNIX systems, may vary from
                 platform to platform and an option supported by date on other platforms may not
                 be supported on z/OS UNIX, or vice-versa. The following examples show date
                 commands that would not execute on other platforms:
                 z/OS:    date -c
                 linux:   date -d "12/31/03 23:59" "+%s"
                 FreeBSD: date "-j -f "%Y%m%d_%H:%M" 20031231_23:59           "+%s"


Message numbers
               To enhance serviceability, IBM assigns a unique message number to each
               informational, warning and error message generated by PHP. These message
               numbers are of the form HPH0xxxx where xxxx is a unique four digit number.

               If your script or process needs to compare these messages against an expected
               message, the presence of the message number can cause the message to not
               match. For this reason, message numbering can be disabled by setting the
               _PHP_NOMSGID environment variable to 1 prior to running the script. For example:
               export _PHP_NOMSGID=1


EBCDIC versus ASCII
               EBCDIC, which stands for Extended Binary-Coded-Decimal Interchange Code, is
               the code set used on z/OS UNIX. By contrast, ASCII is the dominant code set on
               almost all other platforms. Scripts written for ASCII platforms without an awareness
               of code set independent coding practices, can run incorrectly on z/OS UNIX. The
               following sections discuss some of these issues.

               It can be helpful to visualize the differences between the code pages. To facilitate
               this, graphical representations of the EBCDIC (IBM-1047) and ASCII (ISO8859-1)
               code pages have been provided in Appendix B, “Code pages,” on page 273.

               For a general overview of character sets and code pages, refer to National
               Language Support Reference Manual, Volume 2, SE09-8002.

Sort order differences
               The default sort order for text differs between ASCII and EBCDIC platforms. When
               using the PHP sort() function or the UNIX sort utility, you should be aware of these
               differences. They can cause unexpected behavior in your scripts.

               The following table demonstrates how the sort order for text varies. The ″Orig″
               column shows a random assortment of characters. The following columns show the
               different sort orders generated by the PHP sort() function and the UNIX sort utility
               on both z/OS UNIX and Linux platforms:
               ----     ------------     ------------
                            z/OS            Linux
               Orig     sort() sort      sort() sort
               ----     ------ ----      ------ ----
                =
                A          :     0           0        =
                0          =     9           9        :
                Z          a     :           :        0
                :          z     =           =        9

                                                 Chapter 3. Considerations for porting or writing PHP scripts   11
A      A            A       a
                          z            Z      Z            Z       A
                          9            0      a            a       z
                          a            9      z            z       Z

Characters versus code points
                         One of the most common problems when porting scripts from other platforms to
                         z/OS is caused by the technique of referring to characters using their codepoint
                         (ordinal) value rather than their symbolic value. For example, consider the following
                         code:
                         $x=ord(’A’);
                         if ($x == 0x41)
                           { print "x is ’A’     n"; }
                          else
                           { print "x is not ’A’ n"; }

                         The if statement would only be true on an ASCII platform where the ordinal value of
                         the character A is 0x41. If this code were run on z/OS UNIX, it would print x is not
                         ’A’ because the ordinal value of ’A’ on an EBCDIC codepage is 0xC1.

                         Newline (″n″)
                         The ordinal value of the newline (″n″) character is different between EBCDIC and
                         ASCII. So, the symbolic representation of this character should always be used
                         rather than the ordinal values. The following are incorrect and correct examples:
                         print "Hello World 012";        # incorrect
                         print "Hello World n";          # correct

                         The following table shows the ordinal value of the newline character in both
                         EBCDIC and ASCII:
                                                     Dec Octal     Hex
                         EBCDIC                       21  025      0x15
                         ASCII                        10  012      0xA

                         PHP pack() and unpack() functions
                         When using the pack and unpack functions, keep in mind that the length value is
                         taken from the character code point. Because of this, the behavior of these
                         functions will differ when used on an EBCDIC platform as compared to an ASCII or
                         other character set platform.

                         The following is an example code fragment containing the unpack function:
                         my $b = "Xt01234567n" x 100;
                         my @a = unpack("(a1 c/a)*", $b);

                         In the above code fragment, the unpack function is attempting to unpack $b into an
                         array with a resulting size of 200 with each value alternating between ″X″ and
                         ″01234567n″; for example, ($a[0] = ″X″; $a[1] = ″01234567n″;), where a1 refers to
                         the X value (a one character long string item) and c/a refers to ″01234567n″.
                         However, this does not occur as expected on the EBCDIC system. The reason is in
                         how ″″ works in the unpack function. The value before the ″″ is the length-item
                         and the value after is the string-item. The length-item dictates the number of
                         string-items to retrieve. In this case, the length-item is ″t″ (tab) which on an ASCII
                         system has the ordinal value of 9, indicating that a nine character long string item
                         should to be retrieved next. (The ()* part indicates that this should be done
                         repetitively until the end of $b is encountered.) However, on the EBCDIC system,
                         the ordinal value for t may not be 9. On some EBCDIC systems it is 5. Because of
                         this discrepancy in code points, the results of running the pack and unpack
                         functions will differ if you are running in on EBCDIC platform as compared to an

12   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
ASCII or other platform. Because the z/OS environment is EBCDIC, you will need
                 to be aware of this when using the pack and unpack functions in this environment.

Non-contiguous character ranges
                 EBCDIC does not have the alphabet in a contiguous manner - there are gaps. For
                 example, the character ’>>’ that lies between ’i’ and ’j’ will not be translated by the
                 tr/i-j/X. This works in the other direction too, if either of the range endpoints is
                 numeric, tr/x89-x91/X will translate x8b, even though ’x89’ is ’i’ and ’x91’ is ’j’
                 and ’x8b’ are gapped characters from the alphabetic viewpoint. Thus, knowledge of
                 these gapped characters on the z/OS platform is required to write scripts.

Iconv function
                 According to the PHP manual, iconv ″Performs a character set conversion on the
                 string str from in_charset to out_charset. Returns the converted string or FALSE on
                 failure.″

                 On z/OS platform, the default character set is IBM-1047. Issue the command iconv
                 –l from a shell prompt to find out which character sets are supported on z/OS
                 UNIX. Following examples show the difference between Linux and z/OS UNIX:
                 z/OS UNIX: IBM-1046 IBM-1047 IBM-1089
                 Linux: IBM1046 IBM1047 IBM1089


Handling Unicode and multi-byte characters
                 Since the default character set in z/OS UNIX is EBCDIC, some consideration is
                 needed when working with Unicode and multi-byte character related functions. The
                 following figures help illustrate the differences of running these functions on z/OS
                 UNIX, an EBCDIC based platform, to other platforms, which are ASCII based. Even
                 though you may not encounter such a scenario in PHP programming, it is still a
                 good example:




                 Figure 1. Example Unicode scenario

                 The following figure shows the expected result:




                                                  Chapter 3. Considerations for porting or writing PHP scripts   13
Figure 2. Unicode scenario results from running on non-z/OS UNIX platforms

                         However, if it is run on z/OS UNIX, the expected result is as follows:




                         Figure 3. Unicode scenario results from running on z/OS UNIX

                         On z/OS UNIX, the multi-byte characters ^47^63 represent different characters as
                         compared to an ASCII platform. This prevents them from being converted to
                         &aring;&Auml;

System functions
                         PHP calls system functions to implement some of the basic functions, such as
                         mkdir(), fopen(), popen() and so on. Because z/OS UNIX is a UNIX standard
                         compatible system, you should not encounter problems when using these functions
                         except for EBCDIC to ASCII situations. It is possible, however, that you may
                         encounter some difficulties if you attempt to implement some programming tricks.

                         The following is an example:
                         #include <unistd.h>
                         int main(int argc, char *argv[]){
                           int c;
                           extern char *optarg;
                           while((c=getopt(argc,argv,"d:m:j:vht"))!=-1){
                           printf("%c-%sn",c,optarg);
                           }
                         }

                         Compile this program in Linux and z/OS UNIX and ensure that Tgetopt is the name
                         of executable file:

                         Linux:
                         ./Tgetopt -d 1 -m 2 -h 3
                         d-1
                         m-2
                         h-(null)

                         z/OS UNIX:
                         ./Tgetopt -d 1 -m 2 -h 3
                         d-1
                         m-2
                         h-2

14   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
The difference is due to the different implementation of the system function getopt();
                 You may get the same result when you try to use PHP function getopt().

Floating point
                 PHP on z/OS UNIX supports the IEEE 754 floating point standard. The IEEE
                 (Institute of Electrical and Electronics Engineers) has produced a standard for
                 floating point arithmetic. This standard specifies how single precision (32 bit) and
                 double precision (64 bit) floating point numbers are to be represented, as well as
                 how arithmetic should be carried out on them.

Floating point special values
                 On z/OS UNIX, double-precision floating point numbers have some special values:
                 positive infinity(INF), negative infinity(-INF), and not-a-number (NAN).

                 The IEEE standard defines two classes of NaN: quiet NaNs (NaNQ) and signaling
                 NaNs (NaNS). A NaNQ is a NaN with the most significant fraction bit set; an NaNS
                 is a NaN with the most significant fraction bit clear. NaNQ are allowed to propagate
                 through most arithmetic operations without signaling an exception. NaNS generally
                 signal an invalid-operation exception whenever they appear as operands in
                 arithmetic operations.

                 Currently, the handling of IEEE 754 special values in PHP depends on the
                 underlying C library. Unfortunately, there is little consistency between C libraries in
                 how or whether these values are handled.

                 There is one difference between the special values on z/OS and other operating
                 systems. On z/OS, ″not-a-number″ was named as NaNQ, but on other general
                 operating systems, ″not-a-number″ was named as NAN.

                 Note: Some mathematical functions on z/OS UNIX return different results than
                       would be expected on a generic platform.

                 The following is an example:
                 <?php
                  print_r(acos(1.01));echo "n";
                  print_r(log(0));echo "n";
                  var_dump(acos(1.01));
                  var_dump(log(0));
                 ?>

                 On other operating systems, the result might be:
                 NAN
                 -INF
                 float(NAN)
                 float(-INF)

                 But on z/OS UNIX , the result is:
                 NaNQ(1)
                 -INF
                 float(NAN)
                 float(-INF)




                                                   Chapter 3. Considerations for porting or writing PHP scripts   15
Floating point precision issues
                         The last digit of a floating point number may be represented differently in different
                         operating systems. The following is the output string representation for an IEEE 754
                         special value:
                         <?
                         print_r(atan(log(0))); echo "n";
                         ?>

                         On other operating systems, the result is:
                         -1.5707963267949

                         But on z/OS UNIX , the result is:
                         -1.57079632679

Converting between float and other types
                         PHP does not require (or support) explicit type definitions in variable declarations; a
                         variable’s type is determined by the context in which that variable is used. For
                         example, if you assign a string value to variable $var, $var becomes a string. If you
                         then assign an integer value to $var, it becomes an integer.

                         When converting a variable from float to other types, or converting a variable from
                         other types to float, the results will vary between PHP for z/OS and generic
                         platforms.

                         For example:
                         <?
                              print_r(base_convert(NAN, 16, 2)); echo "n";
                         ?>

                         On other operating systems, the result is:
                         1010

                         But on z/OS UNIX , the result is:
                         10100001

                         Normally, PHP first converts NAN from type string to type float, and after deleting all
                         non-alphanumeric characters, ″NAN″ is converted to ″A″, and ″A″ is equal to
                         ″1010″. But on z/OS UNIX, NAN is expressed a ″NaNQ(1)″. This is because after
                         PHP removes all non-alphanumeric characters, ″NaNQ(1)″ is converted to ″A1″,
                         which is equal to ″10100001″.

Heap management
                         While using PHP, you may encounter a situation where the user heap is exhuasted.
                         This can be caused by certain code paths in PHP making repeated use of the
                         realloc() function to incrementally grow the user heap. If this is done rapidly, the
                         heap can grow so large that future heap allocation requests can fail. If you should
                         encounter this problem, you can set the following environment variable while
                         invoking the PHP interpreter:
                         _CEE_RUNOPTS=’HEAP(,,,FREE)’

                         This will instruct Language Environment to free all unused storage after a call to
                         realloc(). This makes it much less likely that the user heap will be exhausted during



16   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
normal use, albeit at a cost of reduced application performance. For more
                 information about Language Environment heap tuning, see the z/OS Language
                 Environment Programming Reference.

Hash functions
                 PHP supports many hash functions. Some examples include MD5, SHA1, BASE64,
                 CRC32, among others. For more information on these hash functions, consult the
                 following RFCs:
                 Table 2. Supported hash functions
                 Function
                 name           Corresponding RFC file
                 MD5            RFC 1321 - The MD5 Message-Digest Algorithm
                 SHA1           RFC 3174 - US Secure Hash Algorithm 1 (SHA1)
                 CRC32
                 BASE64         RFC 2045 - Multipurpose Internet Mail Extensions (MIME) Part One: Format
                                of Internet Message Bodies

                 PHP for z/OS UNIX transfers the code page of encrypting string from EBCDIC to
                 ASCII. The following is an example:
                 <?php
                  $str = ’apple’;
                  var_dump(sha1($str));
                 ?>

                 On a Linux system, the result is:
                 string(40) "d0be2dc421be4fcd0172e5afceea3970e2f3d940"

                 On z/OS UNIX , the result is the same:
                 string(40) "d0be2dc421be4fcd0172e5afceea3970e2f3d940"

                 As mentioned before, the binary value of the string on z/OS UNIX is not equal to
                 what it would be on a generic ASCII platform. If you want to use the binary value,
                 keep in mind that it is in EBCDIC.

Random number generator
                 One important difference between PHP for z/OS and other versions of PHP is the
                 implementations of the php_mt_rand() and php_mt_srand() functions. In PHP for
                 z/OS, the implementation of the Mersenne Prime twister random number generator
                 (RNG) in these functions has been replaced. If these functions are called on a
                 machine that has the Integrated Cryptographic Service Facility (ICSF) installed, then
                 random number data generated by the system hardware RNG will be returned. If
                 the ICSF is not available, then the functions will simply call the Language
                 Environment functions rand() and srand(). See z/OS V1R8.0 XL C/C++ Run-Time
                 Library Reference and z/OS V1R8.0 ICSF Overview for more information.

Using XML with PHP for z/OS
                 XML inline statements <?xml ?> can be confused with the short form of PHP’s open
                 tag (<? ?> during interpretation. Fortunately, there is an option which can be
                 disabled that will allow the use of the XML inline statements. This option is changed
                 in the php.ini file by using the short_open_tag directive, which controls the use of
                 short open tags. For more information on this option, see http://us3.php.net/ini.core.

                                                     Chapter 3. Considerations for porting or writing PHP scripts   17
18   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Chapter 4. PHP application development with z/OS DB2
                         This chapter describes the following:
                         v An overview of the relationship between PHP and DB2
                         v   Requirements for using z/OS DB2 with a PHP application
                         v   The PDO extension
                         v   Accessing DB2 from PHP sample code
                         v   Tips for avoiding common DB2 problems
                         v   Tips for porting PHP applications from MySQL to z/OS DB2
                         Any experience with PHP application development using databases via
                         PDO_ODBC will benefit you when utilizing z/OS DB2.

Overview of the relationship between PHP and DB2
                         The following diagram shows the relationship between PHP and DB2:




Figure 4. Control flow of PHP for z/OS DB2 connection

                         PHP provides a wrapper (PDO and PDO_ODBC) for DB2 ODBC and makes it
                         easier for you to access DB2. DB2 ODBC serves as an interface between DB2 and
                         PHP.

                         PDO provides a data-access abstraction layer, which means that, regardless of
                         which database you’re using, you use the same functions to issue queries and
                         retrieve data. PDO does not provide a database abstraction; it does not rewrite SQL
                         or emulate missing features. If you have any experience on PHP database
                         functions, you may be familiar with these PDO drivers: PDO_DBLIB,




© Copyright IBM Corp. 2006                                                                               19
PDO_FIREBIRD, PDO_INFORMIX, PDO_MYSQL, PDO_OCI, PDO_ODBC,
                         PDO_PGSQL, PDO_SQLITE. PDO_ODBC is the one PHP for z/OS uses to
                         connect DB2 on z/OS.

                         General information about DB2 UDB for z/OS is available from the DB2 UDB for
                         z/OS Web page: http://www.ibm.com/software/data/db2/zos/.

Requirements for using z/OS DB2 with PHP applications
                         A comparison between z/OS DB2 ODBC and ODBC on other platforms can be
                         found in the DB2 Universal Database for z/OS ODBC -ODBC Guide and Reference.
                         z/OS DB2 Version 8.1 is the recommended version since the PHP for z/OS
                         database connection has been fully tested on this version. Make sure that DB2
                         ODBC environment is ready before you begin. You can ask a DB2 administrator
                         (who can subsequently reference the DB2 Universal Database for z/OS ODBC) to
                         obtain the correct settings for the DB2 INI file. The following is an example format
                         of the INI file:

                         [COMMON]
                         MVSDEFAULTSSID=DB2L
                         [DB2L]
                         MVSATTACHTYPE=CAF
                         PLANNAME=DSNACLI


                         If you have encountered problems in the DB2 setting and want to have a quick
                         reference, see the following diagnostic routine:

                         Note: The following steps are provided as a quick reference, in case you encounter
                               problems with the DB2 ODBC settings.
                         1. Double check with the DB2 administrator regarding Chapter3 of DB2 Universal
                            Database for z/OS ODBC -ODBC Guide and Reference. The more critical steps
                            are provided below; others can be found in the guide.
                            a. Binding DBRMs to create packages
                            b. Binding the application plan
                            c. Grant execute on PLAN. To do this, GRANT EXECUTE ON PLAN
                               PLANNAME TO USERID.
                            If you still have problems in connecting DB2 via the PHP script, please try the
                            next routine:
                         2. Run the following AMBLIST job once on the system. The modifications you have
                            to make are in bold text:
                             // EXEC PGM=AMBLIST
                             //SYSPRINT DD SYSOUT=*
                             //SYSLIB DD DSN=DSNxxx.SDSNLOAD,DISP=SHR
                             //SYSIN DD * LISTIDR MEMBER=(DSNAOCLI)
                             //

                            You can find the data in the output of the following: LISTIDR FOR PROGRAM
                            OBJECT DSNAOCLI. Check to make sure you have the most recent update of
                            the ODBC maintenance level (PTF UK20888 was tested to support most of the
                            PDO_ODBC functions). If your ODBC maintenance level is lower than PTF
                            UK20888, update the maintenance level.
                         3. Only if you have worked through the previous steps and still have problems with
                            DB2 ODBC, try changing the .ini file to the following (in other words, modify the
                            settings in INI to fit your system):

20   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
[COMMON]
                MVSDEFAULTSSID=DB2L
                MAXCONN=10
                APPLTRACE=1
                APPLT RACEFIDIAGTRACE=/tracelog
                DIAGTRACE_NO_WRAP=1
                DIAGTRACE_BUFFER_SIZE=2000000
                [DB2L]
                MVSATTACHTYPE=CAF
                PLANNAME=DSNACLI
             After you run an experimental PHP script, you should receive two log files. You can
             find the files in /tracelog, and under the running path of the script with the name
             DD DSNAOTRC . Then save DD.DSNAOTRC as a binary file. Finally, evaluate the
             logs or send the logs to the DB2 administrator for further assistance.

The PDO extension
             PDO_ODBC is an implementation of PDO interface to ODBC. PHP for z/OS
             supports z/OS DB2 access via the PDO_ODBC extension. The following table
             shows which methods are supported by PDO_ODBC of PHP, and which ones are
             not:
             Table 3. PDO_ODBC supported and non-supported methods
             Methods                     Supported?                      Comments
             PDO::beginTransaction       Yes
             PDO::commit                 Yes
             PDO::__construct            Yes
             PDO::errorCode              Yes
             PDO::errorInfo              Yes
             PDO::exec                   Yes
             PDO::getAttribute           Yes
             PDO::getAvailableDrivers    Yes
             PDO::lastInsertId           No
             PDO::prepare                Yes
             PDO::query                  Yes
             PDO::quote                  No                              Use prepare instead
             PDO::rollBack               Yes
             PDO::setAttribute           Yes
             PDOStatement::bindColumn    Yes
             PDOStatement::bindParam     Yes
             PDOStatement::bindValue     Yes
             PDOStatement::closeCursor   No                              z/OS DB2 does not require
                                                                         close cursor
             PDOStatement::columnCount Yes
             PDOStatement::errorCode     Yes
             PDOStatement::errorInfo     Yes
             PDOStatement::execute       Yes
             PDOStatement::fetch         Yes
             PDOStatement::fetchAll      Yes


                                               Chapter 4. PHP application development with z/OS DB2   21
Table 3. PDO_ODBC supported and non-supported methods (continued)
                         Methods                          Supported?                          Comments
                         PDOStatement::fetchColumn        Yes
                         PDOStatement::fetchObject        Yes
                         PDOStatement::getAttribute       Yes
                         PDOStatement::getColumnMeta
                                                   No                                         PHP EXPERIMENTAL
                         PDOStatement::nextRowset         No
                         PDOStatement::rowCount           Yes
                         PDOStatement::setAttribute       Yes
                         PDOStatement::setFetchMode Yes



How to access z/OS DB2 from PHP sample code
                         This section describes how to access z/OS DB2 from PHP sample code. First,
                         make sure you have set up the following items:
                         v z/OS DB2 userid and password
                         v DSNAINI
                         To set the environment variable DSNAOINI, add the following code to the beginning
                         before creating any connections (This is only one of the ways to set the value of
                         environment variable DSNAOINI):
                         putenv("DSNAOINI=user_dir/DSNAOINI");

                         user_dir is the directory where you place the DSNAOINI file.

                         Next, you will need to set up the php.ini file. The default path for the php.ini file is
                         /etc/php.ini. Add the following statement:
                         [PDO]
                         pdo.dsn.yourdsnname="odbc:DSN=DBW9LOC1;UID=userid ;PWD=password

                         Modify the italics portions to your z/OS DB2 settings. Also, provide a name for the
                         dsn setting of yourdsnname.

                         Here is an example of how to create a database:
                         <?php
                         try{
                             $dsn=’yourdsnname’;
                             $dbconn = new PDO($dsn);
                             $dbconn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
                             // Create table
                             $dbconn->exec("create table Cust("
                                                     ."CustomerID Integer,"
                                                     ."CustomerName varchar(40),"
                                                     ."CustomerAddr varchar(255),"
                                                     ."CustomerTel varchar(200),"
                                                     ."CustomerEmail varchar(100))");
                             } catch (PDOException $e) {
                               echo "Failed: " . $e->getMessage();
                         }
                         ?>

                         This example shows how to write records to the newly created database:



22   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
<?php
              try{
                  $dsn=’yourdsnname’;
                  $dbconn = new PDO($dsn)
                  $dbconn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING)
                  //insert Data
                  $custID=1;
                  $stmt = $dbconn->prepare("insert into Cust values(?,?,?,?,?)");
                  $stmt->bindParam(1,$custID);
                  $stmt->bindValue(2,"New Company’s name: CompnayName");
                  $stmt->bindValue(3,"New Company’s address: Adress");
                  $stmt->bindValue(4,"Telphone:12345");
                  $stmt->bindValue(5,"abc@abc.com");
                  $stmt->execute();
                  $stmt=NULL;
                  $dbconn=NULL;
                 } catch (PDOException $e) {
                   echo "Failed: " . $e->getMessage();
                 }
              ?>

              Here is an example of how to query records:
              <?php
                try{
                    $dsn=’yourdsnname’;
                    $dbconn = new PDO($dsn);
                    $dbconn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING)
                    $stmt = $dbconn->prepare("select * from Cust ");
                    $stmt->execute();
                    $res = $stmt->fetchAll();
                    var_dump($res);
                    $stmt=NULL;
                    $dbconn=NULL;
                   } catch (PDOException $e) {
                     echo "Failed: " . $e->getMessage();
                   }
              ?>

              Here is an example of how to update records:
              <?php
                  try{
                      $dsn=’yourdsnname’;
                      $dbconn = new PDO($dsn);
                      $dbconn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING)
                      $stmt = $dbconn->prepare("update Cust set CustomerTel=? ");
                      $stmt->bindValue(1,”98765”);
                      $stmt->execute();
                      $stmt=NULL;
                      $dbconn=NULL;
                      } catch (PDOException $e) {
                        echo "Failed: " . $e->getMessage();
                      }
              ?>


More examples for using PHP with database applications
              The following section provides more examples on how to use PHP with database
              applications. The following example shows how to create a connection:
              <?php
              try{
                   $dsn=’odbc:M05DB2’;
                   $username=’foo’;
                   $passwd=’bar’;
                   $dbh = new PDO($dsn, $username, $passwd, array(‘PDO_ATTR_PERSISTENT’ => false));

                                               Chapter 4. PHP application development with z/OS DB2   23
$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
                             } catch(Exception $e) {
                                         echo "Failed: " . $e->getMessage();
                                         exit(0);
                            }?>

                         $dsn is in the format of odbc:db2_location_name. db2_location_name will be
                         provided by the database administrator. In the above example, location name is
                         M05DB2 and the database user name is foo with a password bar. The above code is
                         just an example to show usage. You need to contact your own database
                         administrator to get the actual location name, database user name and password
                         for the application.

                         Note: The odbc in $dsn must be in lower-case.

                         If you are going to create Web applications or CGI scripts with PHP and want to set
                         up z/OS DB2 connections in applications or scripts, then the following code may be
                         added at the beginning before creating any connections:
                         putenv("DSNAOINI=user_dir/DSNAOINI");

                         user_dir is the directory where you put the DSNAOINI file. The z/OS DB2 connection
                         code can be written as follows:
                         <?php
                         try{
                              putenv("DSNAOINI=/u/foo/DSNAOINI");
                              $dsn=’odbc:M05DB2’;
                              $username=’foo’;
                              $passwd=’bar’;
                              $dbh = new PDO($dsn, $username, $passwd, array(PDO_ATTR_PERSISTENT => false));
                              $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
                              } catch(Exception $e) {
                                          echo "Failed: " . $e->getMessage();
                                          exit(0);
                              }?>

                         A better practice when creating a PHP script is to place the above code into the
                         script. When a z/OS DB2 connection is needed in a PHP application, you can
                         include this script into the application. For example, you can name the above code
                         as a file called pdo_conn.inc. You can then include this file into other scripts using
                         the following code:
                         <?php
                           include “pdo_conn.inc”;
                           $stm t= $dbh->prepare(“SELECT * FROM mydb”);
                           $stmt->execute();
                         ?>

                         For examples of more standard operations such as select, insert, and query, go to
                         PHP.net .

Tips for avoiding common z/OS DB2 problems
                         Tips: The following tips may be useful for avoiding common z/OS DB2 problems:
                         1. In a single PHP script file, you must avoid using the same PDO statement
                            variable name for different SQL executions. Otherwise, you will end up resetting
                            the PDO statement variables before their execution. See the following example:
                             1. <?php
                             2. include "pdo_conn.inc";
                             3. $dbh->exec("CREATE TABLE CXL_EMP(NAME VARCHAR(20) NOT NULL, JOB VARCHAR(50), SALARY INT DEFAU
                             4. try{

24   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
5.    $stmt = $dbh->prepare("INSERT INTO CXL_EMP(NAME, JOB, SALARY) VALUES (?, ?, ?)");
   6.    $stmt->bindParam(1, $name, PDO::PARAM_STR);
   7.    $stmt->bindParam(2, $job, PDO::PARAM_STR);
   8.    $stmt->bindParam(3, $salary, PDO::PARAM_INT);
   9.    $name = "AAA_1"; $job = "AAA"; $salary = 100; $stmt->execute();
   10.   $name = "AAA_2"; $job = "AAA"; $salary = 150; $stmt->execute();
   11.   $name = "AAA_3"; $job = "AAA"; $salary = 200; $stmt->execute();
   12.   //----------------LINE A-------
   13.   $stmt = NULL; //Set $stmt = NULL here
   14.   //----------------LINE B-------
   15.   $stmt = $dbh->prepare("select Z.name from TABLE (select * from CXL_EMP where job=?) as Z w
   16.   $stmt->execute(array(’AAA’, 150));
   17.   print_r($stmt->fetchAll(PDO::FETCH_ASSOC));
   18.   }catch(Exception $e)
   19.      {
   20.        echo "n".$e->getMessage();
   21.      }
   22.      $dbh->exec("drop table CXL_EMP");
   23.   ?>

   In the above example, you must reset the variable $stmt at line 13, whose type
   is PDOStatement, after the insert operation at line 5 but before the select
   operation at line 15. Another solution is to use a new variable instead of $stmt
   in the select operation.
2. z/OS DB2 UDB V8 supports the parameter marker in question mark (?) format
   (see the DB2 Universal Database for z/OS Version 8 ODBC Guide and
   Reference, page 314). Parameter marker is the symbol in the SQL prepare
   statement that is replaced by the value of actual variable when SQL is
   executed. The PHP online manual introduces another format of parameter
   marker of SQL prepare as the following code. Remember that the code does
   not work with PHP on z/OS UNIX and DB2.

   1. <?php
   2. include “pdo_conn.inc”;
   3. $dbh->exec("DROP table REGISTRY");
   4. $dbh->exec("create table REGISTRY (name varchar(32) not null default ’’, value int not null
   5. $stmt = NULL;
   6. $stmt = $dbh->prepare("INSERT INTO REGISTRY (name, value) VALUES (?, ?)");
   7. $stmt->bindParam(’:name’, $name);
   8. $stmt->bindParam(’:value’, $value);
   9. // insert one row
   10. $name = ’one’;
   11. $value = 1;
   12. $stmt->execute();
   13. // insert another row with different values
   14. $name = ’two’;
   15. $value = 2;
   16. $stmt->execute();
   17. ?>

   In line 6, the script uses question mark (?) as parameter instead of :name and
   :value.
   $stmt = $dbh->prepare("INSERT INTO REGISTRY (name, value) VALUES (:name, :value)");

   The above script will generate the following SQL error and dump information:
   Fatal error: HPH01023 Uncaught exception ’PDOException’ with message ’SQLSTATE[42618]:
   <<Unknown error>>: 0 {DB2 FOR OS/390}{ODBC DRIVER}{DSN07011}
   DSNT408I SQLCODE = -312, ERROR: NAME IS AN UNDEFINED OR
   UNUSABLE HOST VARIABLE OR IS USED IN A DYNAMIC SQL STATEMENT OR A TRIGGER DEFINITION
   DSNT418I SQLSTATE = 42618 SQLSTATE RETURN CODE
   DSNT415I SQLERRP = DSNHSM2V SQL PROCEDURE DETECTING ERROR
   DSNT416I SQLERRD = 0 0 0 -1 45 0 SQL DIAGNOSTIC INFORMATION

                                   Chapter 4. PHP application development with z/OS DB2   25
DSNT416I SQLERRD = X’00000000’ X’00000000’ X’00000000’ X’FFFFFFFF’
                             X’0000002D’ X’00000000’
                             SQL DIAGNOSTIC INFORMATION
                             ERRLOC=1:13:2


Tips for porting PHP applications from a MySQL database to z/OS DB2
                         Tips: When porting PHP applications from a MySQL database to a z/OS DB2
                         database, the following tips may be useful:
                         1. For the most part, when PHP applications are ported from MySQL to z/OS DB2,
                            the first step is to use PDO_ODBC methods to replace the work done by
                            MySQL functions. The details of the port are dependent on how the PHP
                            application was written. The MySQL functions should be analyzed to see what
                            input they require and what output they generate. This will allow a user to
                            replace them with calls to PDO_ODBC. When PDO_ODBC does not provide a
                            method that directly maps to a MySQL function, you can usually achieve similar
                            functionality with a combination of PDO_ODBC methods.
                            For example, say that in the PHP application to be ported, there is a line of
                            code that performs a database query. This line calls mysql_query(string query
                            [, resource link_identifier]) to perform a database query specified by SQL
                            string query on the database link link_identifier. In PDO_ODBC, there is no
                            single method to do the query, but you can easily implement similar functionality
                            to mysql_query in a function named pdo_query as shown in the following PHP
                            application file:
                             1.   function pdo_query($query, $dbh)
                             2.   {
                             3.   $sth=$dbh->prepare($query);
                             4.   $sth->execute();
                             5.   return $sth;
                             6.   }

                            $query is the SQL query string and $dbh is the PDO connection object.
                         2. z/OS DB2 SQL statements differ significantly from MySQL SQL statements. It is
                            a good idea to consult with the z/OS DB2 user manual or a SQL reference book
                            when porting a PHP application.
                            For example, the following is a MySQL SQL statement that queries data from a
                            table named tablename and sorts the result in descending order based on the
                            time column.
                             SELECT * FROM tablename ORDER BY ’time’ DESC

                             However, this SQL statement does not work in z/OS DB2. The following
                             example shows a statement that would work:
                             SELECT * FROM tablename ORDER BY time DESC

                            Another good example of the differences between MySQL and z/OS DB2 is
                            when you use an SQL statement to create a table in a database. In MySQL,
                            you can use the keyword auto_increment to set a table column whose
                            contents automatically increment (starting from 1) for each record. In z/OS DB2,
                            there is no such keyword. In this case, it is better to use the keywords
                            GENERATED ALWAYS AS IDENTITY to create this column.
                         3. The following situation is often overlooked and can generate false output for
                            PHP applications. In most cases, SQL statements in MySQL and z/OS DB2 can
                            be written without regards to case. For example, the SQL statement
                             CREATE TABLE person ( id int GENERATED ALWAYS AS
                             IDENTITY, name varchar(256) NOT NULL default ’’,age int
                             NOT NULL default 0)

26   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
is the same as

 create table person (id int generated always as
 identity, name varchar(256) not null default ’’, aga int
not null default 0)

in both MySQL and z/OS DB2.
However, when working with data returned from a database query by an SQL
SELECT statement in PDO_ODBC extension, you must make sure that SELECT is
in upper case. This is because the array index to retrieve values from the query
output data is in array format from the z/OS DB2 database on z/OS UNIX.
For example, the following code will query data from a database called fruit and
print out the name of the first fruit in the database:
1.   <?php
2.   include "pdo_conn.inc";
3.   $sth = $dbh->prepare("SELECT name, colour FROM fruit");
4.   $sth->execute();
5.   $data_array = $dbh->fetchAll();
6.   echo "The first fruit name is ".$data_array[0]["NAME"];
7.   ?>

In line 6, you must make sure that "NAME" is in uppercase, as it is the array
index to get the value. Lower case $data_array[0]["name"] will return nothing
from the z/OS DB2 fruit database.




                                Chapter 4. PHP application development with z/OS DB2   27
28   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Chapter 5. PHP command reference
Synopsis
                         php [-q] [-h] [-s] [-v] [-i] [-f <file>]

                         php <file> [args...]

Description
                         PHP is a widely-used, general-purpose, scripting language that is especially suited
                         for Web development and can be embedded into HTML.

                         For more information on PHP, including links to additional reference sources, refer
                         to the PHP Web site:
                         http://www.php.net/


Options
                         PHP accepts the following command line switches:
                         -a          This option specifies PHP to run interactively.
                         -C          This option prevents chdir to the script’s directory.
                         -c <path> | <file>
                                 This option looks for php.ini file in the directory <path> or use the specified
                                 <file>.
                         -n          This option specifies that no php.ini file will be used.
                         -d foo[=bar]
                                 This option defines INI entry foo with value ’bar’.
                         -e          This option generates extended information for the debugger or profiler.
                         -f <file>
                                     This option parses and executes <file>. Implies -q.
                         -h          This option is for help.
                         -i          This option provides PHP information, as well as its configuration.
                         -l          This option specifies syntax check only (lint).
                         -m          This option shows compiled in extensions.
                         -q          This option specifies quiet-mode. Suppress HTTP Header output.
                         -s          This option displays color syntax highlighted source.
                         -v          This option displays version number.
                         -w          This option displays source with stripped comments and whitespace.
                         -z <file>
                                  This option loads Zend extension <file>.




© Copyright IBM Corp. 2006                                                                                      29
PHP




30    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Chapter 6. PHP messages
                                                       char
HPH00000       This message is for ″%s″ which is
                                                              The missing delimiter character
               displayed %04x times.
                                                       Example: HPH00002 No ending delimiter ’/’ found
Explanation:
                                                       System action: Displays the warning and continues
Example: HPH00000 This message is for ″%s″
                                                       interpreting the script.
which is displayed %04x times.
                                                       Operator response: No System Operator response is
System action:
                                                       required.
Operator response: No System Operator response is
                                                       User response: Change the regular expression so
required.
                                                       that it has a matched set of delimiters.
User response:
                                                       System programmer response: No System
System programmer response: No System                  Programmer response is required.
Programmer response is required.
                                                       Problem determination: No additional information.
Problem determination: No additional information.
                                                       Source: PHP
Source: PHP
                                                       Module: Not applicable.
Module: Not applicable.
                                                       Routing code: Not applicable.
Routing code: Not applicable.
                                                       Descriptor code: W- A warning (PHP continues).
Descriptor code:
                                                       Automation: Not applicable.
Automation: Not applicable.
                                                       HPH00003        No ending matching delimiter ’char’
HPH00001       Delimiter must not be alphanumeric or                   found
               backslash
                                                       Explanation: PHP encountered a regular expression
Explanation: PHP encountered a regular expression      that is missing a matching ending delimiter.
that is using an incorrect delimiter.
                                                       char
Example: HPH00001 Delimiter must not be                       The missing delimiter character
alphanumeric or backslash
                                                       Example: HPH00003 No ending matching delimiter ’/’
System action: Displays the warning and continues      found
interpreting the script.
                                                       System action: Displays the warning and continues
Operator response: No System Operator response is      interpreting the script.
required.
                                                       Operator response: No System Operator response is
User response: Replace the delimiter characters with   required.
valid ones.
                                                       User response: Change the regular expression so
System programmer response: No System                  that it has a matched set of delimiters.
Programmer response is required.
                                                       System programmer response: No System
Problem determination: No additional information.      Programmer response is required.
Source: PHP                                            Problem determination: No additional information.
Module: Not applicable.                                Source: PHP
Routing code: Not applicable.                          Module: Not applicable.
Descriptor code: W- A warning (PHP continues).         Routing code: Not applicable.
Automation: Not applicable.                            Descriptor code: W- A warning (PHP continues).
                                                       Automation: Not applicable.
HPH00002       No ending delimiter ’char’ found
Explanation: PHP encountered a regular expression      HPH00004        Unknown modifier ’char’
that is missing an ending delimiter.
                                                       Explanation: PHP encountered a regular expression

© Copyright IBM Corp. 2006                                                                                   31
that has an incorrect modifier.
                                                                 HPH00006       Error while studying pattern
Example: HPH00004 Unknown modifier ’a’
                                                                 Explanation: An error occurred while studying the
System action: Displays the warning and continues                pattern in a regular expression function.
interpreting the script.
                                                                 Example: HPH00006 Error while studying pattern
Operator response: No System Operator response is
                                                                 System action: Displays the warning and continues
required.
                                                                 interpreting the script.
User response: Replace the incorrect modifier with a
                                                                 Operator response: No System Operator response is
correct one.
                                                                 required.
System programmer response: No System
                                                                 User response: Check the argument and option bits
Programmer response is required.
                                                                 to make sure they are correct.
Problem determination: No additional information.
                                                                 System programmer response: No System
Source: PHP                                                      Programmer response is required.
Module: Not applicable.                                          Problem determination: No additional information.
Routing code: Not applicable.                                    Source: PHP
Descriptor code: W- A warning (PHP continues).                   Module: Not applicable.
Automation: Not applicable.                                      Routing code: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
HPH00005          Compilation failed: ’error text’ at offset
                                                                 Automation: Not applicable.
                  ’offset’
Explanation: PHP encountered a compile error when
                                                                 HPH00007       string: internal pcre_fullinfo() error
compiling a regular expression.
                                                                                integer
error text
                                                                 Explanation: When running function pcre_fullinfo(), an
     Error text
                                                                 error occurred.
offset
                                                                 string
     Point offset in pattern where error was detected
                                                                      active function name
Example: HPH00005 Compilation failed: ’c’ at end of
                                                                 integer
pattern at offset ’2’
                                                                      error code
System action: PHP immediately stops interpreting
                                                                 Example: HPH00007 php_pcre_match: internal
the file (before any statements are run) and exits.
                                                                 pcre_fullinfo() error -3
Operator response: No System Operator response is
                                                                 System action: Displays the warning and continues
required.
                                                                 interpreting the script.
User response: Change the regular expression
                                                                 Operator response: No System Operator response is
according to the error text.
                                                                 required.
System programmer response: No System
                                                                 User response: Make sure the regular expression is
Programmer response is required.
                                                                 correct.
Problem determination: No additional information.
                                                                 System programmer response: No System
Source: PHP                                                      Programmer response is required.
Module: Not applicable.                                          Problem determination: No additional information.
Routing code: Not applicable.                                    Source: PHP
Descriptor code: F- A fatal error (PHP exits                     Module: Not applicable.
immediately).
                                                                 Routing code: Not applicable.
Automation: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
                                                                 Automation: Not applicable.




32    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
System action: Displays the warning and continues
HPH00010     Unable to call custom replacement
                                                      interpreting the script.
             function
                                                      Operator response: No System Operator response is
Explanation: When doing a regular expression
                                                      required.
replacement, PHP was unable to call the custom
replacement function.                                 User response: Change the modifier.
Example: HPH00010 Unable to call custom               System programmer response: No System
replacement function                                  Programmer response is required.
System action: Displays the warning and continues     Problem determination: No additional information.
interpreting the script.
                                                      Source: PHP
Operator response: No System Operator response is
required.                                             Module: Not applicable.

User response: Ensure that the replacement function   Routing code: Not applicable.
is correct.                                           Descriptor code: W- A warning (PHP continues).
System programmer response: No System                 Automation: Not applicable.
Programmer response is required.
Problem determination: No additional information.     HPH00014     Matched, but too many substrings
Source: PHP                                           Explanation: PHP exceeded its internal substring limit
Module: Not applicable.                               while performing regular expression processing.

Routing code: Not applicable.                         Example: HPH00014 Matched, but too many
                                                      substrings
Descriptor code: W- A warning (PHP continues).
                                                      System action: Displays the warning and continues
Automation: Not applicable.                           interpreting the script.
                                                      Operator response: No System Operator response is
HPH00011     Extraneous message - remove.             required.
Explanation: Extraneous message - remove.             User response: Alter the regular expression to reduce
                                                      the number of matches, or reduce the size of the string
Example: Extraneous message - remove.
                                                      being searched.
System action: Displays the warning and continues
                                                      System programmer response: No System
interpreting the script.
                                                      Programmer response is required.
Operator response: No System Operator response is
                                                      Problem determination: No additional information.
required.
                                                      Source: PHP
User response: Change the evaluating code
                                                      Module: Not applicable.
System programmer response: No System
Programmer response is required.                      Routing code: Not applicable.
Problem determination: No additional information.     Descriptor code: W- A warning (PHP continues).
Source: PHP                                           Automation: Not applicable.
Module: Not applicable.
                                                      HPH00015     Parameter mismatch, pattern is a
Routing code: Not applicable.
                                                                   string while replacement in an array.
Descriptor code: W- A warning (PHP continues).
                                                      Explanation: Parameter mismatch, pattern is a string
Automation: Not applicable.                           while replacement in an array.
                                                      Example: HPH00015 Parameter mismatch, pattern is
HPH00012     /e modifier cannot be used with          a string while replacement in an array.
             replacement callback
                                                      System action: Displays the warning and continues
Explanation: /e modifier cannot be used with the      interpreting the script.
replacement callback in the preg_replace function.
                                                      Operator response: No System Operator response is
Example: HPH00012 /e modifier cannot be used with     required.
the replacement callback


                                                                                Chapter 6. PHP messages    33
User response: Modify the pattern or replacement so             Source: PHP
they match
                                                                Module: Not applicable.
System programmer response: No System
                                                                Routing code: Not applicable.
Programmer response is required.
                                                                Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.
                                                                Automation: Not applicable.
Source: PHP
Module: Not applicable.
                                                                HPH00020       Second argument to preg_grep()
Routing code: Not applicable.                                                  should be an array
Descriptor code: W- A warning (PHP continues).                  Explanation: In the preg_grep() function, the second
                                                                argument should be an array.
Automation: Not applicable.
                                                                Example: HPH00020 Second argument to preg_grep()
                                                                should be an array
HPH00016     Requires second argument, ’string’, to
             be a valid callback                                System action: Displays the warning and continues
                                                                interpreting the script.
Explanation: The second parameter of
preg_replace_callback() is not valid                            Operator response: No System Operator response is
                                                                required.
string
     a callback name                                            User response: Change the second argument of
                                                                preg_grep() to an array.
Example: HPH00016 Requires second argument,
’asdg’, to be a valid callback                                  System programmer response: No System
                                                                Programmer response is required.
System action: Displays the warning and continues
interpreting the script.                                        Problem determination: No additional information.
Operator response: No System Operator response is               Source: PHP
required.
                                                                Module: Not applicable.
User response: Change the callback to a valid one.
                                                                Routing code: Not applicable.
System programmer response: No System
                                                                Descriptor code: W- A warning (PHP continues).
Programmer response is required.
                                                                Automation: Not applicable.
Problem determination: No additional information.
Source: PHP
                                                                HPH00023       Wrong value for fourth parameter in
Module: Not applicable.                                                        call to string
Routing code: Not applicable.                                   Explanation: When calling some function, the fourth
                                                                parameter is wrong.
Descriptor code: W- A warning (PHP continues).
                                                                string
Automation: Not applicable.
                                                                     active function name
                                                                Example: HPH00023 Wrong value for fourth
HPH00019     Unknown error
                                                                parameter in call to preg_match()
Explanation: Unknown error
                                                                System action: Displays the warning and continues
Example: HPH00019 Unknown error                                 interpreting the script.
System action: Displays the warning and continues               Operator response: No System Operator response is
interpreting the script.                                        required.
Operator response: No System Operator response is               User response: Correct the fourth parameter.
required.
                                                                System programmer response: No System
User response: Make sure that the preg_split()                  Programmer response is required.
function is used properly.
                                                                Problem determination: No additional information.
System programmer response: No System
                                                                Source: PHP
Programmer response is required.
                                                                Module: Not applicable.
Problem determination: No additional information.

34   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Routing code: Not applicable.                         Module: Not applicable.
Descriptor code: W- A warning (PHP continues).        Routing code: Not applicable.
Automation: Not applicable.                           Descriptor code: N- An informational notice. Could be
                                                      an error or could be normal behavior.
HPH00024         Get subpatterns list failed          Automation: Not applicable.
Explanation: In a regular expression match, get
subpatterns list failed.                              HPH00026       --Remove
Example: HPH00024 Get subpatterns list failed         Explanation:
System action: Displays the warning and continues     Example: HPH00026 We selected ’%s’ for ’%.1f/no
interpreting the script.                              DST’ instead
Operator response: No System Operator response is     System action:
required.
                                                      Operator response: No System Operator response is
User response: Make sure that preg_match() is used    required.
correctly.
                                                      User response:
System programmer response: No System
                                                      System programmer response: No System
Programmer response is required.
                                                      Programmer response is required.
Problem determination: No additional information.
                                                      Problem determination: No additional information.
Source: PHP
                                                      Source: PHP
Module: Not applicable.
                                                      Module: Not applicable.
Routing code: Not applicable.
                                                      Routing code: Not applicable.
Descriptor code: I- An internal error not caused by
                                                      Descriptor code:
user (a programming error in PHP).
                                                      Automation: Not applicable.
Automation: Not applicable.

                                                      HPH00027       --Remove
HPH00025         --Removed, because HAVE_TM_ZONE
                 is not defined                       Explanation:
Explanation: Guess the timezone                       Example: HPH00027 We selected ’%s’ for ’%.1f/DST’
                                                      instead
string1
     time zone id                                     System action:
string2                                               Operator response: No System Operator response is
     time zone                                        required.
float                                                 User response:
        tm_gmtoff / 3600
                                                      System programmer response: No System
string3                                               Programmer response is required.
     DST or no DST
                                                      Problem determination: No additional information.
Example: HPH00025 We selected ’UTC’ for
’UTC/1.0/DST’ instead                                 Source: PHP

System action: Displays the warning and continues     Module: Not applicable.
interpreting the script.                              Routing code: Not applicable.
Operator response: No System Operator response is     Descriptor code:
required.
                                                      Automation: Not applicable.
User response: N/A
System programmer response: No System
Programmer response is required.
Problem determination: No additional information.
Source: PHP

                                                                                Chapter 6. PHP messages   35
HPH00028     We had to select ’UTC’ because your                HPH00030       idate format is one char
             platform does not provide functionality
                                                                Explanation: idate format should be one char.
             for the guessing algorithm
                                                                Example: HPH00030 idate format is one char
Explanation: PHP cannot guess the timezone by
platform, so it returned ’UTC’.                                 System action: Displays the warning and continues
                                                                interpreting the script.
Example: HPH00028 We had to select ’UTC’ because
your platform does not provide functionality for the            Operator response: No System Operator response is
guessing algorithm                                              required.
System action: Displays the warning and continues               User response: Correct the format.
interpreting the script.
                                                                System programmer response: No System
Operator response: No System Operator response is               Programmer response is required.
required.
                                                                Problem determination: No additional information.
User response: No response required.
                                                                Source: PHP
System programmer response: No System
Programmer response is required.                                Module: Not applicable.

Problem determination: No additional information.               Routing code: Not applicable.

Source: PHP                                                     Descriptor code: W- A warning (PHP continues).

Module: Not applicable.                                         Automation: Not applicable.

Routing code: Not applicable.
                                                                HPH00031       Unrecognized date format token.
Descriptor code: W- A warning (PHP continues).
                                                                Explanation: The data format of idate() function is not
Automation: Not applicable.                                     recognized.
                                                                Example: HPH00031 Unrecognized date format token.
HPH00029     Timezone database is corrupt - this
             should *never* happen!                             System action: Displays the warning and continues
                                                                interpreting the script.
Explanation: Timezone database is corrupt.
                                                                Operator response: No System Operator response is
Example: HPH00029 Timezone database is corrupt -                required.
this should *never* happen!
                                                                User response: Correct the data format.
System action: Displays the warning and continues
interpreting the script.                                        System programmer response: No System
                                                                Programmer response is required.
Operator response: No System Operator response is
required.                                                       Problem determination: No additional information.

User response: Submit a bug report to php.net                   Source: PHP

System programmer response: No System                           Module: Not applicable.
Programmer response is required.                                Routing code: Not applicable.
Problem determination: No additional information.               Descriptor code: W- A warning (PHP continues).
Source: PHP                                                     Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.                                   HPH00032       You should be using the time()
                                                                               function instead
Descriptor code: I- An internal error not caused by
user (a programming error in PHP).                              Explanation: Incorrect function or incorrect number of
                                                                parameters was used to report the time. The time()
Automation: Not applicable.                                     function should be used instead.
                                                                Example: HPH00032 You should be using the time()
                                                                function instead
                                                                System action: Displays the warning and continues
                                                                interpreting the script.


36   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Operator response: No System Operator response is      Source: PHP
required.
                                                       Module: Not applicable.
User response: You should use the time() function or
                                                       Routing code: Not applicable.
provide proper parameters.
                                                       Descriptor code: W- A warning (PHP continues).
System programmer response: No System
Programmer response is required.                       Automation: Not applicable.
Problem determination: No additional information.
                                                       HPH00035     Incorrect format
Source: PHP
                                                       Explanation: Parameter number is incorrect.
Module: Not applicable.
                                                       Example: HPH00035 Incorrect format
Routing code: Not applicable.
                                                       System action: Displays the warning and continues
Descriptor code: W- A warning (PHP continues).
                                                       interpreting the script.
Automation: Not applicable.
                                                       Operator response: No System Operator response is
                                                       required.
HPH00033      The is_dst parameter is deprecated
                                                       User response: Provide the proper number of
Explanation: The is_dst parameter is deprecated.       parameters, which should be less than 7.
Example: HPH00033 The is_dst parameter is              System programmer response: No System
deprecated                                             Programmer response is required.
System action: Displays the warning and continues      Problem determination: No additional information.
interpreting the script.
                                                       Source: PHP
Operator response: No System Operator response is
                                                       Module: Not applicable.
required.
                                                       Routing code: Not applicable.
User response: No response required.
                                                       Descriptor code: W- A warning (PHP continues).
System programmer response: No System
Programmer response is required.                       Automation: Not applicable.
Problem determination: No additional information.
                                                       HPH00036     Wrong return format given, pick one of
Source: PHP
                                                                    SUNFUNCS_RET_TIMESTAMP,
Module: Not applicable.                                             SUNFUNCS_RET_STRING or
                                                                    SUNFUNCS_RET_DOUBLE
Routing code: Not applicable.
                                                       Explanation: The return format must be one of
Descriptor code: W- A warning (PHP continues).
                                                       SUNFUNCS_RET_TIMESTAMP,
Automation: Not applicable.                            SUNFUNCS_RET_STRING or
                                                       SUNFUNCS_RET_DOUBLE. If not, it is wrong.
HPH00034      Timezone ID ’string’ is incorrect        Example: HPH00036 Wrong return format given, pick
                                                       one of SUNFUNCS_RET_TIMESTAMP,
Explanation: timezone ID is incorrect                  SUNFUNCS_RET_STRING or
string                                                 SUNFUNCS_RET_DOUBLE
     timezone id                                       System action: Displays the warning and continues
Example: HPH00034 Timezone ID ’lxl’ is incorrect       interpreting the script.

System action: Displays the warning and continues      Operator response: No System Operator response is
interpreting the script.                               required.

Operator response: No System Operator response is      User response: Change the return format to one of
required.                                              SUNFUNCS_RET_TIMESTAMP,
                                                       SUNFUNCS_RET_STRING or
User response: Correct the timezone ID.                SUNFUNCS_RET_DOUBLE
System programmer response: No System                  System programmer response: No System
Programmer response is required.                       Programmer response is required.
Problem determination: No additional information.      Problem determination: No additional information.


                                                                                 Chapter 6. PHP messages   37
Source: PHP                                                     Source: PHP
Module: Not applicable.                                         Module: Not applicable.
Routing code: Not applicable.                                   Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                  Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                                     Automation: Not applicable.


HPH00037     Unknown hashing algorithm: string                  HPH00042       Cannot open converter
Explanation: The hashing algorithm is unknown                   Explanation: PHP encountered an error when opening
                                                                converter.
string
     unknown hashing algorithm                                  Example: HPH00042 Cannot open converter
Example: HPH00037 Unknown hashing algorithm:                    System action: Displays the warning and continues
’aaaa’                                                          interpreting the script.
System action: Displays the warning and continues               Operator response: No System Operator response is
interpreting the script.                                        required.
Operator response: No System Operator response is               User response: Make sure the iconv() function is
required.                                                       used correctly.
User response: Provide a correct hashing algorithm. It          System programmer response: No System
should be one of the following: md4 md5 sha1 sha256             Programmer response is required.
sha384 sha512 ripemd128 ripemd160 whirlpool
                                                                Problem determination: No additional information.
tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4
tiger192,4 snefru gost adler32 crc32 crc32b haval128,3          Source: PHP
haval160,3 haval192,3 haval224,3 haval256,3
haval128,4 haval160,4 haval192,4 haval224,4                     Module: Not applicable.
haval256,4 haval128,5 haval160,5 haval192,5                     Routing code: Not applicable.
haval224,5 haval256,5
                                                                Descriptor code: W- A warning (PHP continues).
System programmer response: No System
Programmer response is required.                                Automation: Not applicable.

Problem determination: No additional information.
                                                                HPH00043       Wrong charset, conversion from
Source: PHP                                                                    `string1’ to `string2’ is not allowed
Module: Not applicable.                                         Explanation: PHP cannot convert from ’in charset’ to
Routing code: Not applicable.                                   ’out charset’

Descriptor code: W- A warning (PHP continues).                  string1
                                                                     in charset
Automation: Not applicable.
                                                                string2
                                                                     out charset
HPH00040     HMAC requested without a key
                                                                Example: HPH00043 Wrong charset, conversion from
Explanation: A key is needed in hash_init() .                   `IBM-1047’ to `ISO8859-1’ is not allowed
Example: HPH00040 HMAC requested without a key                  System action: Displays the warning and continues
                                                                interpreting the script.
System action: Displays the warning and continues
interpreting the script.                                        Operator response: No System Operator response is
                                                                required.
Operator response: No System Operator response is
required.                                                       User response: Correct the value of either ’in charset’
                                                                or ’out charset’.
User response: Provide a key as the parameter of
hash_init()                                                     System programmer response: No System
                                                                Programmer response is required.
System programmer response: No System
Programmer response is required.                                Problem determination: No additional information.
Problem determination: No additional information.               Source: PHP


38   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Module: Not applicable.
                                                          HPH00046     Run out of buffer
Routing code: Not applicable.
                                                          Explanation: PHP ran out of buffer space in the
Descriptor code: W- A warning (PHP continues).            iconv() function.
Automation: Not applicable.                               Example: HPH00046 Run out of buffer
                                                          System action: Displays the warning and continues
HPH00044     Detected an incomplete multibyte             interpreting the script.
             character in input string
                                                          Operator response: No System Operator response is
Explanation: The input string is not correct because it   required.
is an incomplete multibyte character.
                                                          User response: Make sure the parameters of the
Example: HPH00044 Detected an incomplete                  iconv() functions are correct.
multibyte character in input string
                                                          System programmer response: No System
System action: Displays the warning and continues         Programmer response is required.
interpreting the script.
                                                          Problem determination: No additional information.
Operator response: No System Operator response is
                                                          Source: PHP
required.
                                                          Module: Not applicable.
User response: Make sure the input string is correct.
                                                          Routing code: Not applicable.
System programmer response: No System
Programmer response is required.                          Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.         Automation: Not applicable.
Source: PHP
                                                          HPH00047     Malformed string
Module: Not applicable.
                                                          Explanation: Input string is malformed in some iconv
Routing code: Not applicable.
                                                          functions (such as iconv_mime_decode).
Descriptor code: W- A warning (PHP continues).
                                                          Example: HPH00047 Malformed string
Automation: Not applicable.
                                                          System action: Displays the warning and continues
                                                          interpreting the script.
HPH00045     Detected an illegal character in input
                                                          Operator response: No System Operator response is
             string
                                                          required.
Explanation: PHP detected an illegal character in the
                                                          User response: Correct the input string.
input string, such as an illegal sequence.
                                                          System programmer response: No System
Example: HPH00045 Detected an illegal character in
                                                          Programmer response is required.
input string
                                                          Problem determination: No additional information.
System action: Displays the warning and continues
interpreting the script.                                  Source: PHP
Operator response: No System Operator response is         Module: Not applicable.
required.
                                                          Routing code: Not applicable.
User response: Make sure the input string is correct.
                                                          Descriptor code: W- A warning (PHP continues).
System programmer response: No System
                                                          Automation: Not applicable.
Programmer response is required.
Problem determination: No additional information.
                                                          HPH00048     Unknown error (integer)
Source: PHP
                                                          Explanation: Unknown error
Module: Not applicable.
                                                          integer
Routing code: Not applicable.                                  unknown error number
Descriptor code: W- A warning (PHP continues).            Example: HPH00048 Unknown error (11)
Automation: Not applicable.                               System action: Displays the warning and continues
                                                          interpreting the script.

                                                                                    Chapter 6. PHP messages   39
Operator response: No System Operator response is                php_iconv_stream_filter_append_bucket() function is
required.                                                        correct.
User response: Make sure the iconv() function is                 System programmer response: No System
used properly.                                                   Programmer response is required.
System programmer response: No System                            Problem determination: No additional information.
Programmer response is required.
                                                                 Source: PHP
Problem determination: No additional information.
                                                                 Module: Not applicable.
Source: PHP
                                                                 Routing code: Not applicable.
Module: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                                 Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                                      HPH00051       iconv stream filter (″string1″=>″string2
                                                                                ″): insufficient buffer
HPH00049      Offset not contained in string.                    Explanation: Buffer is insufficient in the
                                                                 php_iconv_stream_filter_append_bucket() function
Explanation: Offset is not specified in the parameters.
                                                                 string1
Example: HPH00049 Offset not contained in string.
                                                                      from charset
System action: Displays the warning and continues
                                                                 string2
interpreting the script.
                                                                      to charset
Operator response: No System Operator response is
                                                                 Example: HPH00051 iconv stream filter
required.
                                                                 (″GB2312″=>″UTF-8″): insufficient buffer
User response: Correct the parameter.
                                                                 System action: Displays the warning and continues
System programmer response: No System                            interpreting the script.
Programmer response is required.
                                                                 Operator response: No System Operator response is
Problem determination: No additional information.                required.
Source: PHP                                                      User response: Make sure the buffer length
                                                                 parameter of the
Module: Not applicable.                                          php_iconv_stream_filter_append_bucket() function is
Routing code: Not applicable.                                    correct.

Descriptor code: W- A warning (PHP continues).                   System programmer response: No System
                                                                 Programmer response is required.
Automation: Not applicable.
                                                                 Problem determination: No additional information.

HPH00050      iconv stream filter (″string1″=>″string2       Source: PHP
              ″): invalid multibyte sequence                     Module: Not applicable.
Explanation: Multibyte sequence is incorrect in the              Routing code: Not applicable.
php_iconv_stream_filter_append_bucket() function
                                                                 Descriptor code: W- A warning (PHP continues).
string1
     from charset                                                Automation: Not applicable.
string2
     to charset                                                  HPH00052       iconv stream filter (″string1″=>″string2
                                                                                ″): unknown error
Example: HPH00050 iconv stream filter
(″GB2312″=>″UTF-8″): invalid multibyte sequence                  Explanation: PHP encountered an unknown error in
                                                                 the php_iconv_stream_filter_append_bucket() function
System action: Displays the warning and continues
interpreting the script.                                         string1
                                                                      from charset
Operator response: No System Operator response is
required.                                                        string2
                                                                      to charset
User response: Make sure the parameter of the

40    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Example: HPH00052 iconv stream filter
                                                             HPH00059       PDO: driver string requires PDO API
(″GB2312″=>″UTF-8″): unknown error
                                                                            version long; this is PDO version
System action: Displays the warning and continues                           integer
interpreting the script.
                                                             Explanation: PDO version is not the same as the
Operator response: No System Operator response is            PDO API version required
required.
                                                             string
User response: Make sure all the parameters of                    PDO driver name
php_iconv_stream_filter_append_bucket() are correct.
                                                             long
For more information, please refer to php.net .
                                                                    PDO version required
System programmer response: No System
                                                             integer
Programmer response is required.
                                                                  PDO version
Problem determination: No additional information.
                                                             Example: HPH00059 PDO: driver sqlite requires PDO
Source: PHP                                                  API version 4; this is PDO version 3
Module: Not applicable.                                      System action: Displays the warning and continues
                                                             interpreting the script.
Routing code: Not applicable.
                                                             Operator response: No System Operator response is
Descriptor code: W- A warning (PHP continues).               required.
Automation: Not applicable.                                  User response: Make sure the PDO API version is
                                                             correct.
HPH00056      iconv stream filter (″string1″=>″string2   System programmer response: No System
              ″): unexpected octet values                    Programmer response is required.
Explanation: The octet values are not correct in the         Problem determination: No additional information.
php_iconv_stream_filter_append_bucket() function
                                                             Source: PHP
string1
     from charset                                            Module: Not applicable.
string2                                                      Routing code: Not applicable.
     to charset
                                                             Descriptor code: I- An internal error not caused by
Example: HPH00056 iconv stream filter                        user (a programming error in PHP).
(″GB2312″=>″UTF-8″): unexpected octet values
                                                             Automation: Not applicable.
System action: Displays the warning and continues
interpreting the script.
                                                             HPH00060       You MUST load PDO before loading
Operator response: No System Operator response is                           any PDO drivers
required.
                                                             Explanation: PDO module is not registered.
User response: Make sure the parameters of the
                                                             Example: HPH00060 You MUST load PDO before
php_iconv_stream_filter_append_bucket() function are
                                                             loading any PDO drivers
correct.
                                                             System action: Displays the warning and continues
System programmer response: No System
                                                             interpreting the script.
Programmer response is required.
                                                             Operator response: No System Operator response is
Problem determination: No additional information.
                                                             required.
Source: PHP
                                                             User response: Load the PDO module first when
Module: Not applicable.                                      building and running PHP.
Routing code: Not applicable.                                System programmer response: No System
                                                             Programmer response is required.
Descriptor code: W- A warning (PHP continues).
                                                             Problem determination: No additional information.
Automation: Not applicable.
                                                             Source: PHP
                                                             Module: Not applicable.
                                                             Routing code: Not applicable.


                                                                                           Chapter 6. PHP messages   41
Descriptor code: W- A warning (PHP continues).
                                                                HPH00064       Failed to register persistent entry
Automation: Not applicable.
                                                                Explanation: Failed to register persistent entry in PDO
                                                                constructor() function.
HPH00061     out of memory while allocating PDO
                                                                Example: HPH00064 Failed to register persistent entry
             handle
                                                                System action: PHP immediately stops interpreting
Explanation: Out of memory while allocating PDO
                                                                the file (before any statements are run) and exits.
handle.
                                                                Operator response: No System Operator response is
Example: HPH00061 out of memory while allocating
                                                                required.
PDO handle
                                                                User response: Make sure the persistent entry is
System action: Displays the warning and continues
                                                                correct.
interpreting the script.
                                                                System programmer response: No System
Operator response: No System Operator response is
                                                                Programmer response is required.
required.
                                                                Problem determination: No additional information.
User response: Make sure the system has enough
memory.                                                         Source: PHP
System programmer response: No System                           Module: Not applicable.
Programmer response is required.
                                                                Routing code: Not applicable.
Problem determination: No additional information.
                                                                Descriptor code: I- An internal error not caused by
Source: PHP                                                     user (a programming error in PHP).
Module: Not applicable.                                         Automation: Not applicable.
Routing code: Not applicable.
                                                                HPH00065       Out of memory while allocating PDO
Descriptor code: I- An internal error not caused by
                                                                               methods.
user (a programming error in PHP).
                                                                Explanation: PHP ran out of memory while allocating
Automation: Not applicable.
                                                                PDO methods.
                                                                Example: HPH00065 Out of memory while allocating
HPH00063     Out of memory
                                                                PDO methods.
Explanation: Out of memory in PDO constructor
                                                                System action: Displays the warning and continues
function.
                                                                interpreting the script.
Example: HPH00063 Out of memory
                                                                Operator response: No System Operator response is
System action: Displays the warning and continues               required.
interpreting the script.
                                                                User response: Make sure that system has enough
Operator response: No System Operator response is               memory to allocate PHP methods.
required.
                                                                System programmer response: No System
User response: Make sure the system has enough                  Programmer response is required.
memory.
                                                                Problem determination: No additional information.
System programmer response: No System
                                                                Source: PHP
Programmer response is required.
                                                                Module: Not applicable.
Problem determination: No additional information.
                                                                Routing code: Not applicable.
Source: PHP
                                                                Descriptor code: I- An internal error not caused by
Module: Not applicable.
                                                                user (a programming error in PHP).
Routing code: Not applicable.
                                                                Automation: Not applicable.
Descriptor code: I- An internal error not caused by
user (a programming error in PHP).
Automation: Not applicable.




42   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
System action: Displays the warning and continues
HPH00066     Incorrect data source name
                                                    interpreting the script.
Explanation: The data source name of PDO is not
                                                    Operator response: No System Operator response is
correct.
                                                    required.
Example: HPH00066 Incorrect data source name
                                                    User response: Correct the URI.
System action: Displays the warning and continues
                                                    System programmer response: No System
interpreting the script.
                                                    Programmer response is required.
Operator response: No System Operator response is
                                                    Problem determination: No additional information.
required.
                                                    Source: PHP
User response: Correct the data source name.
                                                    Module: Not applicable.
System programmer response: No System
Programmer response is required.                    Routing code: Not applicable.
Problem determination: No additional information.   Descriptor code: W- A warning (PHP continues).
Source: PHP                                         Automation: Not applicable.
Module: Not applicable.
                                                    HPH00069     Incorrect data source name (via URI)
Routing code: Not applicable.
                                                    Explanation: The data source name (via URI) is
Descriptor code: W- A warning (PHP continues).
                                                    incorrect.
Automation: Not applicable.
                                                    Example: HPH00069 Incorrect data source name (via
                                                    URI)
HPH00067     Incorrect data source name (via INI:
                                                    System action: Displays the warning and continues
             string)
                                                    interpreting the script.
Explanation: The data source name is incorrect.
                                                    Operator response: No System Operator response is
string                                              required.
     incorrect data source name
                                                    User response: Correct the data source name.
Example: HPH00067 Incorrect data source name (via
                                                    System programmer response: No System
INI: aaab)
                                                    Programmer response is required.
System action: Displays the warning and continues
                                                    Problem determination: No additional information.
interpreting the script.
                                                    Source: PHP
Operator response: No System Operator response is
required.                                           Module: Not applicable.
User response: Provide an acceptable data source    Routing code: Not applicable.
name.
                                                    Descriptor code: W- A warning (PHP continues).
System programmer response: No System
Programmer response is required.                    Automation: Not applicable.

Problem determination: No additional information.
                                                    HPH00070     Could not find driver
Source: PHP
                                                    Explanation: The driver, the first parameter of the
Module: Not applicable.                             PDO constructor function, is not correct.
Routing code: Not applicable.                       Example: HPH00070 Could not find driver
Descriptor code: W- A warning (PHP continues).      System action: Displays the warning and continues
                                                    interpreting the script.
Automation: Not applicable.
                                                    Operator response: No System Operator response is
                                                    required.
HPH00068     Incorrect data source URI
                                                    User response: Correct the driver.
Explanation: The URI of data source is incorrect.
                                                    System programmer response: No System
Example: HPH00068 Incorrect data source URI
                                                    Programmer response is required.
                                                    Problem determination: No additional information.

                                                                              Chapter 6. PHP messages     43
Source: PHP                                                      Routing code: Not applicable.
Module: Not applicable.                                          Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.                                    Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                 HPH00073       There is no active transaction
Automation: Not applicable.
                                                                 Explanation: A submit or rollback was performed on a
                                                                 nonexist transaction.
HPH00071      There is already an active transaction
                                                                 Example: HPH00073 There is no active transaction
Explanation: beginTransaction() was called more than
once before the end of the transaction.                          System action: PHP immediately stops interpreting
                                                                 the file (before any statements are run) and exits.
Example: HPH00071 There is already an active
transaction                                                      Operator response: No System Operator response is
                                                                 required.
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.              User response: Start a new transaction before
                                                                 peforming a submit or rollback.
Operator response: No System Operator response is
required.                                                        System programmer response: No System
                                                                 Programmer response is required.
User response: You can only call beginTransaction()
once before it has completed. If you make a call to              Problem determination: No additional information.
beginTransaction(), make sure not to call it again until
                                                                 Source: PHP
the first call has completed.
                                                                 Module: Not applicable.
System programmer response: No System
Programmer response is required.                                 Routing code: Not applicable.
Problem determination: No additional information.                Descriptor code: F- A fatal error (PHP exits
                                                                 immediately).
Source: PHP
                                                                 Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.
                                                                 HPH00075       The auto-commit mode cannot be
Descriptor code: F- A fatal error (PHP exits                                    changed for this driver
immediately).
                                                                 Explanation: For a certain database driver, the
Automation: Not applicable.                                      auto-commit mode cannot be changed.
                                                                 Example: HPH00075 The auto-commit mode cannot
HPH00072      This driver does not support                       be changed for this driver
              transactions
                                                                 System action: PHP immediately stops interpreting
Explanation: The database driver used in PDO does                the file (before any statements are run) and exits.
not support transactions.
                                                                 Operator response: No System Operator response is
Example: HPH00072 This driver does not support                   required.
transactions
                                                                 User response: For this database driver, you cannot
System action: Displays the warning and continues                change auto-commit mode to another one.
interpreting the script.
                                                                 System programmer response: No System
Operator response: No System Operator response is                Programmer response is required.
required.
                                                                 Problem determination: No additional information.
User response: Use another driver or do not use
                                                                 Source: PHP
transactions.
                                                                 Module: Not applicable.
System programmer response: No System
Programmer response is required.                                 Routing code: Not applicable.
Problem determination: No additional information.                Descriptor code: F- A fatal error (PHP exits
                                                                 immediately).
Source: PHP
                                                                 Automation: Not applicable.
Module: Not applicable.


44    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
HPH00076     You cannot serialize or unserialize      HPH00079       Did not find column name ’%s’ in the
             PDO instances                                           defined columns; it will not be bound
Explanation: PDO instances cannot be serialized or    Explanation: PHP cannot find the column name
unserialized.
                                                      string
Example: HPH00076 You cannot serialize or                  column name
unserialize PDO instances
                                                      Example: HPH00079 Did not find column name ’abc’
System action: PHP immediately stops interpreting     in the defined columns; it will not be bound
the file (before any statements are run) and exits.
                                                      System action: Displays the warning and continues
Operator response: No System Operator response is     interpreting the script.
required.
                                                      Operator response: No System Operator response is
User response: Do not serialize or unserialize PDO    required.
instances.
                                                      User response: Correct the column name.
System programmer response: No System
                                                      System programmer response: No System
Programmer response is required.
                                                      Programmer response is required.
Problem determination: No additional information.
                                                      Problem determination: No additional information.
Source: PHP
                                                      Source: PHP
Module: Not applicable.
                                                      Module: Not applicable.
Routing code: Not applicable.
                                                      Routing code: Not applicable.
Descriptor code: F- A fatal error (PHP exits
                                                      Descriptor code: W- A warning (PHP continues).
immediately).
                                                      Automation: Not applicable.
Automation: Not applicable.

                                                      HPH00080       PHP might crash if you do not call
HPH00078     You should not create a PDOStatement
                                                                     $stmt->setFetchMode() to reset to
             manually
                                                                     defaults on this persistent statement.
Explanation: You should not create a PDOStatement                    This will be fixed in a later release.
manually.
                                                      Explanation: If the statement is set to be persistent,
Example: HPH00078 You should not create a             PHP might crash if you do not call $stmt-
PDOStatement manually                                 >setFetchMode() to reset to defaults.
System action: Displays the warning and continues     Example: HPH00080 PHP might crash if you do not
interpreting the script.                              call $stmt->setFetchMode() to reset to defaults on this
                                                      persistent statement. This will be fixed in a later release.
Operator response: No System Operator response is
required.                                             System action: Displays the warning and continues
                                                      interpreting the script.
User response: Make sure not to ’new’ a
PDOStatement object.                                  Operator response: No System Operator response is
                                                      required.
System programmer response: No System
Programmer response is required.                      User response: Call $stmt->setFetchMode() .
Problem determination: No additional information.     System programmer response: No System
                                                      Programmer response is required.
Source: PHP
                                                      Problem determination: No additional information.
Module: Not applicable.
                                                      Source: PHP
Routing code: Not applicable.
                                                      Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                      Routing code: Not applicable.
Automation: Not applicable.
                                                      Descriptor code: W- A warning (PHP continues).
                                                      Automation: Not applicable.




                                                                                  Chapter 6. PHP messages     45
HPH00082     This PDORow is not from a writable                 HPH00085       You cannot serialize or unserialize
             result set                                                        PDOStatement instances
Explanation: The PDORow of result set is not                    Explanation: You cannot serialize or unserialize
writable.                                                       PDOStatement instances.
Example: HPH00082 This PDORow is not from a                     Example: HPH00085 You cannot serialize or
writable result set                                             unserialize PDOStatement instances
System action: Displays the warning and continues               System action: Displays the warning and continues
interpreting the script.                                        interpreting the script.
Operator response: No System Operator response is               Operator response: No System Operator response is
required.                                                       required.
User response: This PDORow object is read only. For             User response: Do not serialize or unserialize
more information, refer to PHP.net                              PDOStatement instances.
System programmer response: No System                           System programmer response: No System
Programmer response is required.                                Programmer response is required.
Problem determination: No additional information.               Problem determination: No additional information.
Source: PHP                                                     Source: PHP
Module: Not applicable.                                         Module: Not applicable.
Routing code: Not applicable.                                   Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                  Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                                     Automation: Not applicable.


HPH00083     Cannot delete properties from a                    HPH00087       Error in pdo_odbc.connection_pooling
             PDORow                                                            configuration. Value MUST be one of
                                                                               ’strict’, ’relaxed’ or ’off’.
Explanation: Cannot delete properties from a
PDORow.                                                         Explanation: PHP encountered an error in
                                                                pdo_odbc.connection_pooling configuration.
Example: HPH00083 Cannot delete properties from a
PDORow                                                          Example: HPH00087 Error in
                                                                pdo_odbc.connection_pooling configuration. Value
System action: Displays the warning and continues
                                                                MUST be one of ’strict’, ’relaxed’ or ’off’.
interpreting the script.
                                                                System action: Displays the warning and continues
Operator response: No System Operator response is
                                                                interpreting the script.
required.
                                                                Operator response: No System Operator response is
User response: Properties from this PDORow cannot
                                                                required.
be deleted. For more information, please refer to
PHP.net                                                         User response: You should change the
                                                                pdo_odbc.connection_pooling configuration value to be
System programmer response: No System
                                                                one of ’strict’, ’relaxed’ or ’off’.
Programmer response is required.
                                                                System programmer response: No System
Problem determination: No additional information.
                                                                Programmer response is required.
Source: PHP
                                                                Problem determination: No additional information.
Module: Not applicable.
                                                                Source: PHP
Routing code: Not applicable.
                                                                Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Routing code: Not applicable.
Automation: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
                                                                Automation: Not applicable.




46   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
HPH00088     Expects first argument to be a valid       HPH00090      Cannot create a block or character
             stream resource                                          device, creating a normal file instead
Explanation: The first parameter must be a valid        Explanation: PHP encountered a problem such that it
stream resource when user calls function                cannot create a block or character device.
posix_ttyname() and posix_isatty().
                                                        Example: HPH00090 Cannot create a block or
Example: HPH00088 Expects first argument to be a        character device, creating a normal file instead
valid stream resource
                                                        System action: Displays the warning and continues
System action: Displays the warning and continues       interpreting the script.
interpreting the script.
                                                        Operator response: No System Operator response is
Operator response: No System Operator response is       required.
required.
                                                        User response: Not applicable.
User response: Make sure the first parameter is a
                                                        System programmer response: No System
valid stream resource.
                                                        Programmer response is required.
System programmer response: No System
                                                        Problem determination: No additional information.
Programmer response is required.
                                                        Source: PHP
Problem determination: No additional information.
                                                        Module: Not applicable.
Source: PHP
                                                        Routing code: Not applicable.
Module: Not applicable.
                                                        Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                        Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                        HPH00091      Unable to convert posix group to array
                                                        Explanation: PHP encountered a problem such that it
HPH00089     For S_IFCHR and S_IFBLK, you need
                                                        is unable to convert posix group to array, in
             to pass a major device kernel identifier
                                                        posix_getgrnam() function.
Explanation: In the posix_mknod() function, if the
                                                        Example: HPH00091 Unable to convert posix group to
mode is S_IFCHR or S_IFBLK, an extra parameter, a
                                                        array
major device kernel identifier, is needed.
                                                        System action: Displays the warning and continues
Example: HPH00089 For S_IFCHR and S_IFBLK, you
                                                        interpreting the script.
need to pass a major device kernel identifier
                                                        Operator response: No System Operator response is
System action: Displays the warning and continues
                                                        required.
interpreting the script.
                                                        User response: Not applicable.
Operator response: No System Operator response is
required.                                               System programmer response: No System
                                                        Programmer response is required.
User response: Add a parameter, that is, a major
device kernel identifier.                               Problem determination: No additional information.
System programmer response: No System                   Source: PHP
Programmer response is required.
                                                        Module: Not applicable.
Problem determination: No additional information.
                                                        Routing code: Not applicable.
Source: PHP
                                                        Descriptor code: I- An internal error not caused by
Module: Not applicable.                                 user (a programming error in PHP).
Routing code: Not applicable.                           Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                        HPH00092      Unable to convert posix group struct
Automation: Not applicable.
                                                                      to array
                                                        Explanation: PHP encountered a problem such that it
                                                        is unable to convert posix group struct to array in
                                                        posix_getgrgid() function.

                                                                                  Chapter 6. PHP messages     47
Example: HPH00092 Unable to convert posix group                  System action: PHP immediately stops interpreting
struct to array                                                  the file (before any statements are run) and exits.
System action: Displays the warning and continues                Operator response: No System Operator response is
interpreting the script.                                         required.
Operator response: No System Operator response is                User response: User should not call the method or
required.                                                        function statically.
User response: Not applicable.                                   System programmer response: No System
                                                                 Programmer response is required.
System programmer response: No System
Programmer response is required.                                 Problem determination: No additional information.
Problem determination: No additional information.                Source: PHP
Source: PHP                                                      Module: Not applicable.
Module: Not applicable.                                          Routing code: Not applicable.
Routing code: Not applicable.                                    Descriptor code: F- A fatal error (PHP exits
                                                                 immediately).
Descriptor code: I- An internal error not caused by
user (a programming error in PHP).                               Automation: Not applicable.
Automation: Not applicable.
                                                                 HPH00096       Internal error: Failed to retrieve the
                                                                                reflection object
HPH00093      Unable to convert posix passwd struct
              to array                                           Explanation: The reflection object cannot be retrieved.
                                                                 For example, the possible reasion is that the object
Explanation: PHP encountered a problem such that it
                                                                 does not exist.
is unable to convert posix passwd struct to array in the
posix_getpwnam() function.                                       Example: HPH00096 Internal error: Failed to retrieve
                                                                 the reflection object
Example: HPH00093 Unable to convert posix passwd
struct to array                                                  System action: PHP immediately stops interpreting
                                                                 the file (before any statements are run) and exits.
System action: Displays the warning and continues
interpreting the script.                                         Operator response: No System Operator response is
                                                                 required.
Operator response: No System Operator response is
required.                                                        User response: Call the correct reflection object.
User response: Not applicable.                                   System programmer response: No System
                                                                 Programmer response is required.
System programmer response: No System
Programmer response is required.                                 Problem determination: No additional information.
Problem determination: No additional information.                Source: PHP
Source: PHP                                                      Module: Not applicable.
Module: Not applicable.                                          Routing code: Not applicable.
Routing code: Not applicable.                                    Descriptor code: F- A fatal error (PHP exits
                                                                 immediately).
Descriptor code: I- An internal error not caused by
user (a programming error in PHP).                               Automation: Not applicable.
Automation: Not applicable.
                                                                 HPH00097       Internal error: Cannot find extension
                                                                                function string in global function table
HPH00095      string() cannot be called statically
                                                                 Explanation: PHP encountered a problem that it
Explanation: Some methods cannot be called
                                                                 cannot find extension function in the global function
statically
                                                                 table
string
                                                                 string
     method/function name
                                                                      function name that cannot be found
Example: HPH00095 ReflectionFunction::getName()
                                                                 Example: HPH00097 Internal error: Cannot find
cannot be called statically
                                                                 extension function aaa in the global function table

48    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
System action: Displays the warning and continues        Operator response: No System Operator response is
interpreting the script.                                 required.
Operator response: No System Operator response is        User response: Provide the correct number of
required.                                                parameters.
User response: Not applicable.                           System programmer response: No System
                                                         Programmer response is required.
System programmer response: No System
Programmer response is required.                         Problem determination: No additional information.
Problem determination: No additional information.        Source: PHP
Source: PHP                                              Module: Not applicable.
Module: Not applicable.                                  Routing code: Not applicable.
Routing code: Not applicable.                            Descriptor code: W- A warning (PHP continues).
Descriptor code: I- An internal error not caused by      Automation: Not applicable.
user (a programming error in PHP).
Automation: Not applicable.                              HPH00100      Invocation of string’s constructor failed
                                                         Explanation: PHP encountered invocation of a zend
HPH00098      string::__toString() did not return        class entry’s constructor failed
              anything
                                                         string
Explanation: __toString() of the object did not return        zend class entry
anything
                                                         Example: HPH00100 Invocation of %s’s constructor
string                                                   failed
     object name
                                                         System action: Displays the warning and continues
Example: HPH00098 ABC::__toString() did not return       interpreting the script.
anything
                                                         Operator response: No System Operator response is
System action: Displays the warning and continues        required.
interpreting the script.
                                                         User response: Invocation of a zend class entry’s
Operator response: No System Operator response is        constructor failed. For more information, please refer to
required.                                                PHP.net.
User response: Not applicable.                           System programmer response: No System
                                                         Programmer response is required.
System programmer response: No System
Programmer response is required.                         Problem determination: No additional information.
Problem determination: No additional information.        Source: PHP
Source: PHP                                              Module: Not applicable.
Module: Not applicable.                                  Routing code: Not applicable.
Routing code: Not applicable.                            Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).           Automation: Not applicable.
Automation: Not applicable.
                                                         HPH00101      Internal error: Failed to retrieve the
                                                                       argument’s reflection object
HPH00099      Invoke() expects at least one
              parameter, none given                      Explanation: Internal error: Failed to retrieve the
                                                         argument’s reflection object when user used
Explanation: The parameter given is not correct;
                                                         isSubclassOf() and implementsInterface() functions of
invoke() needs at least one parameter.
                                                         ReflectionClass.
Example: HPH00099 Invoke() expects at least one
                                                         Example: HPH00101 Internal error: Failed to retrieve
parameter, none given
                                                         the argument’s reflection object
System action: Displays the warning and continues
                                                         System action: PHP immediately stops interpreting
interpreting the script.
                                                         the file (before any statements are run) and exits.


                                                                                    Chapter 6. PHP messages     49
Operator response: No System Operator response is                the file (before any statements are run) and exits.
required.
                                                                 Operator response: No System Operator response is
User response: PHP fail to retrieve the argument’s               required.
reflection object. For more information, please refer to
                                                                 User response: PHP cannot determine default value
PHP.net.
                                                                 for internal functions. For more information, refer to
System programmer response: No System                            PHP.net.
Programmer response is required.
                                                                 System programmer response: No System
Problem determination: No additional information.                Programmer response is required.
Source: PHP                                                      Problem determination: No additional information.
Module: Not applicable.                                          Source: PHP
Routing code: Not applicable.                                    Module: Not applicable.
Descriptor code: I- An internal error not caused by              Routing code: Not applicable.
user (a programming error in PHP).
                                                                 Descriptor code: I- An internal error not caused by
Automation: Not applicable.                                      user (a programming error in PHP).
                                                                 Automation: Not applicable.
HPH00103      Internal error: Could not find the
              property string
                                                                 HPH00108       Parameter is not optional
Explanation: The property of an object could not be
                                                                 Explanation: In getDefaultValue() function of class
found
                                                                 ReflectionParameter, some parameters have been
string                                                           treated as optional and therefore not provided.
     a property that could not be found                          However, all parameters are required.
Example: HPH00103 Internal error: Could not find the             Example: HPH00108 Parameter is not optional
property length
                                                                 System action: PHP immediately stops interpreting
System action: PHP immediately stops interpreting                the file (before any statements are run) and exits.
the file (before any statements are run) and exits.
                                                                 Operator response: No System Operator response is
Operator response: No System Operator response is                required.
required.
                                                                 User response: Make sure all required parameters
User response: Correct the usage of                              are provided.
reflectionProperty to make sure the property matches.
                                                                 System programmer response: No System
System programmer response: No System                            Programmer response is required.
Programmer response is required.
                                                                 Problem determination: No additional information.
Problem determination: No additional information.
                                                                 Source: PHP
Source: PHP
                                                                 Module: Not applicable.
Module: Not applicable.
                                                                 Routing code: Not applicable.
Routing code: Not applicable.
                                                                 Descriptor code: F- A fatal error (PHP exits
Descriptor code: F- A fatal error (PHP exits                     immediately).
immediately).
                                                                 Automation: Not applicable.
Automation: Not applicable.
                                                                 HPH00109       Internal error
HPH00107      Cannot determine default value for
                                                                 Explanation: In the function getDefaultValue() of class
              internal functions
                                                                 ReflectionParameter, PHP encountered an internal error.
Explanation: Cannot determine default value for
                                                                 Example: HPH00109 Internal error
internal functions in getDefaultValue() function of
ReflectionParameter class.                                       System action: PHP immediately stops interpreting
                                                                 the file (before any statements are run) and exits.
Example: HPH00107 Cannot determine default value
for internal functions                                           Operator response: No System Operator response is
                                                                 required.
System action: PHP immediately stops interpreting

50    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
User response: Internal error. For more information,     ABC::length does not specify a base class of aaa
refer to PHP.net
                                                         System action: PHP immediately stops interpreting
System programmer response: No System                    the file (before any statements are run) and exits.
Programmer response is required.
                                                         Operator response: No System Operator response is
Problem determination: No additional information.        required.
Source: PHP                                              User response: Make sure that the base class is
                                                         specified.
Module: Not applicable.
                                                         System programmer response: No System
Routing code: Not applicable.
                                                         Programmer response is required.
Descriptor code: I- An internal error not caused by
                                                         Problem determination: No additional information.
user (a programming error in PHP).
                                                         Source: PHP
Automation: Not applicable.
                                                         Module: Not applicable.
HPH00110      Class string does not exist                Routing code: Not applicable.
Explanation: When user tries to get a class with         Descriptor code: F- A fatal error (PHP exits
reflection, the class does not exist                     immediately).
string                                                   Automation: Not applicable.
     class name
Example: HPH00110 Class ABC does not exist               HPH00113      Access to non-public constructor of
                                                                       class string
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.      Explanation: Access to non-public constructor of class
Operator response: No System Operator response is        string
required.                                                     zend class entry
User response: Make sure the class exists.               Example: HPH00113 Access to non-public constructor
                                                         of class abc
System programmer response: No System
Programmer response is required.                         System action: PHP immediately stops interpreting
                                                         the file (before any statements are run) and exits.
Problem determination: No additional information.
                                                         Operator response: No System Operator response is
Source: PHP
                                                         required.
Module: Not applicable.
                                                         User response: Make sure that only public
Routing code: Not applicable.                            constructors of the class are accessed.
Descriptor code: F- A fatal error (PHP exits             System programmer response: No System
immediately).                                            Programmer response is required.
Automation: Not applicable.                              Problem determination: No additional information.
                                                         Source: PHP
HPH00112      Fully qualified property name
                                                         Module: Not applicable.
              string1::string2 does not specify a base
              class of string3                           Routing code: Not applicable.
Explanation: In function getProperty() of class          Descriptor code: F- A fatal error (PHP exits
ReflectionClass, the base class of the fully qualified   immediately).
property is not specified.
                                                         Automation: Not applicable.
string1
     class name
                                                         HPH00114      A session is active. You cannot change
string2                                                                the session module’s ini settings at
     property name                                                     this time.
string3                                                  Explanation: The session module’s ini settings cannot
     zend class entry                                    be changed when the session is active.
Example: HPH00112 Fully qualified property name          Example: HPH00114 A session is active. You cannot


                                                                                   Chapter 6. PHP messages     51
change the session module’s ini settings at this time.           Operator response: No System Operator response is
                                                                 required.
System action: Displays the warning and continues
interpreting the script.                                         User response: Make sure that the serialization
                                                                 handler is available.
Operator response: No System Operator response is
required.                                                        System programmer response: No System
                                                                 Programmer response is required.
User response: Do not change the session module’s
ini settings when it is active.                                  Problem determination: No additional information.
System programmer response: No System                            Source: PHP
Programmer response is required.
                                                                 Module: Not applicable.
Problem determination: No additional information.
                                                                 Routing code: Not applicable.
Source: PHP
                                                                 Descriptor code: F- A fatal error (PHP exits
Module: Not applicable.                                          immediately).
Routing code: Not applicable.                                    Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                 HPH00117       Unknown session.serialize_handler.
Automation: Not applicable.
                                                                                Failed to encode session object.
                                                                 Explanation: The session.serialize_handler is
HPH00115       Cannot find save handler string
                                                                 unknown.
Explanation: When PHP is starting a session or
                                                                 Example: HPH00117 Unknown
updating a save handler, the save handler cannot be
                                                                 session.serialize_handler. Failed to encode session
found
                                                                 object.
string
                                                                 System action: Displays the warning and continues
     the save handler that cannot be found
                                                                 interpreting the script.
Example: HPH00115 Cannot find save handler fff
                                                                 Operator response: No System Operator response is
System action: Displays the warning and continues                required.
interpreting the script.
                                                                 User response: Correct the session.serialize_handler.
Operator response: No System Operator response is
                                                                 System programmer response: No System
required.
                                                                 Programmer response is required.
User response: Correct the name of the save handler.
                                                                 Problem determination: No additional information.
System programmer response: No System
                                                                 Source: PHP
Programmer response is required.
                                                                 Module: Not applicable.
Problem determination: No additional information.
                                                                 Routing code: Not applicable.
Source: PHP
                                                                 Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                                 Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                 HPH00118       Cannot encode non-existent session.
Automation: Not applicable.
                                                                 Explanation: PHP cannot encode non-existent
                                                                 session (function session_encode()).
HPH00116       Cannot find serialization handler string
                                                                 Example: HPH00118 Cannot encode non-existent
Explanation: PHP cannot find serialization handler               session.
string                                                           System action: Displays the warning and continues
     serialization handler                                       interpreting the script.

Example: HPH00116 Cannot find serialization handler              Operator response: No System Operator response is
abc                                                              required.
System action: PHP immediately stops interpreting                User response: Use a correct session when calling
the file (before any statements are run) and exits.              session_encode().


52    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
System programmer response: No System                   Module: Not applicable.
Programmer response is required.
                                                        Routing code: Not applicable.
Problem determination: No additional information.
                                                        Descriptor code: W- A warning (PHP continues).
Source: PHP
                                                        Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.                           HPH00121      Incorrect session hash function
Descriptor code: W- A warning (PHP continues).          Explanation: The session hash function is incorrect.
Automation: Not applicable.                             Example: HPH00121 Incorrect session hash function
                                                        System action: PHP immediately stops interpreting
HPH00119      Unknown session.serialize_handler.        the file (before any statements are run) and exits.
              Failed to decode session object.
                                                        Operator response: No System Operator response is
Explanation: The session.serialize_handler is           required.
unknown.
                                                        User response: Correct the session hash function
Example: HPH00119 Unknown                               name.
session.serialize_handler. Failed to decode session
                                                        System programmer response: No System
object.
                                                        Programmer response is required.
System action: Displays the warning and continues
                                                        Problem determination: No additional information.
interpreting the script.
                                                        Source: PHP
Operator response: No System Operator response is
required.                                               Module: Not applicable.
User response: Correct the session.serialize_handler.   Routing code: Not applicable.
System programmer response: No System                   Descriptor code: F- A fatal error (PHP exits
Programmer response is required.                        immediately).
Problem determination: No additional information.       Automation: Not applicable.
Source: PHP
                                                        HPH00122      The ini setting
Module: Not applicable.
                                                                      hash_bits_per_character is out of
Routing code: Not applicable.                                         range (should be 4, 5, or 6) - using 4
                                                                      for now
Descriptor code: W- A warning (PHP continues).
                                                        Explanation: The hash_bits_per_character is out of
Automation: Not applicable.
                                                        range.
                                                        Example: HPH00122 The ini setting
HPH00120      Failed to decode session object.
                                                        hash_bits_per_character is out of range (should be 4, 5,
              Session has been destroyed.
                                                        or 6) - using 4 for now
Explanation: PHP failed to decode session object.
                                                        System action: Displays the warning and continues
Session has been destroyed.
                                                        interpreting the script.
Example: HPH00120 Failed to decode session object.
                                                        Operator response: No System Operator response is
Session has been destroyed.
                                                        required.
System action: Displays the warning and continues
                                                        User response: Make sure hash_bits_per_character is
interpreting the script.
                                                        4, 5 or 6 .
Operator response: No System Operator response is
                                                        System programmer response: No System
required.
                                                        Programmer response is required.
User response: Since the session has been
                                                        Problem determination: No additional information.
destroyed, PHP failed to decode session object.
                                                        Source: PHP
System programmer response: No System
Programmer response is required.                        Module: Not applicable.
Problem determination: No additional information.       Routing code: Not applicable.
Source: PHP                                             Descriptor code: W- A warning (PHP continues).

                                                                                  Chapter 6. PHP messages      53
Automation: Not applicable.                                      Descriptor code: F- A fatal error (PHP exits
                                                                 immediately).
HPH00123      No storage module chosen - failed to               Automation: Not applicable.
              initialize session.
Explanation: When PHP is initializing session, no                HPH00125       The session bug compatibility code
storage module is chosen. Thus it failed to initialize the                      will not try to locate the global variable
session.                                                                        $longunsigned due to its numeric
                                                                                nature.
Example: HPH00123 No storage module chosen -
failed to initialize session.                                    Explanation: Since the it is numeric, the session bug
                                                                 compatibility code will not try to locate the global
System action: PHP immediately stops interpreting
                                                                 variable.
the file (before any statements are run) and exits.
                                                                 longunsigned
Operator response: No System Operator response is
                                                                     number key
required.
                                                                 Example: HPH00125 The session bug compatibility
User response: Make sure the storage module is
                                                                 code will not try to locate the global variable 323131434
chosen.
                                                                 due to its numeric nature.
System programmer response: No System
                                                                 System action: Displays the warning and continues
Programmer response is required.
                                                                 interpreting the script.
Problem determination: No additional information.
                                                                 Operator response: No System Operator response is
Source: PHP                                                      required.
Module: Not applicable.                                          User response: It’s an informational notice.
Routing code: Not applicable.                                    System programmer response: No System
                                                                 Programmer response is required.
Descriptor code: F- A fatal error (PHP exits
immediately).                                                    Problem determination: No additional information.
Automation: Not applicable.                                      Source: PHP
                                                                 Module: Not applicable.
HPH00124      Failed to initialize storage module:
                                                                 Routing code: Not applicable.
              string1 (path: string2)
                                                                 Descriptor code: N- An informational notice. Could be
Explanation: Failed to initialize storage module
                                                                 an error or could be normal behavior.
string1
                                                                 Automation: Not applicable.
     storage module name
string2
                                                                 HPH00126       Your script possibly relies on a
     save path
                                                                                session side-effect which existed until
Example: HPH00124 Failed to initialize storage                                  PHP 4.2.3. Please be advised that the
module: abc (path: /home/lxl/php/php512/php512pdo/                              session extension does not consider
sapi/cli/test_temp)                                                             global variables as a source of data,
                                                                                unless register_globals is enabled. You
System action: PHP immediately stops interpreting                               can disable this functionality and this
the file (before any statements are run) and exits.                             warning by setting
Operator response: No System Operator response is                               session.bug_compat_42 or
required.                                                                       session.bug_compat_warn to off,
                                                                                respectively.
User response: Not applicable.
                                                                 Explanation: The script possibly relies on a session
System programmer response: No System                            side-effect which existed until PHP 4.2.3 .
Programmer response is required.
                                                                 Example: HPH00126 Your script possibly relies on a
Problem determination: No additional information.                session side-effect which existed until PHP 4.2.3.
Source: PHP                                                      Please be advised that the session extension does not
                                                                 consider global variables as a source of data, unless
Module: Not applicable.                                          register_globals is enabled. You can disable this
Routing code: Not applicable.                                    functionality and this warning by setting



54    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
session.bug_compat_42 or session.bug_compat_warn
                                                           HPH00128       Cannot send session cache limiter -
to off, respectively.
                                                                          headers already sent (output started at
System action: Displays the warning and continues                         string:integer)
interpreting the script.
                                                           Explanation: The session cache limiter cannot be
Operator response: No System Operator response is          sent, possibly because the session has been committed
required.
                                                           string
User response: Either disable this functionality or this        the script location
warning.
                                                           integer
System programmer response: No System                           line number of the script that output this warning
Programmer response is required.
                                                           Example: HPH00128 Cannot send session cache
Problem determination: No additional information.          limiter - headers already sent (output started at
                                                           /home/lxl/php/php512/php512pdo/sapi/cli/
Source: PHP                                                test_temp.php:4)
Module: Not applicable.                                    System action: Displays the warning and continues
Routing code: Not applicable.                              interpreting the script.

Descriptor code: W- A warning (PHP continues).             Operator response: No System Operator response is
                                                           required.
Automation: Not applicable.
                                                           User response: Correct the use of session functions.

HPH00127      Failed to write session data (string).       System programmer response: No System
              Please verify that the current setting of    Programmer response is required.
              session.save_path is correct (string)        Problem determination: No additional information.
Explanation: The session.save_path is incorrect, so it     Source: PHP
failed to write session data.
                                                           Module: Not applicable.
string
     session name                                          Routing code: Not applicable.
string                                                     Descriptor code: W- A warning (PHP continues).
     incorrect session.save_path
                                                           Automation: Not applicable.
Example: HPH00127 Failed to write session data
(files). Please verify that the current setting of
                                                           HPH00129       Cannot send session cache limiter -
session.save_path is correct (ffdsf)
                                                                          headers already sent
System action: Displays the warning and continues
                                                           Explanation: The session cache limiter cannot be
interpreting the script.
                                                           sent, possibly because the session has been
Operator response: No System Operator response is          committed.
required.
                                                           Example: HPH00129 Cannot send session cache
User response: Correct the session.save path .             limiter - headers already sent
System programmer response: No System                      System action: Displays the warning and continues
Programmer response is required.                           interpreting the script.
Problem determination: No additional information.          Operator response: No System Operator response is
                                                           required.
Source: PHP
                                                           User response: Correct the use of session functions.
Module: Not applicable.
                                                           System programmer response: No System
Routing code: Not applicable.                              Programmer response is required.
Descriptor code: W- A warning (PHP continues).             Problem determination: No additional information.
Automation: Not applicable.                                Source: PHP
                                                           Module: Not applicable.
                                                           Routing code: Not applicable.
                                                           Descriptor code: W- A warning (PHP continues).


                                                                                      Chapter 6. PHP messages        55
Automation: Not applicable.                                      Module: Not applicable.
                                                                 Routing code: Not applicable.
HPH00130       Cannot send session cookie - headers
                                                                 Descriptor code: W- A warning (PHP continues).
               already sent by (output started at
               string:integer)                                   Automation: Not applicable.
Explanation: The session cookie cannot be sent,
possibly because the old session has ended or a new              HPH00133       Cannot find unknown save handler
session has started
                                                                 Explanation: When starting a session or updating a
string                                                           save handler, the save handler cannot be found.
     the script location
                                                                 Example: HPH00133 Cannot find unknown save
integer                                                          handler
     line number of the script that output this warning
                                                                 System action: Displays the warning and continues
Example: HPH00130 Cannot send session cookie -                   interpreting the script.
headers already sent by (output started at
/home/lxl/php/php512/php512pdo/sapi/cli/                         Operator response: No System Operator response is
test_temp.php:4)                                                 required.

System action: Displays the warning and continues                User response: Correct the name of the save handler.
interpreting the script.                                         System programmer response: No System
Operator response: No System Operator response is                Programmer response is required.
required.                                                        Problem determination: No additional information.
User response: Correct the use of the session                    Source: PHP
functions.
                                                                 Module: Not applicable.
System programmer response: No System
Programmer response is required.                                 Routing code: Not applicable.

Problem determination: No additional information.                Descriptor code: W- A warning (PHP continues).

Source: PHP                                                      Automation: Not applicable.

Module: Not applicable.
                                                                 HPH00134       A session had already been started -
Routing code: Not applicable.                                                   ignoring session_start()
Descriptor code: W- A warning (PHP continues).                   Explanation: A session had already been started, so
Automation: Not applicable.                                      this session_start() is ignored.
                                                                 Example: HPH00134 A session had already been
HPH00131       Cannot send session cookie - headers              started - ignoring session_start()
               already sent                                      System action: Displays the warning and continues
Explanation: The session cookie cannot be sent,                  interpreting the script.
possibly because the old session has ended or a new              Operator response: No System Operator response is
session has started.                                             required.
Example: HPH00131 Cannot send session cookie -                   User response: Do not run session_start() again until
headers already sent                                             the first session has ended.
System action: Displays the warning and continues                System programmer response: No System
interpreting the script.                                         Programmer response is required.
Operator response: No System Operator response is                Problem determination: No additional information.
required.
                                                                 Source: PHP
User response: Correct the use of the session
functions.                                                       Module: Not applicable.

System programmer response: No System                            Routing code: Not applicable.
Programmer response is required.                                 Descriptor code: N- An informational notice. Could be
Problem determination: No additional information.                an error or could be normal behavior.

Source: PHP                                                      Automation: Not applicable.

56    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Operator response: No System Operator response is
HPH00135       --removed, because this statement is
                                                         required.
               under #if 0
                                                         User response: Not applicable.
Explanation:
                                                         System programmer response: No System
Example: HPH00135 purged %d expired session
                                                         Programmer response is required.
objects
                                                         Problem determination: No additional information.
System action:
                                                         Source: PHP
Operator response: No System Operator response is
required.                                                Module: Not applicable.
User response:                                           Routing code: Not applicable.
System programmer response: No System                    Descriptor code: W- A warning (PHP continues).
Programmer response is required.
                                                         Automation: Not applicable.
Problem determination: No additional information.
Source: PHP                                              HPH00138     Cannot find named PHP session
                                                                      module (string)
Module: Not applicable.
                                                         Explanation: The session module cannot be found
Routing code: Not applicable.
                                                         string
Descriptor code:
                                                              session module that cannot be found
Automation: Not applicable.
                                                         Example: HPH00138 Cannot find named PHP session
                                                         module (haha)
HPH00136       Trying to destroy uninitialized session
                                                         System action: PHP immediately stops interpreting
Explanation: An uninitialized session cannot be          the file (before any statements are run) and exits.
destroyed.
                                                         Operator response: No System Operator response is
Example: HPH00136 Trying to destroy uninitialized        required.
session
                                                         User response: Correct the session module name.
System action: Displays the warning and continues
                                                         System programmer response: No System
interpreting the script.
                                                         Programmer response is required.
Operator response: No System Operator response is
                                                         Problem determination: No additional information.
required.
                                                         Source: PHP
User response: Initialize the session first, or do not
destroy it when it is uninitialized.                     Module: Not applicable.
System programmer response: No System                    Routing code: Not applicable.
Programmer response is required.
                                                         Descriptor code: F- A fatal error (PHP exits
Problem determination: No additional information.        immediately).
Source: PHP                                              Automation: Not applicable.
Module: Not applicable.
                                                         HPH00139     Argument integer is not a valid callback
Routing code: Not applicable.
                                                         Explanation: The argument is not a callable function.
Descriptor code: W- A warning (PHP continues).
                                                         integer
Automation: Not applicable.
                                                              incorrect argument number
                                                         Example: HPH00139 Argument 1 is not a valid
HPH00137       Session object destruction failed
                                                         callback
Explanation: Session object destruction failed when
                                                         System action: Displays the warning and continues
running function php_session_destory().
                                                         interpreting the script.
Example: HPH00137 Session object destruction failed
                                                         Operator response: No System Operator response is
System action: Displays the warning and continues        required.
interpreting the script.


                                                                                   Chapter 6. PHP messages     57
User response: Correct the callback function or                  Operator response: No System Operator response is
correct the argument.                                            required.
System programmer response: No System                            User response: Correct it according to the error
Programmer response is required.                                 message.
Problem determination: No additional information.                System programmer response: No System
                                                                 Programmer response is required.
Source: PHP
                                                                 Problem determination: No additional information.
Module: Not applicable.
                                                                 Source: PHP
Routing code: Not applicable.
                                                                 Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                 Routing code: Not applicable.
Automation: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
HPH00141       The session id contains illegal                   Automation: Not applicable.
               characters, valid characters are a-z,
               A-Z, 0-9 and ’-,’
                                                                 HPH00143       open(string, O_RDWR) failed: string
Explanation: The session id contains illegal                                    (integer)
characters.
                                                                 Explanation: Open session file failed
Example: HPH00141 The session id contains illegal
                                                                 string
characters, valid characters are a-z, A-Z, 0-9 and ’-,’
                                                                      session file path
System action: Displays the warning and continues
                                                                 string
interpreting the script.
                                                                      error string
Operator response: No System Operator response is
                                                                 integer
required.
                                                                      error number
User response: Make sure that the session id is
                                                                 Example: HPH00143 open(/u/quans/tmp2/
composed of valid characters.
                                                                 sess_f99942c3fb1ef350e6a5cfb17df8d666, O_RDWR)
System programmer response: No System                            failed: No such file or directory (2)
Programmer response is required.
                                                                 System action: Displays the warning and continues
Problem determination: No additional information.                interpreting the script.
Source: PHP                                                      Operator response: No System Operator response is
                                                                 required.
Module: Not applicable.
                                                                 User response: Correct the path of the session file.
Routing code: Not applicable.
                                                                 System programmer response: No System
Descriptor code: W- A warning (PHP continues).
                                                                 Programmer response is required.
Automation: Not applicable.
                                                                 Problem determination: No additional information.
                                                                 Source: PHP
HPH00142       fcntl(integer1, F_SETFD, FD_CLOEXEC)
               failed: string (integer2)                         Module: Not applicable.
Explanation: Function fcntl() failed.                            Routing code: Not applicable.
integer1                                                         Descriptor code: W- A warning (PHP continues).
     file descriptor
                                                                 Automation: Not applicable.
string
     error string
                                                                 HPH00144       ps_files_cleanup_dir: opendir(string1)
integer2                                                                        failed: string2 (integer)
     error number
                                                                 Explanation: ps_files_cleanup_dir: opendir failed
Example: HPH00142 fcntl(6, F_SETFD,
                                                                 string1
FD_CLOEXEC) failed: something is wrong (11)
                                                                      directory name
System action: Displays the warning and continues
                                                                 string2
interpreting the script.
                                                                      error string

58    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
integer
                                                         HPH00146       read returned less bytes than
     error number
                                                                        requested
Example: HPH00144 ps_files_cleanup_dir:
                                                         Explanation: Function read() returned less bytes than
opendir(/home/lxl/abc) failed: something is wrong (11)
                                                         requested.
System action: Displays the warning and continues
                                                         Example: HPH00146 read returned less bytes than
interpreting the script.
                                                         requested
Operator response: No System Operator response is
                                                         System action: Displays the warning and continues
required.
                                                         interpreting the script.
User response: Correct it according to the error
                                                         Operator response: No System Operator response is
message.
                                                         required.
System programmer response: No System
                                                         User response: Not applicable.
Programmer response is required.
                                                         System programmer response: No System
Problem determination: No additional information.
                                                         Programmer response is required.
Source: PHP
                                                         Problem determination: No additional information.
Module: Not applicable.
                                                         Source: PHP
Routing code: Not applicable.
                                                         Module: Not applicable.
Descriptor code: N- An informational notice. Could be
                                                         Routing code: Not applicable.
an error or could be normal behavior.
                                                         Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                         Automation: Not applicable.
HPH00145       read failed: string (integer)
                                                         HPH00147       write failed: string (integer)
Explanation: Function read() failed.
                                                         Explanation: Function write() failed
string
     error string                                        string
                                                              error string
integer
     error number                                        integer
                                                              error number
Example: HPH00145 read failed: something is wrong
(11)                                                     Example: HPH00147 write failed: something is wrong
                                                         (11)
System action: Displays the warning and continues
interpreting the script.                                 System action: Displays the warning and continues
                                                         interpreting the script.
Operator response: No System Operator response is
required.                                                Operator response: No System Operator response is
                                                         required.
User response: Correct it according to the error
message                                                  User response: Correct it according to the error
                                                         message.
System programmer response: No System
Programmer response is required.                         System programmer response: No System
                                                         Programmer response is required.
Problem determination: No additional information.
                                                         Problem determination: No additional information.
Source: PHP
                                                         Source: PHP
Module: Not applicable.
                                                         Module: Not applicable.
Routing code: Not applicable.
                                                         Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                         Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                         Automation: Not applicable.




                                                                                     Chapter 6. PHP messages   59
HPH00148      write() wrote less bytes than requested            HPH00150       Cannot allocate new data segment
Explanation: Function write() wrote less bytes than              Explanation: PHP cannot allocate new data segment.
requested.
                                                                 Example: HPH00150 cannot allocate new data
Example: HPH00148 write wrote less bytes than                    segment
requested
                                                                 System action: Displays the warning and continues
System action: Displays the warning and continues                interpreting the script.
interpreting the script.
                                                                 Operator response: No System Operator response is
Operator response: No System Operator response is                required.
required.
                                                                 User response: Make sure that mm_malloc() is
User response: Not applicable.                                   successful.
System programmer response: No System                            System programmer response: No System
Programmer response is required.                                 Programmer response is required.
Problem determination: No additional information.                Problem determination: No additional information.
Source: PHP                                                      Source: PHP
Module: Not applicable.                                          Module: Not applicable.
Routing code: Not applicable.                                    Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                   Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                                      Automation: Not applicable.


HPH00149      mm_malloc() failed, avail integer, err             HPH00151       Class string1 does not existstring2
              string
                                                                 Explanation: The class does not exist
Explanation: mm_malloc() failed
                                                                 string1
integer                                                               nonexistant class name
string                                                           string2
     mm error string                                                  whether it is autoloaded
Example: HPH00149 mm_malloc failed, avail 12, err                Example: HPH00151 Class abc does not exist and
some error                                                       could not be loaded
System action: Displays the warning and continues                System action: Displays the warning and continues
interpreting the script.                                         interpreting the script.
Operator response: No System Operator response is                Operator response: No System Operator response is
required.                                                        required.
User response: Correct it according to the error                 User response: Provide an existing class name.
string.
                                                                 System programmer response: No System
System programmer response: No System                            Programmer response is required.
Programmer response is required.
                                                                 Problem determination: No additional information.
Problem determination: No additional information.
                                                                 Source: PHP
Source: PHP
                                                                 Module: Not applicable.
Module: Not applicable.
                                                                 Routing code: Not applicable.
Routing code: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).
                                                                 Automation: Not applicable.
Automation: Not applicable.




60    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Example: HPH00155 Passed array specifies a non
HPH00152     Object or string expected
                                                        static method but no object
Explanation: A wrong argument type was given, but
                                                        System action: Displays the warning and continues
an object or string was expected.
                                                        interpreting the script.
Example: HPH00152 Object or string expected
                                                        Operator response: No System Operator response is
System action: Displays the warning and continues       required.
interpreting the script.
                                                        User response: Correct the passed array of
Operator response: No System Operator response is       spl_autoload_register() .
required.
                                                        System programmer response: No System
User response: Provide an argument of type object or    Programmer response is required.
string.
                                                        Problem determination: No additional information.
System programmer response: No System
                                                        Source: PHP
Programmer response is required.
                                                        Module: Not applicable.
Problem determination: No additional information.
                                                        Routing code: Not applicable.
Source: PHP
                                                        Descriptor code: F- A fatal error (PHP exits
Module: Not applicable.
                                                        immediately).
Routing code: Not applicable.
                                                        Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                             HPH00156       Passed array does not specify string
                                                                       stringmethod
HPH00154     Class string could not be loaded           Explanation: The passed array is not correct, because
                                                        it does not specify a certain method.
Explanation: The class could not be loaded
                                                        string
string
                                                             callable or existing
     class name that could not be loaded
                                                        string
Example: HPH00154 Class CL could not be loaded
                                                             static or not
System action: PHP immediately stops interpreting
                                                        Example: HPH00156 Passed array does not specify a
the file (before any statements are run) and exits.
                                                        callable static method
Operator response: No System Operator response is
                                                        System action: PHP immediately stops interpreting
required.
                                                        the file (before any statements are run) and exits.
User response: Provide a correct class name.
                                                        Operator response: No System Operator response is
System programmer response: No System                   required.
Programmer response is required.
                                                        User response: Correct the passed array of function
Problem determination: No additional information.       spl_autoload_register() .
Source: PHP                                             System programmer response: No System
                                                        Programmer response is required.
Module: Not applicable.
                                                        Problem determination: No additional information.
Routing code: Not applicable.
                                                        Source: PHP
Descriptor code: F- A fatal error (PHP exits
immediately).                                           Module: Not applicable.
Automation: Not applicable.                             Routing code: Not applicable.
                                                        Descriptor code: F- A fatal error (PHP exits
HPH00155     Passed array specifies a non static        immediately).
             method but no object
                                                        Automation: Not applicable.
Explanation: The passed array was wrong, because it
specifies a non static method of a class which is not
instantized.



                                                                                    Chapter 6. PHP messages   61
HPH00157       Function ’functionname’ not string                HPH00160       Method classname::method() does not
                                                                                exist
Explanation: Function cannot normally work or is not
correctly defined.                                               Explanation: Method does not exist
functionname                                                     classname
    Name of the function                                             Name of class
string                                                           method
     callable or existing                                            A method of class
Example: HPH00157 Function ’abc’ not callable                    Example: HPH00160 Method foo::foo1() does not
                                                                 exist
System action: Displays the warning and continues
interpreting the script.                                         System action: Displays the warning and continues
                                                                 interpreting the script.
Operator response: No System Operator response is
required.                                                        Operator response: No System Operator response is
                                                                 required.
User response: Make sure the function exists and is
correctly defined.                                               User response: Make sure the class and the method
                                                                 exists.
System programmer response: No System
Programmer response is required.                                 System programmer response: No System
                                                                 Programmer response is required.
Problem determination: No additional information.
                                                                 Problem determination: No additional information.
Source: PHP
                                                                 Source: PHP
Module: Not applicable.
                                                                 Module: Not applicable.
Routing code: Not applicable.
                                                                 Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                 Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                                 Automation: Not applicable.
HPH00158       Illegal value passed
                                                                 HPH00161       Unable to call classname::method()
Explanation: Illegal value passed.
                                                                 Explanation: Unable to call a method. An error
Example: HPH00158 Illegal value passed
                                                                 occured when the method was called.
System action: Displays the warning and continues
                                                                 classname
interpreting the script.
                                                                     Name of the class
Operator response: No System Operator response is
                                                                 method
required.
                                                                     A method of class
User response: Make sure the parameters are the
                                                                 Example: HPH00161 Unable to call foo::foo1()
correct types.
                                                                 System action: Displays the warning and continues
System programmer response: No System
                                                                 interpreting the script.
Programmer response is required.
                                                                 Operator response: No System Operator response is
Problem determination: No additional information.
                                                                 required.
Source: PHP
                                                                 User response: Make sure the method is correct.
Module: Not applicable.
                                                                 System programmer response: No System
Routing code: Not applicable.                                    Programmer response is required.
Descriptor code: W- A warning (PHP continues).                   Problem determination: No additional information.
Automation: Not applicable.                                      Source: PHP
                                                                 Module: Not applicable.
                                                                 Routing code: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
                                                                 Automation: Not applicable.

62    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
HPH00162     The inner constructor was not               HPH00164     An instance of RecursiveIterator or
             initialized with an iterator instance                    IteratorAggregate creating it is
                                                                      required
Explanation: The inner constructor was not initialized
with an iterator instance.                               Explanation: An instance of RecursiveIterator or
                                                         IteratorAggregate creating it is required.
Example: HPH00162 The inner constructor wasn’t
initialized with an iterator instance                    Example: HPH00164 An instance of RecursiveIterator
                                                         or IteratorAggregate creating it is required
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.      System action: PHP immediately stops interpreting
                                                         the file (before any statements are run) and exits.
Operator response: No System Operator response is
required.                                                Operator response: No System Operator response is
                                                         required.
User response: Review the PHP bug report PHP bug
33901 . Make sure to avoid coding PHP in the same        User response: Make sure the RecursiveIterator or
manner as presented in the example.                      IteratorAggregate contains an instance.
System programmer response: No System                    System programmer response: No System
Programmer response is required.                         Programmer response is required.
Problem determination: No additional information.        Problem determination: No additional information.
Source: PHP                                              Source: PHP
Module: Not applicable.                                  Module: Not applicable.
Routing code: Not applicable.                            Routing code: Not applicable.
Descriptor code: F- A fatal error (PHP exits             Descriptor code: F- A fatal error (PHP exits
immediately).                                            immediately).
Automation: Not applicable.                              Automation: Not applicable.


HPH00163     Objects returned by                         HPH00165     Parameter max_depth must be >= -1
             RecursiveIterator::getChildren() must
                                                         Explanation: Parameter max_depth must be >= -1
             implement RecursiveIterator
                                                         Example: HPH00165 Parameter max_depth must be
Explanation: Objects returned by
                                                         >= -1
RecursiveIterator::getChildren() must implement
RecursiveIterator.                                       System action: Displays the warning and continues
                                                         interpreting the script.
Example: HPH00163 Objects returned by
RecursiveIterator::getChildren() must implement          Operator response: No System Operator response is
RecursiveIterator                                        required.
System action: PHP immediately stops interpreting        User response: Make sure the max_depth is not less
the file (before any statements are run) and exits.      than -1
Operator response: No System Operator response is        System programmer response: No System
required.                                                Programmer response is required.
User response: Implement RecursiveIterator if objects    Problem determination: No additional information.
are returned by RecursiveIterator:getChildren().
                                                         Source: PHP
System programmer response: No System
Programmer response is required.                         Module: Not applicable.

Problem determination: No additional information.        Routing code: Not applicable.

Source: PHP                                              Descriptor code: W- A warning (PHP continues).

Module: Not applicable.                                  Automation: Not applicable.

Routing code: Not applicable.
Descriptor code: F- A fatal error (PHP exits
immediately).
Automation: Not applicable.

                                                                                   Chapter 6. PHP messages     63
Example: HPH00168 Flags must contain only one of
HPH00166     Parameter offset must be > 0
                                                                CIT_CALL_TOSTRING, CIT_TOSTRING_USE_KEY,
Explanation: Parameter offset must be > 0                       CIT_TOSTRING_USE_CURRENT
Example: HPH00166 Parameter offset must be > 0                  System action: PHP immediately stops interpreting
                                                                the file (before any statements are run) and exits.
System action: Displays the warning and continues
interpreting the script.                                        Operator response: No System Operator response is
                                                                required.
Operator response: No System Operator response is
required.                                                       User response: Make sure the flags contain only one
                                                                of CIT_CALL_TOSTRING, CIT_TOSTRING_USE_KEY,
User response: Make sure the offset is greater than 0
                                                                CIT_TOSTRING_USE_CURRENT
System programmer response: No System
                                                                System programmer response: No System
Programmer response is required.
                                                                Programmer response is required.
Problem determination: No additional information.
                                                                Problem determination: No additional information.
Source: PHP
                                                                Source: PHP
Module: Not applicable.
                                                                Module: Not applicable.
Routing code: Not applicable.
                                                                Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                                Automation: Not applicable.

HPH00167     Parameter count must either be -1 or a
                                                                HPH00169       Class to downcast to not found or not
             value greater than or equal 0
                                                                               base class or does not implement
Explanation: Parameter count must either be -1 or a                            Traversable
value greater than or equal to 0
                                                                Explanation: Class to downcast to not found or not
Example: HPH00167 Parameter count must either be                base class or does not implement Traversable
-1 or a value greater than or equal 0
                                                                Example: HPH00169 Class to downcast to not found
System action: Displays the warning and continues               or not base class or does not implement Traversable
interpreting the script.
                                                                System action: Displays the warning and continues
Operator response: No System Operator response is               interpreting the script.
required.
                                                                Operator response: No System Operator response is
User response: Make sure parameter count is -1 or a             required.
value greater than or equal to 0
                                                                User response: Make sure the class to downcast
System programmer response: No System                           exists and is base class and also is implements
Programmer response is required.                                Traversable.
Problem determination: No additional information.               System programmer response: No System
                                                                Programmer response is required.
Source: PHP
                                                                Problem determination: No additional information.
Module: Not applicable.
                                                                Source: PHP
Routing code: Not applicable.
                                                                Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Routing code: Not applicable.
Automation: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
HPH00168     Flags must contain only one of                     Automation: Not applicable.
             CIT_CALL_TOSTRING,
             CIT_TOSTRING_USE_KEY,
                                                                HPH00170       classname::getIterator() must return an
             CIT_TOSTRING_USE_CURRENT
                                                                               object that implements Traversable
Explanation: Flags must contain only one of
                                                                Explanation: getIterator() must return an object that
CIT_CALL_TOSTRING, CIT_TOSTRING_USE_KEY,
                                                                implememnts Traversable
CIT_TOSTRING_USE_CURRENT


64   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
classname
                                                      HPH00172      Cannot seek to position which is behind
    Name of class
                                                                    offest offset plus count count
Example: HPH00170 foo::getIterator() must return an
                                                      Explanation: Cannot seek to the position. The position
object that implements Traversable
                                                      is behind offset plus count.
System action: Displays the warning and continues
                                                      position
interpreting the script.
                                                           The number of the position
Operator response: No System Operator response is
                                                      Offset
required.
                                                          The number of the offset
User response: Make sure the getIterator() method
                                                      Count
returns an object that implements Traversable.
                                                         The number of the count
System programmer response: No System
                                                      Example: HPH00172 Cannot seek to 2 which is
Programmer response is required.
                                                      behind offest 3plus count 4
Problem determination: No additional information.
                                                      System action: Displays the warning and continues
Source: PHP                                           interpreting the script.
Module: Not applicable.                               Operator response: No System Operator response is
                                                      required.
Routing code: Not applicable.
                                                      User response: Make sure the position and offset
Descriptor code: W- A warning (PHP continues).        parameters are correct in LimitIterator::seek.
Automation: Not applicable.                           System programmer response: No System
                                                      Programmer response is required.
HPH00171     Cannot seek to position which is below   Problem determination: No additional information.
             the offset offset
                                                      Source: PHP
Explanation: Cannot seek to certain position.
                                                      Module: Not applicable.
position
     The number of position                           Routing code: Not applicable.
offset                                                Descriptor code: W- A warning (PHP continues).
     The number of offset
                                                      Automation: Not applicable.
Example: HPH00171 Cannot seek to 2 which is below
the offset 5
                                                      HPH00173      Class does not fetch string value (see
System action: Displays the warning and continues                   CachingIterator::__construct)
interpreting the script.
                                                      Explanation: Class does not fetch string value.
Operator response: No System Operator response is
                                                      class
required.
                                                          Class name
User response: Make sure the position and offset
                                                      Example: HPH00173 Foo does not fetch string value
parameters are correct in LimitIterator::seek.
                                                      (see CachingIterator::__construct)
System programmer response: No System
                                                      System action: Displays the warning and continues
Programmer response is required.
                                                      interpreting the script.
Problem determination: No additional information.
                                                      Operator response: No System Operator response is
Source: PHP                                           required.
Module: Not applicable.                               User response: Please refer to PHP official web site
                                                      for latest information. Since it is possibly a PHP bug if
Routing code: Not applicable.                         you see this message.
Descriptor code: W- A warning (PHP continues).        System programmer response: No System
Automation: Not applicable.                           Programmer response is required.
                                                      Problem determination: No additional information.
                                                      Source: PHP
                                                      Module: Not applicable.


                                                                                  Chapter 6. PHP messages    65
Routing code: Not applicable.
                                                                HPH00176       Internal compiler error, Class is not
Descriptor code: I- An internal error not caused by                            child of ArrayObject or arrayIterator
user (a programming error in PHP).
                                                                Explanation: Internal compiler error, Class is not child
Automation: Not applicable.                                     of ArrayObject or arrayIterator
                                                                Example: HPH00176 Internal compiler error, Class is
HPH00174     Accessing the key of an EmptyIterator              not child of ArrayObject or arrayIterator
Explanation: Accessing the key of an EmptyIterator              System action: PHP immediately stops interpreting
                                                                the file (before any statements are run) and exits.
Example: HPH00174 Accessing the key of an
EmptyIterator                                                   Operator response: No System Operator response is
                                                                required.
System action: Displays the warning and continues
interpreting the script.                                        User response: Please report a php bug at PHP
                                                                official web site
Operator response: No System Operator response is
required.                                                       System programmer response: No System
                                                                Programmer response is required.
User response: Make sure not to access the key of
an EmptyIterator.                                               Problem determination: No additional information.
System programmer response: No System                           Source: PHP
Programmer response is required.
                                                                Module: Not applicable.
Problem determination: No additional information.
                                                                Routing code: Not applicable.
Source: PHP
                                                                Descriptor code: I- An internal error not caused by
Module: Not applicable.                                         user (a programming error in PHP).
Routing code: Not applicable.                                   Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                HPH00177       Array was modified outside object and
Automation: Not applicable.                                                    is no longer an array
                                                                Explanation: Array was modified outside object and is
HPH00175     Accessing the value of an                          no longer an array
             EmptyIterator
                                                                Example: HPH00177 Array was modified outside
Explanation: Accessing the value of an EmptyIterator            object and is no longer an array
Example: HPH00175 Accessing the value of an                     System action: Displays the warning and continues
EmptyIterator                                                   interpreting the script.
System action: Displays the warning and continues               Operator response: No System Operator response is
interpreting the script.                                        required.
Operator response: No System Operator response is               User response: Make sure the array is correctly
required.                                                       modified outside object or do not modify array outside
User response: Make sure not to access the value of             object.
an EmptyIterator                                                System programmer response: No System
System programmer response: No System                           Programmer response is required.
Programmer response is required.                                Problem determination: No additional information.
Problem determination: No additional information.               Source: PHP
Source: PHP                                                     Module: Not applicable.
Module: Not applicable.                                         Routing code: Not applicable.
Routing code: Not applicable.                                   Descriptor code: N- An informational notice. Could be
Descriptor code: W- A warning (PHP continues).                  an error or could be normal behavior.

Automation: Not applicable.                                     Automation: Not applicable.




66   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
HPH00178      Cannot append properties to objects,       HPH00180      ArrayIterator::valid(): Array was
              use class::offsetSet() instead                           modified outside object and is no
                                                                       longer an array
Explanation: Can not append properties to objects.
                                                         Explanation: Array was modified outside object and is
class
                                                         no longer an array
    Name of class
                                                         Example: HPH00180 ArrayIterator::valid(): Array was
Example: HPH00178 Cannot append properties to
                                                         modified outside object and is no longer an array
objects, use foo::offsetSet() instead
                                                         System action: Displays the warning and continues
System action: PHP immediately stops interpreting
                                                         interpreting the script.
the file (before any statements are run) and exits.
                                                         Operator response: No System Operator response is
Operator response: No System Operator response is
                                                         required.
required.
                                                         User response: Make sure the array is correctly
User response: Use class::offsetSet() instead.
                                                         modified outside object or do not modify array outside
System programmer response: No System                    object.
Programmer response is required.
                                                         System programmer response: No System
Problem determination: No additional information.        Programmer response is required.
Source: PHP                                              Problem determination: No additional information.
Module: Not applicable.                                  Source: PHP
Routing code: Not applicable.                            Module: Not applicable.
Descriptor code: F- A fatal error (PHP exits             Routing code: Not applicable.
immediately).
                                                         Descriptor code: N- An informational notice. Could be
Automation: Not applicable.                              an error or could be normal behavior.
                                                         Automation: Not applicable.
HPH00179      Array was modified outside object and
              internal position is no longer valid
                                                         HPH00181      ArrayIterator::valid(): Array was
Explanation: Array was modified outside object and                     modified outside object and internal
internal position is no longer valid                                   position is no longer valid
Example: HPH00179 Array was modified outside             Explanation: Array was modified outside object and
object and internal position is no longer valid          internal position is no longer valid
System action: Displays the warning and continues        Example: HPH00181 ArrayIterator::valid(): Array was
interpreting the script.                                 modified outside object and internal position is no longer
                                                         valid
Operator response: No System Operator response is
required.                                                System action: Displays the warning and continues
                                                         interpreting the script.
User response: Make sure the array is correctly
modified outside object or do not modify array outside   Operator response: No System Operator response is
object.                                                  required.
System programmer response: No System                    User response: Make sure the array is correctly
Programmer response is required.                         modified outside object or do not modify array outside
                                                         object.
Problem determination: No additional information.
                                                         System programmer response: No System
Source: PHP                                              Programmer response is required.
Module: Not applicable.                                  Problem determination: No additional information.
Routing code: Not applicable.                            Source: PHP
Descriptor code: N- An informational notice. Could be    Module: Not applicable.
an error or could be normal behavior.
                                                         Routing code: Not applicable.
Automation: Not applicable.
                                                         Descriptor code: N- An informational notice. Could be
                                                         an error or could be normal behavior.


                                                                                    Chapter 6. PHP messages    67
Automation: Not applicable.                                      Descriptor code: N- An informational notice. Could be
                                                                 an error or could be normal behavior.
HPH00182      ArrayIterator::current(): Array was                Automation: Not applicable.
              modified outside object and is no
              longer an array
                                                                 HPH00185       ArrayIterator::next(): Array was
Explanation: Array was modified outside object and is                           modified outside object and internal
no longer an array                                                              position is no longer valid
Example: HPH00182 ArrayIterator::current(): Array                Explanation: Array was modified outside object and
was modified outside object and is no longer an array            internal position is no longer valid
System action: Displays the warning and continues                Example: HPH00185 ArrayIterator::next(): Array was
interpreting the script.                                         modified outside object and internal position is no longer
                                                                 valid
Operator response: No System Operator response is
required.                                                        System action: Displays the warning and continues
                                                                 interpreting the script.
User response: Make sure the array is correctly
modified outside object or do not modify array outside           Operator response: No System Operator response is
object.                                                          required.
System programmer response: No System                            User response: Make sure the array is correctly
Programmer response is required.                                 modified outside object or do not modify array outside
                                                                 object.
Problem determination: No additional information.
                                                                 System programmer response: No System
Source: PHP
                                                                 Programmer response is required.
Module: Not applicable.
                                                                 Problem determination: No additional information.
Routing code: Not applicable.
                                                                 Source: PHP
Descriptor code: N- An informational notice. Could be
                                                                 Module: Not applicable.
an error or could be normal behavior.
                                                                 Routing code: Not applicable.
Automation: Not applicable.
                                                                 Descriptor code: N- An informational notice. Could be
                                                                 an error or could be normal behavior.
HPH00183      ArrayIterator::current(): Array was
              modified outside object and internal               Automation: Not applicable.
              position is no longer valid
Explanation: Array was modified outside object and               HPH00186       ArrayIterator::rewind(): Array was
internal position is no longer valid                                            modified outside object and is no
                                                                                longer an array
Example: HPH00183 ArrayIterator::current(): Array
was modified outside object and internal position is no          Explanation: Array was modified outside object and is
longer valid                                                     no longer an array
System action: Displays the warning and continues                Example: HPH00186 ArrayIterator::rewind(): Array was
interpreting the script.                                         modified outside object and is no longer an array
Operator response: No System Operator response is                System action: Displays the warning and continues
required.                                                        interpreting the script.
User response: Make sure the array is correctly                  Operator response: No System Operator response is
modified outside object or do not modify array outside           required.
object.
                                                                 User response: Make sure the array is correctly
System programmer response: No System                            modified outside object or do not modify array outside
Programmer response is required.                                 object.
Problem determination: No additional information.                System programmer response: No System
                                                                 Programmer response is required.
Source: PHP
                                                                 Problem determination: No additional information.
Module: Not applicable.
                                                                 Source: PHP
Routing code: Not applicable.
                                                                 Module: Not applicable.

68    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Routing code: Not applicable.
                                                        HPH00203           Undefined offset: long
Descriptor code: N- An informational notice. Could be
                                                        Explanation: PHP encountered an undefined offset
an error or could be normal behavior.
                                                        long
Automation: Not applicable.
                                                               an offset
                                                        Example: HPH00203 Undefined offset: %ld
HPH00201     Empty regular expression
                                                        System action: Displays the warning and continues
Explanation: System gets to the end without
                                                        interpreting the script.
encountering a delimiter.
                                                        Operator response: No System Operator response is
Example: HPH00201 Empty regular expression
                                                        required.
System action: Displays the warning and continues
                                                        User response: Make sure the offset has been
interpreting the script.
                                                        defined.
Operator response: No System Operator response is
                                                        System programmer response: No System
required.
                                                        Programmer response is required.
User response: Make sure the regular expression is
                                                        Problem determination: No additional information.
not empty.
                                                        Source: PHP
System programmer response: No System
Programmer response is required.                        Module: Not applicable.
Problem determination: No additional information.       Routing code: Not applicable.
Source: PHP                                             Descriptor code: N- An informational notice. Could be
                                                        an error or could be normal behavior.
Module: Not applicable.
                                                        Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                        HPH00204           Illegal offset type
Automation: Not applicable.
                                                        Explanation: PHP encountered an illegal offset type.
                                                        Example: HPH00204 Illegal offset type
HPH00202     Undefined index: string
                                                        System action: Displays the warning and continues
Explanation: PHP encountered an undefined index:
                                                        interpreting the script.
string
                                                        Operator response: No System Operator response is
     an index name
                                                        required.
Example: HPH00202 Undefined index:
                                                        User response: Make sure the offset type is either
HTTP_USER_AGENT
                                                        string, double, bool, resource, or long.
System action: Displays the warning and continues
                                                        System programmer response: No System
interpreting the script.
                                                        Programmer response is required.
Operator response: No System Operator response is
                                                        Problem determination: No additional information.
required.
                                                        Source: PHP
User response: Make sure the index has been
defined.                                                Module: Not applicable.
System programmer response: No System                   Routing code: Not applicable.
Programmer response is required.
                                                        Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.
                                                        Automation: Not applicable.
Source: PHP
Module: Not applicable.                                 HPH00211           An offset must not begin with 0 or be
                                                                           empty
Routing code: Not applicable.
                                                        Explanation: An offset must not begin with 0 or be
Descriptor code: N- An informational notice. Could be
                                                        empty.
an error or could be normal behavior.
                                                        Example: HPH00211 An offset must not begin with 0
Automation: Not applicable.
                                                        or be empty

                                                                                        Chapter 6. PHP messages   69
System action: PHP immediately stops interpreting               Operator response: No System Operator response is
the file (before any statements are run) and exits.             required.
Operator response: No System Operator response is               User response: Make sure the passed variable is an
required.                                                       array or object.
User response: Make sure the offset is correct..                System programmer response: No System
                                                                Programmer response is required.
System programmer response: No System
Programmer response is required.                                Problem determination: No additional information.
Problem determination: No additional information.               Source: PHP
Source: PHP                                                     Module: Not applicable.
Module: Not applicable.                                         Routing code: Not applicable.
Routing code: Not applicable.                                   Descriptor code: F- A fatal error (PHP exits
                                                                immediately).
Descriptor code: F- A fatal error (PHP exits
immediately).                                                   Automation: Not applicable.
Automation: Not applicable.
                                                                HPH00214        Overloaded object of type string1 is not
                                                                                compatible with string2
HPH00212     A class that implements Iterator must
             be specified                                       Explanation: PHP encountered the overload object,
                                                                the type of which was not compatible with the origin
Explanation: A class that implements Iterator must be
specified.                                                      string1
                                                                     an array name
Example: HPH00212 A class that implements Iterator
must be specified                                               string2
                                                                     overloaded object name
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.             Example: HPH00214 Overloaded object of type testa
                                                                is not compatible with testb
Operator response: No System Operator response is
required.                                                       System action: PHP immediately stops interpreting
                                                                the file (before any statements are run) and exits.
User response: Make sure the class that implements
Iterator is specified.                                          Operator response: No System Operator response is
                                                                required.
System programmer response: No System
Programmer response is required.                                User response: Make sure the overloaded object has
                                                                the same type with the original object.
Problem determination: No additional information.
                                                                System programmer response: No System
Source: PHP
                                                                Programmer response is required.
Module: Not applicable.
                                                                Problem determination: No additional information.
Routing code: Not applicable.
                                                                Source: PHP
Descriptor code: F- A fatal error (PHP exits
                                                                Module: Not applicable.
immediately).
                                                                Routing code: Not applicable.
Automation: Not applicable.
                                                                Descriptor code: F- A fatal error (PHP exits
                                                                immediately).
HPH00213     Passed variable is not an array or
             object; using empty array instead                  Automation: Not applicable.
Explanation: Passed variable is not an array or
object; using empty array instead.                              HPH00217        Seek position long is out of range
Example: HPH00213 Passed variable is not an array               Explanation: An error occurred when a result of
or object, using empty array instead                            position is out of range
System action: PHP immediately stops interpreting               long
the file (before any statements are run) and exits.                    seek position
                                                                Example: HPH00217 Seek position 5 is out of range


70   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
System action: PHP immediately stops interpreting      User response: Make sure not to clone an object of
the file (before any statements are run) and exits.    this class.
Operator response: No System Operator response is      System programmer response: No System
required.                                              Programmer response is required.
User response: Make sure the position is within        Problem determination: No additional information.
range.
                                                       Source: PHP
System programmer response: No System
                                                       Module: Not applicable.
Programmer response is required.
                                                       Routing code: Not applicable.
Problem determination: No additional information.
                                                       Descriptor code: F- A fatal error (PHP exits
Source: PHP
                                                       immediately).
Module: Not applicable.
                                                       Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: F- A fatal error (PHP exits           HPH00220      Cannot open file string
immediately).
                                                       Explanation: Cannot open file
Automation: Not applicable.
                                                       string
                                                            a file name
HPH00218         Object not initialized
                                                       Example: HPH00220 Cannot open file test.txt
Explanation: The object was not initialized.
                                                       System action: PHP immediately stops interpreting
Example: HPH00218 Object not initialized               the file (before any statements are run) and exits.
System action: PHP immediately stops interpreting      Operator response: No System Operator response is
the file (before any statements are run) and exits.    required.
Operator response: No System Operator response is      User response: Make sure the file is available.
required.
                                                       System programmer response: No System
User response: Make sure the object is initialized.    Programmer response is required.
System programmer response: No System                  Problem determination: No additional information.
Programmer response is required.
                                                       Source: PHP
Problem determination: No additional information.
                                                       Module: Not applicable.
Source: PHP
                                                       Routing code: Not applicable.
Module: Not applicable.
                                                       Descriptor code: F- A fatal error (PHP exits
Routing code: Not applicable.                          immediately).
Descriptor code: F- A fatal error (PHP exits           Automation: Not applicable.
immediately).
Automation: Not applicable.                            HPH00221      Cannot create SplFileInfo for empty
                                                                     path
HPH00219         An object of class string cannot be   Explanation: PHP cannot create ’SplFileInfo’ for an
                 cloned                                empty path.
Explanation: An object of a class cannot be cloned     Example: HPH00221 Cannot create SplFileInfo for
                                                       empty path
string
     an offset                                         System action: PHP immediately stops interpreting
                                                       the file (before any statements are run) and exits.
Example: HPH00219 An object of class test_class
cannot be cloned                                       Operator response: No System Operator response is
                                                       required.
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.    User response: Ensure the given path is correct.
Operator response: No System Operator response is      System programmer response: No System
required.                                              Programmer response is required.


                                                                                 Chapter 6. PHP messages     71
Problem determination: No additional information.               Automation: Not applicable.
Source: PHP
                                                                HPH00224       Cannot read from file string
Module: Not applicable.
                                                                Explanation: PHP cannot read from a file.
Routing code: Not applicable.
                                                                string
Descriptor code: F- A fatal error (PHP exits
                                                                     a file name
immediately).
                                                                Example: HPH00224 Cannot read from file test.txt
Automation: Not applicable.
                                                                System action: PHP immediately stops interpreting
                                                                the file (before any statements are run) and exits.
HPH00222     Could not open file
                                                                Operator response: No System Operator response is
Explanation: PHP could not open a file.
                                                                required.
Example: HPH00222 Could not open file
                                                                User response: Make sure the file is correct.
System action: PHP immediately stops interpreting
                                                                System programmer response: No System
the file (before any statements are run) and exits.
                                                                Programmer response is required.
Operator response: No System Operator response is
                                                                Problem determination: No additional information.
required.
                                                                Source: PHP
User response: Make sure the file is correct.
                                                                Module: Not applicable.
System programmer response: No System
Programmer response is required.                                Routing code: Not applicable.
Problem determination: No additional information.               Descriptor code: F- A fatal error (PHP exits
                                                                immediately).
Source: PHP
                                                                Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.
                                                                HPH00226       Cannot rewind file string
Descriptor code: F- A fatal error (PHP exits
                                                                Explanation: PHP cannot rewind a file.
immediately).
                                                                string
Automation: Not applicable.
                                                                     a file name
                                                                Example: HPH00226 Cannot rewind file test2.txt
HPH00223     Operation not supported
                                                                System action: PHP immediately stops interpreting
Explanation: PHP encountered a path when looking
                                                                the file (before any statements are run) and exits.
for a file.
                                                                Operator response: No System Operator response is
Example: HPH00223 Operation not supported
                                                                required.
System action: PHP immediately stops interpreting
                                                                User response: Make sure the file is correct.
the file (before any statements are run) and exits.
                                                                System programmer response: No System
Operator response: No System Operator response is
                                                                Programmer response is required.
required.
                                                                Problem determination: No additional information.
User response: Make sure the given parameter is a
file and not a path.                                            Source: PHP
System programmer response: No System                           Module: Not applicable.
Programmer response is required.
                                                                Routing code: Not applicable.
Problem determination: No additional information.
                                                                Descriptor code: F- A fatal error (PHP exits
Source: PHP                                                     immediately).
Module: Not applicable.                                         Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: F- A fatal error (PHP exits
immediately).


72   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
HPH00227      Maximum line length must be greater     HPH00229          Cannot seek file string to negative line
              than or equal zero                                        long
Explanation: The maximum line length was less than    Explanation: PHP encountered a negative line
zero.                                                 number when it seeked a file
Example: HPH00227 Maximum line length must be         string
greater than or equal zero                                 a file name
System action: PHP immediately stops interpreting     long
the file (before any statements are run) and exits.          a file line no
Operator response: No System Operator response is     Example: HPH00229 Can’t seek file test.txt to
required.                                             negative line -2
User response: Make sure the maximum line length is   System action: PHP immediately stops interpreting
greater than or equal to zero.                        the file (before any statements are run) and exits.
System programmer response: No System                 Operator response: No System Operator response is
Programmer response is required.                      required.
Problem determination: No additional information.     User response: Make sure the line number is not a
                                                      negative value.
Source: PHP
                                                      System programmer response: No System
Module: Not applicable.
                                                      Programmer response is required.
Routing code: Not applicable.
                                                      Problem determination: No additional information.
Descriptor code: F- A fatal error (PHP exits
                                                      Source: PHP
immediately).
                                                      Module: Not applicable.
Automation: Not applicable.
                                                      Routing code: Not applicable.
HPH00228      Cannot truncate file string             Descriptor code: F- A fatal error (PHP exits
                                                      immediately).
Explanation: PHP cannot truncate a file
                                                      Automation: Not applicable.
string
     a file name
                                                      HPH00230          -Removed
Example: HPH00228 Can’t truncate file test.txt
                                                      Explanation: -Removed
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.   Example: -Removed
Operator response: No System Operator response is     System action: Displays the warning and continues
required.                                             interpreting the script.
User response: Make sure the file is correct.         Operator response: No System Operator response is
                                                      required.
System programmer response: No System
Programmer response is required.                      User response: -Removed
Problem determination: No additional information.     System programmer response: No System
                                                      Programmer response is required.
Source: PHP
                                                      Problem determination: No additional information.
Module: Not applicable.
                                                      Source: PHP
Routing code: Not applicable.
                                                      Module: Not applicable.
Descriptor code: F- A fatal error (PHP exits
immediately).                                         Routing code: Not applicable.
Automation: Not applicable.                           Descriptor code:
                                                      Automation: Not applicable.




                                                                                    Chapter 6. PHP messages   73
System action: Displays the warning and continues
HPH00231      The argument should be an array
                                                                 interpreting the script.
Explanation: The type of an argument should be an
                                                                 Operator response: No System Operator response is
array.
                                                                 required.
Example: HPH00231 The argument should be an
                                                                 User response: Pass a parameter of type array or
array
                                                                 object.
System action: Displays the warning and continues
                                                                 System programmer response: No System
interpreting the script.
                                                                 Programmer response is required.
Operator response: No System Operator response is
                                                                 Problem determination: No additional information.
required.
                                                                 Source: PHP
User response: Make sure that the argument is an
array.                                                           Module: Not applicable.
System programmer response: No System                            Routing code: Not applicable.
Programmer response is required.
                                                                 Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.
                                                                 Automation: Not applicable.
Source: PHP
Module: Not applicable.                                          HPH00242       At least one value should be passed
Routing code: Not applicable.                                    Explanation: PHP needs at least one parameter, but
                                                                 none was passed.
Descriptor code: W- A warning (PHP continues).
                                                                 Example: HPH00242 At least one value should be
Automation: Not applicable.
                                                                 passed
                                                                 System action: Displays the warning and continues
HPH00232      Invalid comparison function.
                                                                 interpreting the script.
Explanation: PHP encountered an invalid comparison
                                                                 Operator response: No System Operator response is
function while trying to compare arrays.
                                                                 required.
Example: HPH00232 Invalid comparison function.
                                                                 User response: Pass one or more parameters to the
System action: Displays the warning and continues                related function.
interpreting the script.
                                                                 System programmer response: No System
Operator response: No System Operator response is                Programmer response is required.
required.
                                                                 Problem determination: No additional information.
User response: Ensure that a valid comparison
                                                                 Source: PHP
function is defined before trying to compare arrays.
                                                                 Module: Not applicable.
System programmer response: No System
Programmer response is required.                                 Routing code: Not applicable.
Problem determination: No additional information.                Descriptor code: W- A warning (PHP continues).
Source: PHP                                                      Automation: Not applicable.
Module: Not applicable.
                                                                 HPH00243       Array must contain at least one
Routing code: Not applicable.
                                                                                element
Descriptor code: W- A warning (PHP continues).
                                                                 Explanation: The parameter type is array, but the
Automation: Not applicable.                                      passed array contains no elements.
                                                                 Example: HPH00243 Array must contain at least one
HPH00236      Passed variable is not an array or                 element
              object
                                                                 System action: Displays the warning and continues
Explanation: PHP set the pointer to an incorrect                 interpreting the script.
parameter, whose type is not array or object.
                                                                 Operator response: No System Operator response is
Example: HPH00236 Passed variable is not an array                required.
or object


74    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
User response: Add data to the passed array, or use    Routing code: Not applicable.
another array.
                                                       Descriptor code: W- A warning (PHP continues).
System programmer response: No System
                                                       Automation: Not applicable.
Programmer response is required.
Problem determination: No additional information.
                                                       HPH00248     Unable to call string() - function does
Source: PHP                                                         not exist
Module: Not applicable.                                Explanation: PHP encountered an invoked function
                                                       which did not exist.
Routing code: Not applicable.
                                                       string
Descriptor code: W- A warning (PHP continues).
                                                            a function name
Automation: Not applicable.
                                                       Example: HPH00248 Unable to call test_alter1() -
                                                       function does not exist
HPH00246     recursion detected
                                                       System action: Displays the warning and continues
Explanation: PHP encountered recursion                 interpreting the script.
Example: HPH00246 recursion detected                   Operator response: No System Operator response is
                                                       required.
System action: Displays the warning and continues
interpreting the script.                               User response: Make sure the function you invoked
                                                       exists.
Operator response: No System Operator response is
required.                                              System programmer response: No System
                                                       Programmer response is required.
User response: Ensure the function does not have
the recursion.                                         Problem determination: No additional information.
System programmer response: No System                  Source: PHP
Programmer response is required.
                                                       Module: Not applicable.
Problem determination: No additional information.
                                                       Routing code: Not applicable.
Source: PHP
                                                       Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                       Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).         HPH00250     Wrong syntax for function name
Automation: Not applicable.                            Explanation: PHP encountered a function whose
                                                       parameter should be a function name, or the type of the
                                                       name is wrong.
HPH00247     Unable to call %s()
                                                       Example: HPH00250 Wrong syntax for function name
Explanation: An error occured when a static function
was called, and a callback function was expected.      System action: Displays the warning and continues
                                                       interpreting the script.
Example: HPH00247 Unable to call %s()
                                                       Operator response: No System Operator response is
System action: Displays the warning and continues      required.
interpreting the script.
                                                       User response: Correct the type of the function name
Operator response: No System Operator response is      parameter so that it is a string or array one.
required.
                                                       System programmer response: No System
User response: Define a callback function to replace   Programmer response is required.
the static function.
                                                       Problem determination: No additional information.
System programmer response: No System
Programmer response is required.                       Source: PHP
Problem determination: No additional information.      Module: Not applicable.

Source: PHP                                            Routing code: Not applicable.
Module: Not applicable.                                Descriptor code: W- A warning (PHP continues).


                                                                                 Chapter 6. PHP messages   75
Automation: Not applicable.
                                                                HPH00255       Unknown extract type
                                                                Explanation: PHP encountered an extract function
HPH00253     Wrong datatype for second argument
                                                                with an unknown extract type.
Explanation: PHP encountered a function that has the
                                                                Example: HPH00255 Unknown extract type
wrong datatype for its second argument.
                                                                System action: Displays the warning and continues
Example: HPH00253 Wrong datatype for second
                                                                interpreting the script.
argument
                                                                Operator response: No System Operator response is
System action: Displays the warning and continues
                                                                required.
interpreting the script.
                                                                User response: Change the parameter to a valid
Operator response: No System Operator response is
                                                                extract type.
required.
                                                                System programmer response: No System
User response: Change the second argument so that
                                                                Programmer response is required.
it has the proper datatype.
                                                                Problem determination: No additional information.
System programmer response: No System
Programmer response is required.                                Source: PHP
Problem determination: No additional information.               Module: Not applicable.
Source: PHP                                                     Routing code: Not applicable.
Module: Not applicable.                                         Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.                                   Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                HPH00256       First argument should be an array
Automation: Not applicable.
                                                                Explanation: PHP encountered an extract function
                                                                whose first argument is not an array.
HPH00254     Prefix expected to be specified
                                                                Example: HPH00256 First argument should be an
Explanation: PHP encountered an extract function
                                                                array
that does not specify its prefix, even though it is
required.                                                       System action: Displays the warning and continues
                                                                interpreting the script.
Example: HPH00254 Prefix expected to be specified
                                                                Operator response: No System Operator response is
System action: Displays the warning and continues
                                                                required.
interpreting the script.
                                                                User response: Change the extract function’s first
Operator response: No System Operator response is
                                                                argument so that it is a proper array.
required.
                                                                System programmer response: No System
User response: Specify the prefix to
                                                                Programmer response is required.
EXTR_OVERWRITE, EXTR_SKIP or
EXTR_IF_EXISTS.                                                 Problem determination: No additional information.
System programmer response: No System                           Source: PHP
Programmer response is required.
                                                                Module: Not applicable.
Problem determination: No additional information.
                                                                Routing code: Not applicable.
Source: PHP
                                                                Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                                Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                  HPH00257       Wrong data type for start key
Automation: Not applicable.                                     Explanation: PHP encountered an array_fill function
                                                                that has the wrong data type for the first argument.
                                                                Example: HPH00257 Wrong data type for start key
                                                                System action: Displays the warning and continues
                                                                interpreting the script.

76   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Operator response: No System Operator response is            System programmer response: No System
required.                                                    Programmer response is required.
User response: Change the first argument so that it          Problem determination: No additional information.
has a proper data type.
                                                             Source: PHP
System programmer response: No System
                                                             Module: Not applicable.
Programmer response is required.
                                                             Routing code: Not applicable.
Problem determination: No additional information.
                                                             Descriptor code: W- A warning (PHP continues).
Source: PHP
                                                             Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.
                                                             HPH00262      The first argument should be an array
Descriptor code: W- A warning (PHP continues).
                                                             Explanation: A function that requires an array as the
Automation: Not applicable.                                  first argument was passed some other data type.
                                                             Example: HPH00262 The first argument should be an
HPH00258      Number of elements must be positive            array
Explanation: PHP encountered an array_fill function          System action: Displays the warning and continues
where the second argument is a number less than zero.        interpreting the script.
Example: HPH00258 Number of elements must be                 Operator response: No System Operator response is
positive                                                     required.
System action: Displays the warning and continues            User response: Change the first argument so that it is
interpreting the script.                                     an array.
Operator response: No System Operator response is            System programmer response: No System
required.                                                    Programmer response is required.
User response: Change the second argument value              Problem determination: No additional information.
to a number greater than zero.
                                                             Source: PHP
System programmer response: No System
                                                             Module: Not applicable.
Programmer response is required.
                                                             Routing code: Not applicable.
Problem determination: No additional information.
                                                             Descriptor code: W- A warning (PHP continues).
Source: PHP
                                                             Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.
                                                             HPH00266      Argument #integer is not an array
Descriptor code: W- A warning (PHP continues).
                                                             Explanation: PHP encountered a function that
Automation: Not applicable.                                  requires certain arguments to be arrays, but at least one
                                                             of them is not.
HPH00259      step exceeds the specified range               integer
                                                                  The argument number
Explanation: PHP encountered a range function
where the step parameter is greater than the range of
the elements.
                                                             Example: HPH00266 Argument #4 is not an array
Example: HPH00259 step exceeds the specified
                                                             System action: Displays the warning and continues
range
                                                             interpreting the script.
System action: Displays the warning and continues
                                                             Operator response: No System Operator response is
interpreting the script.
                                                             required.
Operator response: No System Operator response is
                                                             User response: Change the specified argument so
required.
                                                             that it is an array.
User response: Change the step parameter of the
                                                             System programmer response: No System
range function so that it is smaller than the range of the
                                                             Programmer response is required.
elements.


                                                                                        Chapter 6. PHP messages   77
Problem determination: No additional information.               Routing code: Not applicable.
Source: PHP                                                     Descriptor code: W- A warning (PHP continues).
Module: Not applicable.                                         Automation: Not applicable.
Routing code: Not applicable.
                                                                HPH00275       Can only flip STRING and INTEGER
Descriptor code: W- A warning (PHP continues).
                                                                               values!
Automation: Not applicable.
                                                                Explanation: PHP encountered an array_flip function
                                                                whose array input values are not integers or strings.
HPH00270      Can only count STRING and INTEGER
                                                                Example: HPH00275 Can only flip STRING and
              values!
                                                                INTEGER values!
Explanation: PHP encountered array_count_values
                                                                System action: Displays the warning and continues
function whose array input values are not integers or
                                                                interpreting the script.
strings.
                                                                Operator response: No System Operator response is
Example: HPH00270 Can only count STRING and
                                                                required.
INTEGER values!
                                                                User response: Change the array input values so that
System action: Displays the warning and continues
                                                                they are integers or strings.
interpreting the script.
                                                                System programmer response: No System
Operator response: No System Operator response is
                                                                Programmer response is required.
required.
                                                                Problem determination: No additional information.
User response: Change the array input values so that
they are integers or strings.                                   Source: PHP
System programmer response: No System                           Module: Not applicable.
Programmer response is required.
                                                                Routing code: Not applicable.
Problem determination: No additional information.
                                                                Descriptor code: W- A warning (PHP continues).
Source: PHP
                                                                Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.                                   HPH00278       Not a valid callback string
Descriptor code: W- A warning (PHP continues).                  Explanation: PHP encountered a function that has an
                                                                incorrect callback.
Automation: Not applicable.
                                                                string
                                                                     The callback function name
HPH00273      You may only pad up to 1048576
              elements at a time
Explanation: PHP encountered an array_pad function              Example: HPH00278 Not a valid callback
that pads more than 1048576 elements at a time.                 badfuncname
Example: HPH00273 You may only pad up to                        System action: Displays the warning and continues
1048576 elements at a time                                      interpreting the script.
System action: Displays the warning and continues               Operator response: No System Operator response is
interpreting the script.                                        required.
Operator response: No System Operator response is               User response: Change the callback function to a
required.                                                       valid one.
User response: Change the pad_size parameter so                 System programmer response: No System
that it is less than 1048576(0x100000).                         Programmer response is required.
System programmer response: No System                           Problem determination: No additional information.
Programmer response is required.
                                                                Source: PHP
Problem determination: No additional information.
                                                                Module: Not applicable.
Source: PHP
                                                                Routing code: Not applicable.
Module: Not applicable.

78   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Descriptor code: W- A warning (PHP continues).        Problem determination: No additional information.
Automation: Not applicable.                           Source: PHP
                                                      Module: Not applicable.
HPH00279      data_compare_type is integer. This
                                                      Routing code: Not applicable.
              should never happen. Please report as
              a bug                                   Descriptor code: W- A warning (PHP continues).
Explanation: PHP encountered a strange data type      Automation: Not applicable.
integer
     a data type                                      HPH00285      behavior is integer. This should never
                                                                    happen. Please report as a bug
Example: HPH00279 data_compare_type is 9. This
should never happen. Please report as a bug           Explanation: PHP encountered a strange behavior
System action: Displays the warning and continues     integer
interpreting the script.                                   a behavior
Operator response: No System Operator response is     Example: HPH00285 behavior is 9. This should never
required.                                             happen. Please report as a bug
User response: This should never happen.If it         System action: Displays the warning and continues
happens please report as a bug.                       interpreting the script.
System programmer response: No System                 Operator response: No System Operator response is
Programmer response is required.                      required.
Problem determination: No additional information.     User response: This should never happen, or please
                                                      report it as a bug.
Source: PHP
                                                      System programmer response: No System
Module: Not applicable.
                                                      Programmer response is required.
Routing code: Not applicable.
                                                      Problem determination: No additional information.
Descriptor code: W- A warning (PHP continues).
                                                      Source: PHP
Automation: Not applicable.
                                                      Module: Not applicable.
                                                      Routing code: Not applicable.
HPH00284      data_compare_type is integer1.
              key_compare_type is integer2. This      Descriptor code: W- A warning (PHP continues).
              should never happen. Please report as
              a bug.                                  Automation: Not applicable.

Explanation: PHP encountered a strange data type
and a strange key type                                HPH00296      Argument #integer is expected to be an
                                                                    array or sorting flag that has not
integer1                                                            already been specified
     a data type
                                                      Explanation: PHP encountered an array_multisort
integer2                                              function whose argument is an array or sorting flag that
     a key type                                       has already been specified.
Example: HPH00284 data_compare_type is 9.             integer
key_compare_type is 9. This should never happen.           The argument number
Please report as a bug.
System action: Displays the warning and continues
interpreting the script.                              Example: HPH00296 Argument #1 is expected to be
                                                      an array or sorting flag that has not already been
Operator response: No System Operator response is     specified
required.
                                                      System action: Displays the warning and continues
User response: This should never happen, or please    interpreting the script.
report it as a bug.
                                                      Operator response: No System Operator response is
System programmer response: No System                 required.
Programmer response is required.
                                                      User response: Change the argument so that it is an


                                                                                 Chapter 6. PHP messages   79
array or sorting flag that has not already been specified.       Operator response: No System Operator response is
                                                                 required.
System programmer response: No System
Programmer response is required.                                 User response: Change the argument to be an array
                                                                 or a sort flag.
Problem determination: No additional information.
                                                                 System programmer response: No System
Source: PHP
                                                                 Programmer response is required.
Module: Not applicable.
                                                                 Problem determination: No additional information.
Routing code: Not applicable.
                                                                 Source: PHP
Descriptor code: W- A warning (PHP continues).
                                                                 Module: Not applicable.
Automation: Not applicable.
                                                                 Routing code: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
HPH00298      Argument #integer is an unknown sort
              flag                                               Automation: Not applicable.
Explanation: PHP encountered an array_multisort
function whose argument is an unknown sort flag.                 HPH00300       Array sizes are inconsistent
integer                                                          Explanation: PHP encountered an array_multisort
     The argument number                                         function where the input arrays have different number of
                                                                 elements.
                                                                 Example: HPH00300 Array sizes are inconsistent
Example: HPH00298 Argument #2 is an unknown sort
flag                                                             System action: Displays the warning and continues
                                                                 interpreting the script.
System action: Displays the warning and continues
interpreting the script.                                         Operator response: No System Operator response is
                                                                 required.
Operator response: No System Operator response is
required.                                                        User response: Change the input arrays so that they
                                                                 have an equal number of elements.
User response: Change the argument so that it is a
sort flag PHP can identify.                                      System programmer response: No System
                                                                 Programmer response is required.
System programmer response: No System
Programmer response is required.                                 Problem determination: No additional information.
Problem determination: No additional information.                Source: PHP
Source: PHP                                                      Module: Not applicable.
Module: Not applicable.                                          Routing code: Not applicable.
Routing code: Not applicable.                                    Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).                   Automation: Not applicable.
Automation: Not applicable.
                                                                 HPH00301       First argument has to be an array
HPH00299      Argument #integer is expected to be an             Explanation: PHP encountered an array_rand function
              array or a sort flag                               whose first argument is not an array.
Explanation: PHP encountered ann array_multisort                 Example: HPH00301 First argument has to be an
function whose argument is not an array or a sort flag.          array
integer                                                          System action: Displays the warning and continues
     The argument number                                         interpreting the script.
                                                                 Operator response: No System Operator response is
                                                                 required.
Example: HPH00299 Argument #2 is expected to be
an array or a sort flag                                          User response: Change the first argument so that it is
                                                                 an array.
System action: Displays the warning and continues
interpreting the script.                                         System programmer response: No System
                                                                 Programmer response is required.

80    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Problem determination: No additional information.         Programmer response is required.
Source: PHP                                               Problem determination: No additional information.
Module: Not applicable.                                   Source: PHP
Routing code: Not applicable.                             Module: Not applicable.
Descriptor code: W- A warning (PHP continues).            Routing code: Not applicable.
Automation: Not applicable.                               Descriptor code: W- A warning (PHP continues).
                                                          Automation: Not applicable.
HPH00302      Second argument must be between 1
              and the number of elements in the
                                                          HPH00307     An error occurred while invoking the
              array
                                                                       reduction callback
Explanation: PHP encountered an array_rand function
                                                          Explanation: An error occurred while invoking the
whose second argument value is out of the array range.
                                                          reduction callback
Example: HPH00302 Second argument has to be
                                                          Example: HPH00307 An error occurred while invoking
between 1 and the number of elements in the array
                                                          the reduction callback
System action: Displays the warning and continues
                                                          System action: Displays the warning and continues
interpreting the script.
                                                          interpreting the script.
Operator response: No System Operator response is
                                                          Operator response: No System Operator response is
required.
                                                          required.
User response: Change the second argument so that
                                                          User response: Make sure the reduction callback
its value is between 1 and the number of elements in
                                                          function exists and is correct .
the array.
                                                          System programmer response: No System
System programmer response: No System
                                                          Programmer response is required.
Programmer response is required.
                                                          Problem determination: No additional information.
Problem determination: No additional information.
                                                          Source: PHP
Source: PHP
                                                          Module: Not applicable.
Module: Not applicable.
                                                          Routing code: Not applicable.
Routing code: Not applicable.
                                                          Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).
                                                          Automation: Not applicable.
Automation: Not applicable.

                                                          HPH00310     An error occurred while invoking the
HPH00306      The second argument, ’string’, should
                                                                       filter callback
              be a valid callback
                                                          Explanation: An error occurred while invoking the filter
Explanation: PHP encountered a function whose
                                                          callback
second argument should be a valid callback, but is not.
                                                          Example: HPH00310 An error occurred while invoking
string
                                                          the filter callback
     The callback function name
                                                          System action: Displays the warning and continues
                                                          interpreting the script.
Example: HPH00306 The second argument, ’no_func’,
                                                          Operator response: No System Operator response is
should be a valid callback
                                                          required.
System action: Displays the warning and continues
                                                          User response: Ensure the filter callback function
interpreting the script.
                                                          exists and is correct.
Operator response: No System Operator response is
                                                          System programmer response: No System
required.
                                                          Programmer response is required.
User response: Change the second argument so that
                                                          Problem determination: No additional information.
it is a valid callback.
                                                          Source: PHP
System programmer response: No System


                                                                                    Chapter 6. PHP messages    81
Module: Not applicable.                                          Problem determination: No additional information.
Routing code: Not applicable.                                    Source: PHP
Descriptor code: W- A warning (PHP continues).                   Module: Not applicable.
Automation: Not applicable.                                      Routing code: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
HPH00311      The first argument, ’string’, should be
                                                                 Automation: Not applicable.
              either NULL or a valid callback
Explanation: PHP encountered array_map function
                                                                 HPH00313       An error occurred while invoking the
whose first argument should be but is not NULL or a
                                                                                map callback
valid callback.
                                                                 Explanation: An error occurred while invoking the
string
                                                                 map callback
     The first argument
                                                                 Example: HPH00313 An error occurred while invoking
                                                                 the map callback
Example: HPH00311 The first argument, ’Array’,
                                                                 System action: Displays the warning and continues
should be either NULL or a valid callback
                                                                 interpreting the script.
System action: Displays the warning and continues
                                                                 Operator response: No System Operator response is
interpreting the script.
                                                                 required.
Operator response: No System Operator response is
                                                                 User response: Ensure the map callback function
required.
                                                                 exists and is correct.
User response: Change the first argument so that it is
                                                                 System programmer response: No System
NULL or a valid callback.
                                                                 Programmer response is required.
System programmer response: No System
                                                                 Problem determination: No additional information.
Programmer response is required.
                                                                 Source: PHP
Problem determination: No additional information.
                                                                 Module: Not applicable.
Source: PHP
                                                                 Routing code: Not applicable.
Module: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                                 Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                                 HPH00314       The second argument should be either
                                                                                an array or an object
HPH00312      Argument #integer should be an array
                                                                 Explanation: PHP encountered an array_key_exists
Explanation: PHP encountered a call to array_map                 function whose second argument is not an array or an
where an argument that is required to be an array is             object.
something else.
                                                                 Example: HPH00314 The second argument should be
integer                                                          either an array or an object
     The argument number
                                                                 System action: Displays the warning and continues
                                                                 interpreting the script.
Example: HPH00312 Argument #2 should be an array                 Operator response: No System Operator response is
                                                                 required.
System action: Displays the warning and continues
interpreting the script.                                         User response: Change the second argument so that
                                                                 it is an array or an object.
Operator response: No System Operator response is
required.                                                        System programmer response: No System
                                                                 Programmer response is required.
User response: Change the specified argument so
that it is an array.                                             Problem determination: No additional information.
System programmer response: No System                            Source: PHP
Programmer response is required.
                                                                 Module: Not applicable.

82    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Routing code: Not applicable.                            Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                         HPH00317     Both parameters should have equal
Automation: Not applicable.
                                                                      number of elements
                                                         Explanation: PHP encountered an array_combine
HPH00315      The first argument should be either a
                                                         function whose both parameters have a different
              string or an integer
                                                         number of elements.
Explanation: PHP encountered an array_key_exists
                                                         Example: HPH00317 Both parameters should have
function whose first argument is not a string or an
                                                         equal number of elements
integer.
                                                         System action: Displays the warning and continues
Example: HPH00315 The first argument should be
                                                         interpreting the script.
either a string or an integer
                                                         Operator response: No System Operator response is
System action: Displays the warning and continues
                                                         required.
interpreting the script.
                                                         User response: Check both parameters and modify
Operator response: No System Operator response is
                                                         them to have an equal number of elements.
required.
                                                         System programmer response: No System
User response: Change the first argument so that it is
                                                         Programmer response is required.
a string or an integer.
                                                         Problem determination: No additional information.
System programmer response: No System
Programmer response is required.                         Source: PHP
Problem determination: No additional information.        Module: Not applicable.
Source: PHP                                              Routing code: Not applicable.
Module: Not applicable.                                  Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.                            Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                         HPH00318     Both parameters should have at least 1
Automation: Not applicable.
                                                                      element
                                                         Explanation: PHP encountered an array_combine
HPH00316      Size parameter expected to be greater
                                                         function whose both parameters are empty arrays.
              than 0
                                                         Example: HPH00318 Both parameters should have at
Explanation: PHP encountered an array_chunk
                                                         least 1 element
function whose size parameter is less than or equal to
zero.                                                    System action: Displays the warning and continues
                                                         interpreting the script.
Example: HPH00316 Size parameter expected to be
greater than 0                                           Operator response: No System Operator response is
                                                         required.
System action: Displays the warning and continues
interpreting the script.                                 User response: Modify both array parameters to have
                                                         at least one element.
Operator response: No System Operator response is
required.                                                System programmer response: No System
                                                         Programmer response is required.
User response: Modify the size parameter so that it is
greater than zero.                                       Problem determination: No additional information.
System programmer response: No System                    Source: PHP
Programmer response is required.
                                                         Module: Not applicable.
Problem determination: No additional information.
                                                         Routing code: Not applicable.
Source: PHP
                                                         Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                         Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).


                                                                                   Chapter 6. PHP messages   83
System action: Displays the warning and continues
HPH00319       -Removed
                                                                  interpreting the script.
Explanation: -Removed
                                                                  Operator response: No System Operator response is
Example: -Removed                                                 required.
System action: Displays the warning and continues                 User response: Modify the in_addr to have a valid 32-
interpreting the script.                                          or 128-bit binary structure.
Operator response: No System Operator response is                 System programmer response: No System
required.                                                         Programmer response is required.
User response: -Removed                                           Problem determination: No additional information.
System programmer response: No System                             Source: PHP
Programmer response is required.
                                                                  Module: Not applicable.
Problem determination: No additional information.
                                                                  Routing code: Not applicable.
Source: PHP
                                                                  Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                                  Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                    HPH00322       An unknown error occured
Automation: Not applicable.                                       Explanation: An unknown error occured.
                                                                  Example: HPH00322 An unknown error occured
HPH00320       Couldn’t find constant con
                                                                  System action: Displays the warning and continues
Explanation: PHP encountered a constant function                  interpreting the script.
that can not find the constant indicated by name.
                                                                  Operator response: No System Operator response is
con                                                               required.
      The constant name
                                                                  User response: To solve this problem, try checking
                                                                  your network.
Example: HPH00320 Couldn’t find constant con                      System programmer response: No System
                                                                  Programmer response is required.
System action: Displays the warning and continues
interpreting the script.                                          Problem determination: No additional information.
Operator response: No System Operator response is                 Source: PHP
required.
                                                                  Module: Not applicable.
User response: Correct the constant name so the
                                                                  Routing code: Not applicable.
function can properly locate it.
                                                                  Descriptor code: W- A warning (PHP continues).
System programmer response: No System
Programmer response is required.                                  Automation: Not applicable.
Problem determination: No additional information.
                                                                  HPH00323       Unrecognized address string
Source: PHP
                                                                  Explanation: PHP encountered a human readable IP
Module: Not applicable.
                                                                  address that can not be recognized.
Routing code: Not applicable.
                                                                  string
Descriptor code: W- A warning (PHP continues).                         The IP address
Automation: Not applicable.
                                                                  Example: HPH00323 Unrecognized address abc
HPH00321       Invalid in_addr value
                                                                  System action: Displays the warning and continues
Explanation: PHP encountered an in_addr that has an               interpreting the script.
invalid value (inappropriate 32-bit binary structure).
                                                                  Operator response: No System Operator response is
Example: HPH00321 Invalid in_addr value                           required.
                                                                  User response: Modify the IP address so that it is a

84     z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
regular IPv4 or IPv6 address.                                environment variable ’test’ - it’s not in the allowed list
System programmer response: No System                        System action: Displays the warning and continues
Programmer response is required.                             interpreting the script.
Problem determination: No additional information.            Operator response: No System Operator response is
                                                             required.
Source: PHP
                                                             User response: Either disable safe mode, or only
Module: Not applicable.
                                                             modify environment variables that are in the allowed list.
Routing code: Not applicable.
                                                             System programmer response: No System
Descriptor code: W- A warning (PHP continues).               Programmer response is required.
Automation: Not applicable.                                  Problem determination: No additional information.
                                                             Source: PHP
HPH00325      Safe Mode warning: Cannot override
                                                             Module: Not applicable.
              protected environment variable ’string’
                                                             Routing code: Not applicable.
Explanation: While safe-mode is enabled, some
protected enviroment variables cannot be changed.            Descriptor code: W- A warning (PHP continues).
string                                                       Automation: Not applicable.
     The enviroment variable
                                                             HPH00327       Invalid parameter syntax.
Example: HPH00325 Safe Mode warning: Cannot                  Explanation: PHP encountered a call to putenv() with
override protected environment variable                      invalid parameter syntax.
’LD_LIBRARY_PATH’
                                                             Example: HPH00327 Invalid parameter syntax.
System action: Displays the warning and continues
                                                             System action: Displays the warning and continues
interpreting the script.
                                                             interpreting the script.
Operator response: No System Operator response is
                                                             Operator response: No System Operator response is
required.
                                                             required.
User response: Either disable safe mode or do not try
                                                             User response: Modify the call so that the syntax is
to override protected environment variables.
                                                             valid.
System programmer response: No System
                                                             System programmer response: No System
Programmer response is required.
                                                             Programmer response is required.
Problem determination: No additional information.
                                                             Problem determination: No additional information.
Source: PHP
                                                             Source: PHP
Module: Not applicable.
                                                             Module: Not applicable.
Routing code: Not applicable.
                                                             Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                             Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                             Automation: Not applicable.

HPH00326      Safe Mode warning: Cannot set
                                                             HPH00328       No support for long options in this
              environment variable ’string’ - it’s not in
                                                                            build
              the allowed list
                                                             Explanation: PHP encountered a call to getopt() that
Explanation: While safe-mode was enabled, PHP
                                                             does not support for long options.
encountered the function putenv() blocked the
modification of an environment variable that is not in the   Example: HPH00328 No support for long options in
allowed list.                                                this build
string                                                       System action: Displays the warning and continues
     The environment variable                                interpreting the script.
                                                             Operator response: No System Operator response is
                                                             required.
Example: HPH00326 Safe Mode warning: Cannot set


                                                                                          Chapter 6. PHP messages         85
User response: Use as the function’s option                      System programmer response: No System
parameteres the individual characters and characters             Programmer response is required.
followed by a colon to indicate an option argument is to
                                                                 Problem determination: No additional information.
follow.
                                                                 Source: PHP
System programmer response: No System
Programmer response is required.                                 Module: Not applicable.
Problem determination: No additional information.                Routing code: Not applicable.
Source: PHP                                                      Descriptor code: W- A warning (PHP continues).
Module: Not applicable.                                          Automation: Not applicable.
Routing code: Not applicable.
                                                                 HPH00331       Argument 1 incorrect
Descriptor code: W- A warning (PHP continues).
                                                                 Explanation: Argument 1 incorrect.
Automation: Not applicable.
                                                                 Example: HPH00331 Argument 1 incorrect
HPH00329      Nanoseconds was not in the range 0 to              System action: Displays the warning and continues
              999 999 999, or seconds was negative               interpreting the script.
Explanation: Nanoseconds was not in the range 0 to               Operator response: No System Operator response is
999 999 999, or seconds was negative.                            required.
Example: HPH00329 Nanoseconds was not in the                     User response: Make sure the given argument is
range 0 to 999 999 999, or seconds was negative                  correct.
System action: Displays the warning and continues                System programmer response: No System
interpreting the script.                                         Programmer response is required.
Operator response: No System Operator response is                Problem determination: No additional information.
required.
                                                                 Source: PHP
User response: Make sure that nanoseconds is in the
range 0 to 999 999 999.                                          Module: Not applicable.

System programmer response: No System                            Routing code: Not applicable.
Programmer response is required.                                 Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.                Automation: Not applicable.
Source: PHP
Module: Not applicable.                                          HPH00332       Incorrect arguments

Routing code: Not applicable.                                    Explanation: Incorrect arguments.

Descriptor code: W- A warning (PHP continues).                   Example: HPH00332 Incorrect arguments

Automation: Not applicable.                                      System action: Displays the warning and continues
                                                                 interpreting the script.

HPH00330      ’Sleep until to time’ is less than                 Operator response: No System Operator response is
              ’current time’.                                    required.

Explanation: ’Sleep until to time’ is less than ’current         User response: Make sure the given arguments are
time’.                                                           correct.

Example: HPH00330 Sleep until to time is less then               System programmer response: No System
current time.                                                    Programmer response is required.

System action: Displays the warning and continues                Problem determination: No additional information.
interpreting the script.                                         Source: PHP
Operator response: No System Operator response is                Module: Not applicable.
required.
                                                                 Routing code: Not applicable.
User response: Make sure that the time stamp cannot
be less than the ’current time’.                                 Descriptor code: W- A warning (PHP continues).
                                                                 Automation: Not applicable.

86    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
System action: Displays the warning and continues
HPH00335      Mail option not available
                                                        interpreting the script.
Explanation: Mail option not available.
                                                        Operator response: No System Operator response is
Example: HPH00335 Mail option not available             required.
System action: Displays the warning and continues       User response: Change the first argument so that it is
interpreting the script.                                a valid callback.
Operator response: No System Operator response is       System programmer response: No System
required.                                               Programmer response is required.
User response: If the second parameter was the          Problem determination: No additional information.
number one, make sure the third parameter is an email
                                                        Source: PHP
address.
                                                        Module: Not applicable.
System programmer response: No System
Programmer response is required.                        Routing code: Not applicable.
Problem determination: No additional information.       Descriptor code: W- A warning (PHP continues).
Source: PHP                                             Automation: Not applicable.
Module: Not applicable.
                                                        HPH00338      Unable to call string1(string2,string3)
Routing code: Not applicable.
                                                        Explanation: PHP encountered function,
Descriptor code: W- A warning (PHP continues).
                                                        call_user_func(), that cannot call the user function
Automation: Not applicable.                             whose name is passed as a parameter.
                                                        string1
HPH00336      TCP/IP option not available                    The user function
Explanation: TCP/IP option not available.               string2
                                                             The first argument
Example: HPH00336 TCP/IP option not available
                                                        string3
System action: Displays the warning and continues
                                                             The second argument
interpreting the script.
Operator response: No System Operator response is
required.                                               Example: HPH00338 Unable to call CL::func(hi,hal)
User response: If the second parameter was the          System action: Displays the warning and continues
number two, make sure the third parameter is a host     interpreting the script.
name or IP address.
                                                        Operator response: No System Operator response is
System programmer response: No System                   required.
Programmer response is required.
                                                        User response: Check the function and make sure
Problem determination: No additional information.       that it can be called.
Source: PHP                                             System programmer response: No System
                                                        Programmer response is required.
Module: Not applicable.
                                                        Problem determination: No additional information.
Routing code: Not applicable.
                                                        Source: PHP
Descriptor code: W- A warning (PHP continues).
                                                        Module: Not applicable.
Automation: Not applicable.
                                                        Routing code: Not applicable.
HPH00337      First argument is expected to be a        Descriptor code: W- A warning (PHP continues).
              valid callback
                                                        Automation: Not applicable.
Explanation: PHP encountered the function,
call_user_func(), whose first argument is not a valid
callback.
Example: HPH00337 First argument is expected to be
a valid callback


                                                                                   Chapter 6. PHP messages      87
Routing code: Not applicable.
HPH00339      Unable to call string1(string2)
                                                                 Descriptor code: W- A warning (PHP continues).
Explanation: PHP encountered a function,
call_user_func(), that can not call the user function            Automation: Not applicable.
whose name is passed as a parameter.
string1                                                          HPH00343       -Removed
     The user function
                                                                 Explanation: -Removed
string2
     The argument                                                Example: -Removed

Example: HPH00339 Unable to call CL::func(a)                     System action: Displays the warning and continues
                                                                 interpreting the script.
System action: Displays the warning and continues
interpreting the script.                                         Operator response: No System Operator response is
                                                                 required.
Operator response: No System Operator response is
required.                                                        User response: -Removed

User response: Check the user function whose name                System programmer response: No System
is passed as the parameter, and make sure that it can            Programmer response is required.
be called.                                                       Problem determination: No additional information.
System programmer response: No System                            Source: PHP
Programmer response is required.
                                                                 Module: Not applicable.
Problem determination: No additional information.
                                                                 Routing code: Not applicable.
Source: PHP
                                                                 Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                                 Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                   HPH00344       Second argument is not an object or
Automation: Not applicable.                                                     class name
                                                                 Explanation: PHP encountered a function,
HPH00341      First argument is expected to be a                 call_user_method() or call_user_method_array(), whose
              valid callback, ’string’ was given                 second argument should be an object or class name
                                                                 from which PHP can call the method referred to by the
Explanation: PHP encountered a function,                         first argument.
call_user_func_array(), whose first argument is not a
valid callback.                                                  Example: HPH00344 Second argument is not an
                                                                 object or class name
string
     The invalid callback                                        System action: Displays the warning and continues
                                                                 interpreting the script.
                                                                 Operator response: No System Operator response is
Example: HPH00341 First argument is expected to be               required.
a valid callback, ’not_valid’ was given
                                                                 User response: Change the second argument so that
System action: Displays the warning and continues                it is an object or class name.
interpreting the script.
                                                                 System programmer response: No System
Operator response: No System Operator response is                Programmer response is required.
required.
                                                                 Problem determination: No additional information.
User response: Change the first argument so that it is
a valid callback.                                                Source: PHP

System programmer response: No System                            Module: Not applicable.
Programmer response is required.                                 Routing code: Not applicable.
Problem determination: No additional information.                Descriptor code: W- A warning (PHP continues).
Source: PHP                                                      Automation: Not applicable.
Module: Not applicable.


88    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Automation: Not applicable.
HPH00349     (Registered shutdown functions)
             Unable to call string() - function does
             not exist                                 HPH00352      Unable to call tick function
Explanation: PHP encountered a function which does     Explanation: Unable to call tick function
not exist
                                                       Example: HPH00352 Unable to call tick function
string
     a function name                                   System action: Displays the warning and continues
                                                       interpreting the script.
Example: HPH00349 (Registered shutdown functions)
Unable to call %s() - function does not exist          Operator response: No System Operator response is
                                                       required.
System action: Displays the warning and continues
interpreting the script.                               User response: Make sure the tick function is
                                                       available.
Operator response: No System Operator response is
required.                                              System programmer response: No System
                                                       Programmer response is required.
User response: Make sure the function is available.
                                                       Problem determination: No additional information.
System programmer response: No System
Programmer response is required.                       Source: PHP

Problem determination: No additional information.      Module: Not applicable.

Source: PHP                                            Routing code: Not applicable.

Module: Not applicable.                                Descriptor code: W- A warning (PHP continues).

Routing code: Not applicable.                          Automation: Not applicable.

Descriptor code: W- A warning (PHP continues).
                                                       HPH00353      Invalid shutdown callback ’string’
Automation: Not applicable.                                          passed
                                                       Explanation: PHP encountered a function,
HPH00351     Unable to call string1::string2() -       register_shutdown_function(), whose first argument is
             function does not exist                   an invalid shutdown callback.
Explanation: PHP encountered a function which does     string
not exist or does not have the called method                The invalid shutdown callback
string1
     a function name
                                                       Example: HPH00353 Invalid shutdown callback ’22’
string2                                                passed
     a method name
                                                       System action: Displays the warning and continues
Example: HPH00351 Unable to call testa::method1() -    interpreting the script.
function does not exist
                                                       Operator response: No System Operator response is
System action: Displays the warning and continues      required.
interpreting the script.
                                                       User response: Alter the first argument to a valid
Operator response: No System Operator response is      callback function that can be executed when script
required.                                              processing is complete.
User response: Make sure the function and the          System programmer response: No System
function method are both available.                    Programmer response is required.
System programmer response: No System                  Problem determination: No additional information.
Programmer response is required.
                                                       Source: PHP
Problem determination: No additional information.
                                                       Module: Not applicable.
Source: PHP
                                                       Routing code: Not applicable.
Module: Not applicable.
                                                       Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                       Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).

                                                                                 Chapter 6. PHP messages       89
Descriptor code: W- A warning (PHP continues).
HPH00354     Unable to find extension ’string’
                                                                Automation: Not applicable.
Explanation: PHP encountered function, ini_get_all(),
whose optional extension parameter can not be found
or it is not an invalid extension.                              HPH00356       Numeric key detected - possible
                                                                               security hazard.
string
     The extension                                              Explanation: PHP encountered the numeric key and it
                                                                possibly had security hazard.
                                                                Example: HPH00356 Numeric key detected - possible
Example: HPH00354 Unable to find extension
                                                                security hazard.
’global_value’
                                                                System action: Displays the warning and continues
System action: Displays the warning and continues
                                                                interpreting the script.
interpreting the script.
                                                                Operator response: No System Operator response is
Operator response: No System Operator response is
                                                                required.
required.
                                                                User response: You’d better not use the numeric key
User response: Change the parameter so that it is a
                                                                as a hash key.
valid extension.
                                                                System programmer response: No System
System programmer response: No System
                                                                Programmer response is required.
Programmer response is required.
                                                                Problem determination: No additional information.
Problem determination: No additional information.
                                                                Source: PHP
Source: PHP
                                                                Module: Not applicable.
Module: Not applicable.
                                                                Routing code: Not applicable.
Routing code: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).
                                                                Automation: Not applicable.
Automation: Not applicable.

                                                                HPH00357       Attempted GLOBALS variable
HPH00355     Unable to move ’string1’ to ’string2’
                                                                               overwrite.
Explanation: An error occurred while moving a path to
                                                                Explanation: If GLOBALS variable was overwritten, a
another path
                                                                warning occurred.
string1
                                                                Example: HPH00357 Attempted GLOBALS variable
     a path name
                                                                overwrite.
string2
                                                                System action: Displays the warning and continues
     another path name
                                                                interpreting the script.
Example: HPH00355 Unable to move ’/u/ss’ to
                                                                Operator response: No System Operator response is
’/u/ss/msg’
                                                                required.
System action: Displays the warning and continues
                                                                User response: Make sure tGLOBALS variable
interpreting the script.
                                                                couldnot be overwritten.
Operator response: No System Operator response is
                                                                System programmer response: No System
required.
                                                                Programmer response is required.
User response: Make sure both the two paths are
                                                                Problem determination: No additional information.
available.
                                                                Source: PHP
System programmer response: No System
Programmer response is required.                                Module: Not applicable.
Problem determination: No additional information.               Routing code: Not applicable.
Source: PHP                                                     Descriptor code: W- A warning (PHP continues).
Module: Not applicable.                                         Automation: Not applicable.
Routing code: Not applicable.


90   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
HPH00358      No prefix specified - possible security     HPH00360      HTTP_USER_AGENT variable is not
              hazard                                                    set, cannot determine user agent name
Explanation: PHP encountered the function                 Explanation: HTTP_USER_AGENT variable is not
import_request_variables() that specified an empty        set, cannot determine user agent name.
string as a prefix, or no prefix at all.
                                                          Example: HPH00360 HTTP_USER_AGENT variable
Example: HPH00358 No prefix specified - possible          is not set, cannot determine user agent name
security hazard
                                                          System action: Displays the warning and continues
System action: Displays the warning and continues         interpreting the script.
interpreting the script.
                                                          Operator response: No System Operator response is
Operator response: No System Operator response is         required.
required.
                                                          User response: Make sure ’HTTP_USER_AGENT’
User response: First check the first parameter type       variable has been set.
and make sure that it imports GET/POST/Cookie
                                                          System programmer response: No System
variables into the global scope. Second, be sure to
                                                          Programmer response is required.
specify a string as a prefix.
                                                          Problem determination: No additional information.
System programmer response: No System
Programmer response is required.                          Source: PHP
Problem determination: No additional information.         Module: Not applicable.
Source: PHP                                               Routing code: Not applicable.
Module: Not applicable.                                   Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.                             Automation: Not applicable.
Descriptor code: N- An informational notice. Could be
an error or could be normal behavior.                     HPH00361      Cannot open ’string’ for reading
Automation: Not applicable.                               Explanation: An error occurred when opening
                                                          ’browscap’ file
HPH00359      browscap ini directive not set.             string
                                                               a file name
Explanation: PHP encountered the function,
get_browser(), whose browscap.ini directive is not set.   Example: HPH00361 Cannot open ’browscap.txt’ for
                                                          reading
Example: HPH00359 browscap ini directive not set.
                                                          System action: Displays the warning and continues
System action: Displays the warning and continues
                                                          interpreting the script.
interpreting the script.
                                                          Operator response: No System Operator response is
Operator response: No System Operator response is
                                                          required.
required.
                                                          User response: Make sure the ’browscap’ file exists
User response: Set the browscap string with the
                                                          and is available.
name (e.g. browscap.ini) and location of the browser
capabilities file in php.ini.                             System programmer response: No System
                                                          Programmer response is required.
System programmer response: No System
Programmer response is required.                          Problem determination: No additional information.
Problem determination: No additional information.         Source: PHP
Source: PHP                                               Module: Not applicable.
Module: Not applicable.                                   Routing code: Not applicable.
Routing code: Not applicable.                             Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).            Automation: Not applicable.
Automation: Not applicable.




                                                                                    Chapter 6. PHP messages   91
Descriptor code: W- A warning (PHP continues).
HPH00362        Unknown source charset: char
                                                                   Automation: Not applicable.
Explanation: PHP encountered function,
convert_cyr_string(), that can not convert the given
string from the source charset to the destination                  HPH00364       Unable to find my handle property
charset. This is because the source charset is
unsupported.                                                       Explanation: Unable to find my handle property

char                                                               Example: HPH00364 Unable to find my handle
       The unknown source charset                                  property
                                                                   System action: Displays the warning and continues
                                                                   interpreting the script.
Example: HPH00362 Unknown source charset: o
                                                                   Operator response: No System Operator response is
System action: Displays the warning and continues                  required.
interpreting the script.
                                                                   User response: Use correct directory handle as the
Operator response: No System Operator response is                  parameter.
required.
                                                                   System programmer response: No System
User response: Alter the source charset to a                       Programmer response is required.
supported type, for example, ’W’, ’A’, ’D’, ’I’, ’M’, ’K’. For
more information, please refer to the PHP                          Problem determination: No additional information.
documentation at http://www.php.net/ .                             Source: PHP
System programmer response: No System                              Module: Not applicable.
Programmer response is required.
                                                                   Routing code: Not applicable.
Problem determination: No additional information.
                                                                   Descriptor code: W- A warning (PHP continues).
Source: PHP
                                                                   Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.                                      HPH00365       %s (errno %d)
Descriptor code: W- A warning (PHP continues).                     Explanation: - remove.
Automation: Not applicable.                                        Example: HPH00365 %s (errno %d)
                                                                   System action: - remove.
HPH00363        Unknown destination charset: ’char’
                                                                   Operator response: No System Operator response is
Explanation: PHP does not recognize the destination                required.
charset in the function convert_cyr_string().
                                                                   User response: - remove.
char
       An uncorrect destination charset                            System programmer response: No System
                                                                   Programmer response is required.
Example: HPH00363 Unknown destination charset: ’z’
                                                                   Problem determination: No additional information.
System action: Displays the warning and continues
interpreting the script.                                           Source: PHP

Operator response: No System Operator response is                  Module: Not applicable.
required.                                                          Routing code: Not applicable.
User response: Select a correct destination charset                Descriptor code:
from the following: k,w,i,a,d,m For more information,
refer to the PHP documentation at http://www.php.net/ .            Automation: Not applicable.

System programmer response: No System
Programmer response is required.                                   HPH00368       (errno ’errono’): ’error string’

Problem determination: No additional information.                  Explanation: This is an operating system error
                                                                   message.
Source: PHP
                                                                   errono
Module: Not applicable.                                                An error number of operating system
Routing code: Not applicable.


92      z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
error string                                           Example: HPH00370 Dynamically loaded extensions
     The content of the error                          are not allowed when running in Safe Mode
Example: HPH00368 (errno 153): abc: No such file or    System action: Displays the warning and continues
directory                                              interpreting the script.
System action: Displays the warning and continues      Operator response: No System Operator response is
interpreting the script.                               required.
Operator response: No System Operator response is      User response: Disable safe mode.
required.
                                                       System programmer response: No System
User response: Refer to the z/OS UNIX System           Programmer response is required.
Services Message and Codes document for a
                                                       Problem determination: No additional information.
description of the error
                                                       Source: PHP
System programmer response: No System
Programmer response is required.                       Module: Not applicable.
Problem determination: No additional information.      Routing code: Not applicable.
Source: PHP                                            Descriptor code: W- A warning (PHP continues).
Module: Not applicable.                                Automation: Not applicable.
Routing code: Not applicable.
                                                       HPH00371     Not supported in multithreaded Web
Descriptor code: W- A warning (PHP continues).
                                                                    servers - use extension=’string’ in your
Automation: Not applicable.                                         php.ini
                                                       Explanation: Multithreaded web servers do not
HPH00369      Dynamically loaded extensions are not    support dll() functions.
              enabled
                                                       string
Explanation: Dynamically loaded extensions are not          Extension name
enabled.
                                                       Example: HPH00371 Not supported in multithreaded
Example: HPH00369 Dynamically loaded extensions        Web servers - use extension=date in your php.ini
are not enabled
                                                       System action: PHP immediately stops interpreting
System action: Displays the warning and continues      the file (before any statements are run) and exits.
interpreting the script.
                                                       Operator response: No System Operator response is
Operator response: No System Operator response is      required.
required.
                                                       User response: Use extension=’extension name’ in
User response: Make sure the PHP application is not    php.ini
implementing dynamically loaded extensions or enable
                                                       System programmer response: No System
enable_dl in your php.ini .
                                                       Programmer response is required.
System programmer response: No System
                                                       Problem determination: No additional information.
Programmer response is required.
                                                       Source: PHP
Problem determination: No additional information.
                                                       Module: Not applicable.
Source: PHP
                                                       Routing code: Not applicable.
Module: Not applicable.
                                                       Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                       Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                       HPH00372     dl() is deprecated - use
                                                                    extension=’extension name’ in your
HPH00370      Dynamically loaded extensions are not                 php.ini
              allowed when running in Safe Mode
                                                       Explanation: dl() is deprecated.
Explanation: Dynamically loaded extensions are not
                                                       extension name
allowed when running in safe mode.
                                                           Extension name


                                                                                 Chapter 6. PHP messages     93
Example: HPH00372 dl() is deprecated - use
                                                                HPH00374       Incorrect library (maybe not a PHP
extension=date in your php.ini
                                                                               library) ’string’
System action: PHP immediately stops interpreting
                                                                Explanation: Incorrect library (maybe not a PHP
the file (before any statements are run) and exits.
                                                                library)
Operator response: No System Operator response is
                                                                string
required.
                                                                     Name of the library
User response: Use extension=’extension name’ in
                                                                Example: HPH00374 Incorrect library (maybe not a
php.ini
                                                                PHP library) ’aaa’
System programmer response: No System
                                                                System action: Displays the warning and continues
Programmer response is required.
                                                                interpreting the script.
Problem determination: No additional information.
                                                                Operator response: No System Operator response is
Source: PHP                                                     required.
Module: Not applicable.                                         User response: Verify that the library name is correct.
Routing code: Not applicable.                                   System programmer response: No System
                                                                Programmer response is required.
Descriptor code: F- A fatal error (PHP exits
immediately).                                                   Problem determination: No additional information.
Automation: Not applicable.                                     Source: PHP
                                                                Module: Not applicable.
HPH00373      Unable to load dynamic library ’string1’
                                                                Routing code: Not applicable.
              -’string2’
                                                                Descriptor code: F- A fatal error (PHP exits
Explanation: Unable to load dynamic library.
                                                                immediately).
string1
                                                                Automation: Not applicable.
     Name of dynamic library
string2
                                                                HPH00375       Unable to initialize module string
     Error information from operating system
                                                                Explanation: Unable to initialize module in dl()
Example: HPH00373 Unable to load dynamic library
                                                                function
’php_ldap.dll’ - The operating system cannot run it.
                                                                string
System action: Displays the warning and continues
                                                                     Name of the module
interpreting the script.
                                                                Example: HPH00375 Unable to initialize module date
Operator response: No System Operator response is
required.                                                       System action: PHP immediately stops interpreting
                                                                the file (before any statements are run) and exits.
User response: Ensure that the dynamic library is
found in the LIBPATH, and there are no other php.ini            Operator response: No System Operator response is
files on the system.                                            required.
System programmer response: No System                           User response: Check if the module configuration
Programmer response is required.                                matches the PHP configuration.
Problem determination: No additional information.               System programmer response: No System
                                                                Programmer response is required.
Source: PHP
                                                                Problem determination: No additional information.
Module: Not applicable.
                                                                Source: PHP
Routing code: Not applicable.
                                                                Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Routing code: Not applicable.
Automation: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
                                                                Automation: Not applicable.




94   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
HPH00376     Cannot dynamically load string -       HPH00379      Address is not in a.b.c.d form
             dynamic modules are not supported
                                                    Explanation: The given IP address is not in standard
Explanation: Cannot dynamically load module.        dotted quad form.
string                                              Example: HPH00379 Address is not in a.b.c.d form
     Module name
                                                    System action: Displays the warning and continues
Example: HPH00376 Cannot dynamically load date -    interpreting the script.
dynamic modules are not supported
                                                    Operator response: No System Operator response is
System action: Displays the warning and continues   required.
interpreting the script.
                                                    User response: Change the address so it is in dotted
Operator response: No System Operator response is   quad form.
required.
                                                    System programmer response: No System
User response: Make sure the system supports        Programmer response is required.
dynamic modules.
                                                    Problem determination: No additional information.
System programmer response: No System
                                                    Source: PHP
Programmer response is required.
                                                    Module: Not applicable.
Problem determination: No additional information.
                                                    Routing code: Not applicable.
Source: PHP
                                                    Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                    Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                    HPH00380      Type ’string’ not supported
Automation: Not applicable.
                                                    Explanation: The dns_check_record() function was
                                                    called with an incorrect type.
HPH00378     Address is not a valid IPv4 or IPv6
                                                    string
             address
                                                         record type
Explanation: Address is not a valid IPv4 or IPv6
                                                    Example: HPH00380 Type ’aaa’ not supported
address.
                                                    System action: Displays the warning and continues
Example: HPH00378 Address is not a valid IPv4 or
                                                    interpreting the script.
IPv6 address
                                                    Operator response: No System Operator response is
System action: Displays the warning and continues
                                                    required.
interpreting the script.
                                                    User response: Change the call to use one of the
Operator response: No System Operator response is
                                                    following types: A, NS, MX, PTR, ANY, SOA, CNAME,
required.
                                                    AAAA, SRV, NAPTR, A6
User response: Change the address to a valid IPV4
                                                    System programmer response: No System
or IPv6 address.
                                                    Programmer response is required.
System programmer response: No System
                                                    Problem determination: No additional information.
Programmer response is required.
                                                    Source: PHP
Problem determination: No additional information.
                                                    Module: Not applicable.
Source: PHP
                                                    Routing code: Not applicable.
Module: Not applicable.
                                                    Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                    Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.




                                                                              Chapter 6. PHP messages   95
Operator response: No System Operator response is
HPH00381      Type ’integer’ not supported
                                                                 required.
Explanation: This type is not supported in
                                                                 User response: Make sure the operating system
dns_get_record().
                                                                 supports res_nsend().
integer
                                                                 System programmer response: No System
     record type
                                                                 Programmer response is required.
Example: HPH00381 Type ’3’ not supported
                                                                 Problem determination: No additional information.
System action: Displays the warning and continues
                                                                 Source: PHP
interpreting the script.
                                                                 Module: Not applicable.
Operator response: No System Operator response is
required.                                                        Routing code: Not applicable.
User response: Select a supported type. Examples                 Descriptor code: W- A warning (PHP continues).
can be found at www.php.net.
                                                                 Automation: Not applicable.
System programmer response: No System
Programmer response is required.
                                                                 HPH00384       Unable to parse DNS data received
Problem determination: No additional information.
                                                                 Explanation: PHP was unable to parse the DNS data
Source: PHP                                                      received. The name could not be found by
                                                                 dn_skipname().
Module: Not applicable.
                                                                 Example: HPH00384 Unable to parse DNS data
Routing code: Not applicable.
                                                                 received
Descriptor code: W- A warning (PHP continues).
                                                                 System action: Displays the warning and continues
Automation: Not applicable.                                      interpreting the script.
                                                                 Operator response: No System Operator response is
HPH00382      res_nmkquery() failed                              required.
Explanation: A call to res_nmkquery() failed.                    User response: Ensure that the DNS data is valid.
Example: HPH00382 res_nmkquery() failed                          System programmer response: No System
                                                                 Programmer response is required.
System action: Displays the warning and continues
interpreting the script.                                         Problem determination: No additional information.
Operator response: No System Operator response is                Source: PHP
required.
                                                                 Module: Not applicable.
User response: Make sure the operating system
                                                                 Routing code: Not applicable.
supports res_nmkquery().
                                                                 Descriptor code: W- A warning (PHP continues).
System programmer response: No System
Programmer response is required.                                 Automation: Not applicable.
Problem determination: No additional information.
                                                                 HPH00385       No ’..’ components allowed in path
Source: PHP
                                                                 Explanation: For security reasons, PHP does not
Module: Not applicable.
                                                                 allow ’..’ components in a pathname.
Routing code: Not applicable.
                                                                 Example: HPH00385 No ’..’ components allowed in
Descriptor code: W- A warning (PHP continues).                   path
Automation: Not applicable.                                      System action: Displays the warning and continues
                                                                 interpreting the script.
HPH00383      res_nsend() failed                                 Operator response: No System Operator response is
                                                                 required.
Explanation: A call to res_nsend() failed.
                                                                 User response: Remove ’..’ components from the
Example: HPH00383 res_nsend() failed
                                                                 supplied path string.
System action: Displays the warning and continues
                                                                 System programmer response: No System
interpreting the script.
                                                                 Programmer response is required.

96    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Problem determination: No additional information.   Automation: Not applicable.
Source: PHP
                                                    HPH00388     Cannot execute using backquotes in
Module: Not applicable.
                                                                 Safe Mode
Routing code: Not applicable.
                                                    Explanation: PHP cannot execute functions using the
Descriptor code: W- A warning (PHP continues).      backquote operator while in safe mode.

Automation: Not applicable.                         Example: HPH00388 Cannot execute using
                                                    backquotes in Safe Mode
HPH00386      Unable to fork [cmd]                  System action: Displays the warning and continues
                                                    interpreting the script.
Explanation: PHP script was not able to fork a
command.                                            Operator response: No System Operator response is
                                                    required.
cmd
      command string                                User response: Turn off safe mode, or do not use the
                                                    backquote operator.
Example: HPH00386 Unable to fork [cd]
                                                    System programmer response: No System
System action: Displays the warning and continues   Programmer response is required.
interpreting the script.
                                                    Problem determination: No additional information.
Operator response: No System Operator response is
required.                                           Source: PHP
User response: Make sure you can execute the        Module: Not applicable.
command outside of PHP.
                                                    Routing code: Not applicable.
System programmer response: No System
                                                    Descriptor code: W- A warning (PHP continues).
Programmer response is required.
                                                    Automation: Not applicable.
Problem determination: No additional information.
Source: PHP
                                                    HPH00389     Unable to execute ’command’
Module: Not applicable.
                                                    Explanation: PHP script was not able to execute the
Routing code: Not applicable.                       command
Descriptor code: W- A warning (PHP continues).      command
                                                       command string
Automation: Not applicable.
                                                    Example: HPH00389 Unable to execute ’aabb’
HPH00387      Cannot execute a blank command        System action: Displays the warning and continues
                                                    interpreting the script.
Explanation: PHP can not execute blank commands.
                                                    Operator response: No System Operator response is
Example: HPH00387 Cannot execute a blank            required.
command
                                                    User response: First, make sure the command is
System action: Displays the warning and continues   correct. Then make sure the environment is ready for
interpreting the script.                            the command.
Operator response: No System Operator response is   System programmer response: No System
required.                                           Programmer response is required.
User response: Execute a non-blank command.         Problem determination: No additional information.
System programmer response: No System               Source: PHP
Programmer response is required.
                                                    Module: Not applicable.
Problem determination: No additional information.
                                                    Routing code: Not applicable.
Source: PHP
                                                    Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                    Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).

                                                                              Chapter 6. PHP messages      97
HPH00390     Only a super user may attempt to                   HPH00392       Failed to seek to position position in
             increase the priority of a process.                               the stream.
Explanation: Process priorities cannot be increased             Explanation: PHP was unable to seek to the given
by normal users.                                                position in the data stream.
Example: HPH00390 Only a super user may attempt                 position
to increase the priority of a process.                               The offset where PHP tried to seek
System action: Displays the warning and continues               Example: HPH00392 Failed to seek to 18 position in
interpreting the script.                                        the stream.
Operator response: No System Operator response is               System action: Displays the warning and continues
required.                                                       interpreting the script.
User response: Change to a superuser id, or grant               Operator response: No System Operator response is
your id superuser authority.                                    required.
System programmer response: No System                           User response: Make sure the offset is less than the
Programmer response is required.                                length of the source stream.
Problem determination: No additional information.               System programmer response: No System
                                                                Programmer response is required.
Source: PHP
                                                                Problem determination: No additional information.
Module: Not applicable.
                                                                Source: PHP
Routing code: Not applicable.
                                                                Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Routing code: Not applicable.
Automation: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
HPH00391     Illegal operation argument                         Automation: Not applicable.
Explanation: The flock() function in PHP was passed
an illegal operation argument.                                  HPH00393       Only num of totalnum bytes written,
                                                                               possibly out of free disk space
Example: HPH00391 Illegal operation argument
                                                                Explanation: The writing operation terminated
System action: Displays the warning and continues
                                                                prematurely - perhaps the disk space is exhausted.
interpreting the script.
                                                                num
Operator response: No System Operator response is
                                                                      Number of bytes actually written to disk
required.
                                                                totalnum
User response: Ensure that flock() is passed a correct
                                                                     Number of bytes that was supposed to be written to
operation argument, like
                                                                     disk
LOCK_SH,LOCK_EX,LOCK_UN. Refer
to=″phpnet″>www.php.net for more information.                   Example: HPH00393 Only 20 of 100 bytes written,
                                                                possibly out of free disk space
System programmer response: No System
Programmer response is required.                                System action: Displays the warning and continues
                                                                interpreting the script.
Problem determination: No additional information.
                                                                Operator response: No System Operator response is
Source: PHP
                                                                required.
Module: Not applicable.
                                                                User response: Make sure there is enough free disk
Routing code: Not applicable.                                   space.
Descriptor code: W- A warning (PHP continues).                  System programmer response: No System
                                                                Programmer response is required.
Automation: Not applicable.
                                                                Problem determination: No additional information.
                                                                Source: PHP
                                                                Module: Not applicable.
                                                                Routing code: Not applicable.


98   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Descriptor code: W- A warning (PHP continues).             Automation: Not applicable.
Automation: Not applicable.
                                                           HPH00397      ’flag’ flag is not supported
HPH00394      Failed to write num bytes to filename        Explanation: Flag is not supported in PHP script.
Explanation: When trying to write to a file, the           flag
operation terminated prematurely.                                 flags, such as:
                                                                  PHP_FILEUSE_INCLUDE_PATH;PHP_FILE_IGNORE_NEW_LINES
num
      Number of bytes                                      Example: HPH00397 17 flag is not supported
filename                                                   System action: Displays the warning and continues
     File name                                             interpreting the script.
Example: HPH00394 Failed to write 20 bytes to foo          Operator response: No System Operator response is
                                                           required.
System action: Displays the warning and continues
interpreting the script.                                   User response: PHP only supports flags less than 32.
                                                           Refer to php.net for more information.
Operator response: No System Operator response is
required.                                                  System programmer response: No System
                                                           Programmer response is required.
User response: Make sure that you have the correct
permissions to write to the file, as well as having        Problem determination: No additional information.
enough disk space to complete the operation.
                                                           Source: PHP
System programmer response: No System
                                                           Module: Not applicable.
Programmer response is required.
                                                           Routing code: Not applicable.
Problem determination: No additional information.
                                                           Descriptor code: W- A warning (PHP continues).
Source: PHP
                                                           Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.
                                                           HPH00404      Unable to locate stream wrapper
Descriptor code: W- A warning (PHP continues).
                                                           Explanation: Unable to locate stream wrapper.
Automation: Not applicable.
                                                           Example: HPH00404 Unable to locate stream wrapper
                                                           System action: Displays the warning and continues
HPH00396      The second parameter should be either
                                                           interpreting the script.
              a string or an array
                                                           Operator response: No System Operator response is
Explanation: The parameter is an incorrect type.
                                                           required.
Example: HPH00396 The second parameter should
                                                           User response: Make sure the wrapper exists.
be either a string or an array
                                                           System programmer response: No System
System action: Displays the warning and continues
                                                           Programmer response is required.
interpreting the script.
                                                           Problem determination: No additional information.
Operator response: No System Operator response is
required.                                                  Source: PHP
User response: Make sure the second parameter of           Module: Not applicable.
the call to file_put_contents() is either a string or an
array.                                                     Routing code: Not applicable.

System programmer response: No System                      Descriptor code: W- A warning (PHP continues).
Programmer response is required.                           Automation: Not applicable.
Problem determination: No additional information.
Source: PHP                                                HPH00405      string wrapper does not support
                                                                         renaming
Module: Not applicable.
                                                           Explanation: Wrapper does not support renaming
Routing code: Not applicable.
                                                           string
Descriptor code: W- A warning (PHP continues).                  Name of the wrapper

                                                                                      Chapter 6. PHP messages   99
Example: HPH00405 http wrapper does not support                 User response: Make sure the wrapper allows
renaming                                                        unlinking.
System action: Displays the warning and continues               System programmer response: No System
interpreting the script.                                        Programmer response is required.
Operator response: No System Operator response is               Problem determination: No additional information.
required.
                                                                Source: PHP
User response: Make sure the wrapper supports the
                                                                Module: Not applicable.
rename() function.
                                                                Routing code: Not applicable.
System programmer response: No System
Programmer response is required.                                Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.               Automation: Not applicable.
Source: PHP
                                                                HPH00409       Cannot truncate this stream
Module: Not applicable.
                                                                Explanation: Cannot truncate this stream.
Routing code: Not applicable.
                                                                Example: HPH00409 Cannot truncate this stream
Descriptor code: W- A warning (PHP continues).
                                                                System action: Displays the warning and continues
Automation: Not applicable.
                                                                interpreting the script.
                                                                Operator response: No System Operator response is
HPH00406     Cannot rename a file across wrapper
                                                                required.
             types
                                                                User response: Try changing the open mode of the
Explanation: PHP script can not rename a file across
                                                                stream.
wrapper types.
                                                                System programmer response: No System
Example: HPH00406 Cannot rename a file across
                                                                Programmer response is required.
wrapper types
                                                                Problem determination: No additional information.
System action: Displays the warning and continues
interpreting the script.                                        Source: PHP
Operator response: No System Operator response is               Module: Not applicable.
required.
                                                                Routing code: Not applicable.
User response: Check the definition of the wrapper,
and make sure you can rename the file across wrapper            Descriptor code: W- A warning (PHP continues).
types.                                                          Automation: Not applicable.
System programmer response: No System
Programmer response is required.                                HPH00411       delimiter must be a character
Problem determination: No additional information.               Explanation: Delimiter must be a character.
Source: PHP                                                     Example: HPH00411 delimiter must be a character
Module: Not applicable.                                         System action: Displays the warning and continues
Routing code: Not applicable.                                   interpreting the script.

Descriptor code: W- A warning (PHP continues).                  Operator response: No System Operator response is
                                                                required.
Automation: Not applicable.
                                                                User response: Make sure the delimiter is a
                                                                character.
HPH00408     Stringdoes not allow unlinking
                                                                System programmer response: No System
Explanation: Wrapper does not allow unlinking.                  Programmer response is required.
Example: HPH00408 http does not allow unlinking                 Problem determination: No additional information.
System action: Displays the warning and continues               Source: PHP
interpreting the script.
                                                                Module: Not applicable.
Operator response: No System Operator response is
required.                                                       Routing code: Not applicable.

100    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Descriptor code: W- A warning (PHP continues).
                                                        HPH00414     Enclosure must be a single character
Automation: Not applicable.
                                                        Explanation: Enclosure must be a single character.
                                                        Example: HPH00414 Enclosure must be a single
HPH00412     Delimiter must be a single character
                                                        character
Explanation: Delimiter must be a single character.
                                                        System action: Displays the warning and continues
Example: HPH00412 Delimiter must be a single            interpreting the script.
character
                                                        Operator response: No System Operator response is
System action: Displays the warning and continues       required.
interpreting the script.
                                                        User response: Make sure the enclosure is a single
Operator response: No System Operator response is       character.
required.
                                                        System programmer response: No System
User response: Make sure the delimiter is one           Programmer response is required.
character.
                                                        Problem determination: No additional information.
System programmer response: No System
                                                        Source: PHP
Programmer response is required.
                                                        Module: Not applicable.
Problem determination: No additional information.
                                                        Routing code: Not applicable.
Source: PHP
                                                        Descriptor code: N- An informational notice. Could be
Module: Not applicable.
                                                        an error or could be normal behavior.
Routing code: Not applicable.
                                                        Automation: Not applicable.
Descriptor code: N- An informational notice. Could be
an error or could be normal behavior.
                                                        HPH00417     Length parameter may not be negative
Automation: Not applicable.
                                                        Explanation: Length parameter may not be negative.
                                                        Example: HPH00417 Length parameter may not be
HPH00413     Enclosure must be a character
                                                        negative
Explanation: Enclosure must be a character.
                                                        System action: Displays the warning and continues
Example: HPH00413 enclosure must be a character         interpreting the script.
System action: Displays the warning and continues       Operator response: No System Operator response is
interpreting the script.                                required.

Operator response: No System Operator response is       User response: Make sure the length parameter is
required.                                               positive.
User response: Make sure the enclosure is a             System programmer response: No System
character.                                              Programmer response is required.
System programmer response: No System                   Problem determination: No additional information.
Programmer response is required.
                                                        Source: PHP
Problem determination: No additional information.
                                                        Module: Not applicable.
Source: PHP
                                                        Routing code: Not applicable.
Module: Not applicable.
                                                        Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                        Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                             HPH00420     Unable to find gid for groupname
                                                        Explanation: Unable to find gid
                                                        groupname
                                                            The name of the group
                                                        Example: HPH00420 Unable to find gid for testgroup


                                                                               Chapter 6. PHP messages   101
System action: Displays the warning and continues               User response: Check that the the permissions are
interpreting the script.                                        properly to allow creation of the specified file.
Operator response: No System Operator response is               System programmer response: No System
required.                                                       Programmer response is required.
User response: Make sure the group exists.                      Problem determination: No additional information.
System programmer response: No System                           Source: PHP
Programmer response is required.
                                                                Module: Not applicable.
Problem determination: No additional information.
                                                                Routing code: Not applicable.
Source: PHP
                                                                Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                                Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                  HPH00426       Utime failed: errorinfo
Automation: Not applicable.                                     Explanation: PHP script encountered a ″Utime failed″
                                                                error.
HPH00422      Unable to find uid for uid                        erroinfo
                                                                     System erro information
Explanation: Unable to find uid
                                                                Example: HPH00426 Utime failed: EDC5121I Invalid
uid User id
                                                                argument.
Example: HPH00422 Unable to find uid for testuser
                                                                System action: Displays the warning and continues
System action: Displays the warning and continues               interpreting the script.
interpreting the script.
                                                                Operator response: No System Operator response is
Operator response: No System Operator response is               required.
required.
                                                                User response: Make sure the input time parameters
User response: Make sure the user id exists.                    are correct and refer to the system error information in
                                                                this message for more hints.
System programmer response: No System
Programmer response is required.                                System programmer response: No System
                                                                Programmer response is required.
Problem determination: No additional information.
                                                                Problem determination: No additional information.
Source: PHP
                                                                Source: PHP
Module: Not applicable.
                                                                Module: Not applicable.
Routing code: Not applicable.
                                                                Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                                Automation: Not applicable.
HPH00425      Unable to create file filename because
              errorinfo                                         HPH00427       state failed for filename
Explanation: PHP script was not able to create a file           Explanation: State failed
filename                                                        state
     File name                                                       State or Lstate
errorinfo                                                       file name
     System error information                                         The name of a file

Example: HPH00425 Unable to create file a because               Example: HPH00427 state failed for noexists
EDC5129I No such file or directory.
                                                                System action: Displays the warning and continues
System action: Displays the warning and continues               interpreting the script.
interpreting the script.
                                                                Operator response: No System Operator response is
Operator response: No System Operator response is               required.
required.

102    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
User response: Make sure you can access the file.       Module: Not applicable.
System programmer response: No System                   Routing code: Not applicable.
Programmer response is required.
                                                        Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.
                                                        Automation: Not applicable.
Source: PHP
Module: Not applicable.                                 HPH00430     Zero is not a valid argument number
Routing code: Not applicable.                           Explanation: Zero is not a valid argument number.
Descriptor code: W- A warning (PHP continues).          Example: HPH00430 Zero is not a valid argument
                                                        number
Automation: Not applicable.
                                                        System action: Displays the warning and continues
                                                        interpreting the script.
HPH00428         Unknown file type (integer)
                                                        Operator response: No System Operator response is
Explanation: Unknown file type
                                                        required.
integer
                                                        User response: The parameter number should be
     File type
                                                        greater than zero.
Example: HPH00428 Unknown file type (foo)
                                                        System programmer response: No System
System action: Displays the warning and continues       Programmer response is required.
interpreting the script.
                                                        Problem determination: No additional information.
Operator response: No System Operator response is
                                                        Source: PHP
required.
                                                        Module: Not applicable.
User response: Make sure the file name is correct, or
the file type is supported by the operating system.     Routing code: Not applicable.
System programmer response: No System                   Descriptor code: W- A warning (PHP continues).
Programmer response is required.
                                                        Automation: Not applicable.
Problem determination: No additional information.
Source: PHP                                             HPH00431     Too few arguments
Module: Not applicable.                                 Explanation: Too few arguments.
Routing code: Not applicable.                           Example: HPH00431 Too few arguments
Descriptor code: N- An informational notice. Could be   System action: Displays the warning and continues
an error or could be normal behavior.                   interpreting the script.
Automation: Not applicable.                             Operator response: No System Operator response is
                                                        required.
HPH00429         Didn’t understand stat call            User response: Provide as many arguments as
                                                        necessary for print functions.
Explanation: Did not understand stat call
                                                        System programmer response: No System
Example: HPH00429 Didn’t understand stat call
                                                        Programmer response is required.
System action: Displays the warning and continues
                                                        Problem determination: No additional information.
interpreting the script.
                                                        Source: PHP
Operator response: No System Operator response is
required.                                               Module: Not applicable.
User response: Make sure the file name is correct, or   Routing code: Not applicable.
the file type is supported by the operating system.
                                                        Descriptor code: W- A warning (PHP continues).
System programmer response: No System
                                                        Automation: Not applicable.
Programmer response is required.
Problem determination: No additional information.
Source: PHP


                                                                               Chapter 6. PHP messages   103
Automation: Not applicable.
HPH00432       Unable to connect to stream:port (err)
Explanation: Unable to connect
                                                                  HPH00434       Cookie values can not contain any of
stream                                                                           the folllowing ’,; trn013014’
     The stream you want to connect to                                           (string)
port                                                              Explanation: Cookie values can not contain any of the
       port number                                                folllowing ’,; trn013014’
err system err info                                               string
                                                                       cookie value
Example: HPH00432 Unable to connect to
www.sdfsdg,io:80 (Unknown error)                                  Example: HPH00434 Cookie values can not contain
                                                                  any of the folllowing ’,; trn013014’ (foorn)
System action: Displays the warning and continues
interpreting the script.                                          System action: Displays the warning and continues
                                                                  interpreting the script.
Operator response: No System Operator response is
required.                                                         Operator response: No System Operator response is
                                                                  required.
User response: Make sure the network linkage and
network functions are normal. Also, make sure the port            User response: Correct the cookie value.
number and stream are correct.
                                                                  System programmer response: No System
System programmer response: No System                             Programmer response is required.
Programmer response is required.
                                                                  Problem determination: No additional information.
Problem determination: No additional information.
                                                                  Source: PHP
Source: PHP
                                                                  Module: Not applicable.
Module: Not applicable.
                                                                  Routing code: Not applicable.
Routing code: Not applicable.
                                                                  Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).
                                                                  Automation: Not applicable.
Automation: Not applicable.
                                                                  HPH00435       charset `charset’ not supported,
HPH00433       Cookie names can not contain any of                               assuming iso-8859-1
               the folllowing ’=,; trn013014’ ()
                                                                  Explanation: charset is not supported; use default
Explanation: Cookie names can not contain any of                  charset iso-8859-1
the folllowing ’=,; trn013014’
                                                                  charset
string                                                                charset name
     cookie name
                                                                  Example: HPH00435 charset `iso=8859-7’ not
Example: HPH00433 Cookie names can not contain                    supported, assuming iso-8859-1
any of the folllowing ’=,; trn013014’ (=foo)
                                                                  System action: Displays the warning and continues
System action: Displays the warning and continues                 interpreting the script.
interpreting the script.
                                                                  Operator response: No System Operator response is
Operator response: No System Operator response is                 required.
required.
                                                                  User response: Make sure the charset is supported.
User response: Correct the cookie name.                           Please issue ″iconv -l″ for a list of valid charsets.
System programmer response: No System                             System programmer response: No System
Programmer response is required.                                  Programmer response is required.
Problem determination: No additional information.                 Problem determination: No additional information.
Source: PHP                                                       Source: PHP
Module: Not applicable.                                           Module: Not applicable.
Routing code: Not applicable.                                     Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                    Descriptor code: W- A warning (PHP continues).


104      z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Automation: Not applicable.
                                                        HPH00438     JP2 file has no codestreams at root
                                                                     level
HPH00436     Cannot handle MBCS
                                                        Explanation: JP2 file has no codestreams at root
Explanation: Cannot handle the charset in the           level.
html_entity_decode() function.
                                                        Example: HPH00438 JP2 file has no codestreams at
Example: HPH00436 Cannot handle MBCS                    root level
System action: Displays the warning and continues       System action: Displays the warning and continues
interpreting the script.                                interpreting the script.
Operator response: No System Operator response is       Operator response: No System Operator response is
required.                                               required.
User response: Use an acceptable charset in the         User response: Make sure the JP2 file is correct.
html_entity_decode() function.
                                                        System programmer response: No System
System programmer response: No System                   Programmer response is required.
Programmer response is required.
                                                        Problem determination: No additional information.
Problem determination: No additional information.
                                                        Source: PHP
Source: PHP
                                                        Module: Not applicable.
Module: Not applicable.
                                                        Routing code: Not applicable.
Routing code: Not applicable.
                                                        Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).
                                                        Automation: Not applicable.
Automation: Not applicable.
                                                        HPH00439     Read error
HPH00437     JPEG2000 codestream corrupt
                                                        Explanation: Read stream error. Cannot open an
             (Expected SIZ marker not found after
                                                        image.
             SOC)
                                                        Example: HPH00439 Read error
Explanation: JPEG2000 codestream corrupted
(Expected SIZ marker not found after SOC). Cannot get   System action: Displays the warning and continues
the single byte that remains after the file type        interpreting the script.
identification.
                                                        Operator response: No System Operator response is
Example: HPH00437 JPEG2000 codestream                   required.
corrupt(Expected SIZ marker not found after SOC)
                                                        User response: Make sure the image type is
System action: Displays the warning and continues       acceptable to PHP.
interpreting the script.
                                                        System programmer response: No System
Operator response: No System Operator response is       Programmer response is required.
required.
                                                        Problem determination: No additional information.
User response: Ensure that the JPEG2000 file is not
                                                        Source: PHP
corrupted.
                                                        Module: Not applicable.
System programmer response: No System
Programmer response is required.                        Routing code: Not applicable.
Problem determination: No additional information.       Descriptor code: W- A warning (PHP continues).
Source: PHP                                             Automation: Not applicable.
Module: Not applicable.
                                                        HPH00441     PNG file corrupted by ASCII
Routing code: Not applicable.
                                                                     conversion
Descriptor code: W- A warning (PHP continues).
                                                        Explanation: PNG file corrupted by ASCII conversion.
Automation: Not applicable.
                                                        Example: HPH00441 PNG file corrupted by ASCII
                                                        conversion



                                                                                Chapter 6. PHP messages     105
System action: Displays the warning and continues               Operator response: No System Operator response is
interpreting the script.                                        required.
Operator response: No System Operator response is               User response: Make sure the file exists and is
required.                                                       accessible.
User response: Verify the contents of the PNG file.             System programmer response: No System
                                                                Programmer response is required.
System programmer response: No System
Programmer response is required.                                Problem determination: No additional information.
Problem determination: No additional information.               Source: PHP
Source: PHP                                                     Module: Not applicable.
Module: Not applicable.                                         Routing code: Not applicable.
Routing code: Not applicable.                                   Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).                  Automation: Not applicable.
Automation: Not applicable.
                                                                HPH00448       Unable to symlink to a URL
HPH00444         The image is a compressed SWF file,            Explanation: Unable to symlink to a URL.
                 but you do not have a static version of
                                                                Example: HPH00448 Unable to symlink to a URL
                 the zlib extension enabled.
                                                                System action: Displays the warning and continues
Explanation: The image is a compressed SWF file,
                                                                interpreting the script.
but you do not have a static version of the zlib
extension enabled.                                              Operator response: No System Operator response is
                                                                required.
Example: HPH00444 The image is a compressed
SWF file, but you do not have a static version of the zlib      User response: Make sure you are not creating a
extension enabled.                                              symbolic link to the URL.
System action: Displays the warning and continues               System programmer response: No System
interpreting the script.                                        Programmer response is required.
Operator response: No System Operator response is               Problem determination: No additional information.
required.
                                                                Source: PHP
User response: SWF files are not supported.
Therefore, make sure they are not being used.                   Module: Not applicable.

System programmer response: No System                           Routing code: Not applicable.
Programmer response is required.                                Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.               Automation: Not applicable.
Source: PHP
Module: Not applicable.                                         HPH00450       Unable to link to a URL

Routing code: Not applicable.                                   Explanation: Unable to link to a URL.

Descriptor code: W- A warning (PHP continues).                  Example: HPH00450 Unable to link to a URL

Automation: Not applicable.                                     System action: Displays the warning and continues
                                                                interpreting the script.

HPH00445         Unable to open filename                        Operator response: No System Operator response is
                                                                required.
Explanation: PHP script was unable to open JPEG
file                                                            User response: Make sure you do not to create a link
                                                                to the URL.
filename
     file name                                                  System programmer response: No System
                                                                Programmer response is required.
Example: HPH00445 Unable to open aa.jpg
                                                                Problem determination: No additional information.
System action: Displays the warning and continues
interpreting the script.                                        Source: PHP


106    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Module: Not applicable.                                   Module: Not applicable.
Routing code: Not applicable.                             Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).            Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                               Automation: Not applicable.


HPH00452     SAFE MODE Restriction in effect. The         HPH00456     Could not execute mail delivery
             fifth parameter is disabled in SAFE                       program ’command’
             MODE.
                                                          Explanation: Could not execute mail delivery program
Explanation: SAFE MODE Restriction in effect. The
                                                          command
fifth parameter is disabled in SAFE MODE.
                                                             string of command
Example: HPH00452 SAFE MODE Restriction in
                                                          Example: HPH00456 Could not execute mail delivery
effect. The fifth parameter is disabled in SAFE MODE.
                                                          program ’/usr/sbin/sendmail -t -i’
System action: Displays the warning and continues
                                                          System action: Displays the warning and continues
interpreting the script.
                                                          interpreting the script.
Operator response: No System Operator response is
                                                          Operator response: No System Operator response is
required.
                                                          required.
User response: Do not use the fifth parameter, or do
                                                          User response: Make sure the mail delivery function
not enable SAFE MODE in php.ini.
                                                          of the system is operating normally, and that the path
System programmer response: No System                     specified is correct.
Programmer response is required.
                                                          System programmer response: No System
Problem determination: No additional information.         Programmer response is required.
Source: PHP                                               Problem determination: No additional information.
Module: Not applicable.                                   Source: PHP
Routing code: Not applicable.                             Module: Not applicable.
Descriptor code: W- A warning (PHP continues).            Routing code: Not applicable.
Automation: Not applicable.                               Descriptor code: W- A warning (PHP continues).
                                                          Automation: Not applicable.
HPH00455     Permission denied: unable to execute
             shell to run mail delivery binary ’string’
                                                          HPH00457     Base must be greater than zero
Explanation: Unable to execute shell to run mail
                                                          Explanation: When using natural logarithm function
delivery binary
                                                          log(), the base must be greater than zero.
string
                                                          Example: HPH00457 Base must be greater than zero
     command string
                                                          System action: Displays the warning and continues
Example: HPH00455 Permission denied: unable to
                                                          interpreting the script.
execute shell to run mail delivery binary
’/usr/sbin/sendmail -t -i’                                Operator response: No System Operator response is
                                                          required.
System action: Displays the warning and continues
interpreting the script.                                  User response: Make sure the base parameter is
                                                          greater than zero.
Operator response: No System Operator response is
required.                                                 System programmer response: No System
                                                          Programmer response is required.
User response: Make sure PHP has the proper
privileges to execute shell scripts.                      Problem determination: No additional information.
System programmer response: No System                     Source: PHP
Programmer response is required.
                                                          Module: Not applicable.
Problem determination: No additional information.
                                                          Routing code: Not applicable.
Source: PHP
                                                          Descriptor code: W- A warning (PHP continues).

                                                                                   Chapter 6. PHP messages   107
Automation: Not applicable.
                                                                HPH00460       Incorrect `from base’ (from)
                                                                Explanation: When converting a number between
HPH00458     Number ’string’ is too big to fit in long
                                                                arbitrary bases, PHP encountered an incorrect ″from
Explanation: Number is too big to fit in long                   base″.
string                                                          from
     A number string                                                number of from, should be between 2 to 36

Example: HPH00458 Number ’999999999999999’ is                   Example: HPH00460 Invalid `from base’ (%ld)
too big to fit in long.
                                                                System action: Displays the warning and continues
System action: Displays the warning and continues               interpreting the script.
interpreting the script.
                                                                Operator response: No System Operator response is
Operator response: No System Operator response is               required.
required.
                                                                User response: Provide a correct value: from 2 to 36.
User response: Reduce the size of the number so it
                                                                System programmer response: No System
is less than 2147483647.
                                                                Programmer response is required.
System programmer response: No System
                                                                Problem determination: No additional information.
Programmer response is required.
                                                                Source: PHP
Problem determination: No additional information.
                                                                Module: Not applicable.
Source: PHP
                                                                Routing code: Not applicable.
Module: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                                Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                                HPH00461       Incorrect `to base’ ()
                                                                Explanation: When converting a number between
HPH00459     Number too large
                                                                arbitrary bases, PHP encountered an incorrect ″to base″
Explanation: Number is too large.
                                                                number
Example: HPH00459 Number too large                                 The two base which should be between 2-36
System action: Displays the warning and continues               Example: HPH00461 Invalid `to base’ (44)
interpreting the script.
                                                                System action: Displays the warning and continues
Operator response: No System Operator response is               interpreting the script.
required.
                                                                Operator response: No System Operator response is
User response: Do not try to convert the number to              required.
+/- infinity.
                                                                User response: Make sure that the ’to base’ value is
System programmer response: No System                           between 2 and 36.
Programmer response is required.
                                                                System programmer response: No System
Problem determination: No additional information.               Programmer response is required.
Source: PHP                                                     Problem determination: No additional information.
Module: Not applicable.                                         Source: PHP
Routing code: Not applicable.                                   Module: Not applicable.
Descriptor code: W- A warning (PHP continues).                  Routing code: Not applicable.
Automation: Not applicable.                                     Descriptor code: W- A warning (PHP continues).
                                                                Automation: Not applicable.




108    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
HPH00462         Type char: integer overflow in format      HPH00464      Type char: not enough arguments
                 string
                                                            Explanation: Not enough arguments
Explanation: Integer overflow in format string
                                                            char
char                                                               type
       type of the string
                                                            Example: HPH00464 Type H: not enough arguments
Example: HPH00462 Type H: integer overflow in
                                                            System action: Displays the warning and continues
format string
                                                            interpreting the script.
System action: Displays the warning and continues
                                                            Operator response: No System Operator response is
interpreting the script.
                                                            required.
Operator response: No System Operator response is
                                                            User response: Ensure a sufficient number of
required.
                                                            arguments are passed.
User response: Make sure the integer is less than
                                                            System programmer response: No System
2147483647.
                                                            Programmer response is required.
System programmer response: No System
                                                            Problem determination: No additional information.
Programmer response is required.
                                                            Source: PHP
Problem determination: No additional information.
                                                            Module: Not applicable.
Source: PHP
                                                            Routing code: Not applicable.
Module: Not applicable.
                                                            Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                            Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                            HPH00465      Type char: too few arguments
                                                            Explanation: Too few arguments
HPH00463         Type char: ’*’ ignored
                                                            char
Explanation: The ’*’ character was ignored.
                                                                   type
char
                                                            Example: HPH00465 Type d: too few arguments
       type
                                                            System action: Displays the warning and continues
Example: HPH00463 Type @: ’*’ ignored
                                                            interpreting the script.
System action: Displays the warning and continues
                                                            Operator response: No System Operator response is
interpreting the script.
                                                            required.
Operator response: No System Operator response is
                                                            User response: Ensure a sufficient number of
required.
                                                            arguments are passed.
User response: Make sure that you intended to ignore
                                                            System programmer response: No System
the ’*’. Otherwise, you should correct the type passed to
                                                            Programmer response is required.
the pack() function.
                                                            Problem determination: No additional information.
System programmer response: No System
Programmer response is required.                            Source: PHP
Problem determination: No additional information.           Module: Not applicable.
Source: PHP                                                 Routing code: Not applicable.
Module: Not applicable.                                     Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.                               Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                            HPH00466      Type char: unknown format code
Automation: Not applicable.
                                                            Explanation: Unknown format code.
                                                            char
                                                                   type

                                                                                   Chapter 6. PHP messages   109
Example: HPH00466 Type z: unknown format code                      Operator response: No System Operator response is
                                                                   required.
System action: Displays the warning and continues
interpreting the script.                                           User response: Verify the parameters to the pack() or
                                                                   unpack() functions.
Operator response: No System Operator response is
required.                                                          System programmer response: No System
                                                                   Programmer response is required.
User response: Correct the type parameter passed to
the pack() function.                                               Problem determination: No additional information.
System programmer response: No System                              Source: PHP
Programmer response is required.
                                                                   Module: Not applicable.
Problem determination: No additional information.
                                                                   Routing code: Not applicable.
Source: PHP
                                                                   Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                                   Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                     HPH00469        Type char: not enough characters in
                                                                                   string
Automation: Not applicable.
                                                                   Explanation: PHP scripts need enough characters in
                                                                   string in function pack().
HPH00467        number arguments unused
                                                                   char
Explanation: Arguments unused
                                                                          type
number
                                                                   Example: HPH00469 Type H: not enough characters
   number of arguments
                                                                   in string
Example: HPH00467 2 arguments unused
                                                                   System action: Displays the warning and continues
System action: Displays the warning and continues                  interpreting the script.
interpreting the script.
                                                                   Operator response: No System Operator response is
Operator response: No System Operator response is                  required.
required.
                                                                   User response: Make sure the call to the pack()
User response: Provide the specified number of                     function contains enough characters.
arguments.
                                                                   System programmer response: No System
System programmer response: No System                              Programmer response is required.
Programmer response is required.
                                                                   Problem determination: No additional information.
Problem determination: No additional information.
                                                                   Source: PHP
Source: PHP
                                                                   Module: Not applicable.
Module: Not applicable.
                                                                   Routing code: Not applicable.
Routing code: Not applicable.
                                                                   Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).
                                                                   Automation: Not applicable.
Automation: Not applicable.
                                                                   HPH00470        Type char1: illegal hex digit char2
HPH00468        Type char: outside of string
                                                                   Explanation: PHP script encountered illegal hex digit
Explanation: PHP encountered a pointer error in                    in function pack()
pack() and unpack() functions.
                                                                   char1
char                                                                   type
       type
                                                                   char2
Example: HPH00468 Type X: outside of string                            hex digit

System action: Displays the warning and continues                  Example: HPH00470 Type H: illegal hex digit G
interpreting the script.
                                                                   System action: Displays the warning and continues
                                                                   interpreting the script.

110      z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Operator response: No System Operator response is        System action: Displays the warning and continues
required.                                                interpreting the script.
User response: Make sure all the hex digits are in the   Operator response: No System Operator response is
range of 0-9, a-f (or A-F).                              required.
System programmer response: No System                    User response: Make sure the format string and input
Programmer response is required.                         values match.
Problem determination: No additional information.        System programmer response: No System
                                                         Programmer response is required.
Source: PHP
                                                         Problem determination: No additional information.
Module: Not applicable.
                                                         Source: PHP
Routing code: Not applicable.
                                                         Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                         Routing code: Not applicable.
Automation: Not applicable.
                                                         Descriptor code: W- A warning (PHP continues).
HPH00471      Type char: integer overflow                Automation: Not applicable.
Explanation: PHP script encountered an integer
overflow error in funciton pack().                       HPH00477      Incorrect Regular Expression to split()
char                                                     Explanation: PHP script encountered incorrect
       type                                              Regular Expression to split().
Example: HPH00471 Type A: integer overflow               Example: HPH00477 Invalid Regular Expression to
                                                         split()
System action: Displays the warning and continues
interpreting the script.                                 System action: Displays the warning and continues
                                                         interpreting the script.
Operator response: No System Operator response is
required.                                                Operator response: No System Operator response is
                                                         required.
User response: Make sure the integer is less than
2147483647.                                              User response: Correct the regular expression.
System programmer response: No System                    System programmer response: No System
Programmer response is required.                         Programmer response is required.
Problem determination: No additional information.        Problem determination: No additional information.
Source: PHP                                              Source: PHP
Module: Not applicable.                                  Module: Not applicable.
Routing code: Not applicable.                            Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).           Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                              Automation: Not applicable.


HPH00475      Type char: not enough input, need          HPH00478      Invalid ’..’-range, no character to the
              number1, have number2                                    left of ’..’.
Explanation: PHP script needed enough input in           Explanation: PHP script encounterd invalid ’..’-range,
funciton unpack()                                        no character to the left of ’..’.
char                                                     Example: HPH00478 Invalid ’..’-range, no character to
       type                                              the left of ’..’.
number1                                                  System action: Displays the warning and continues
   Number of input needed                                interpreting the script.
number2                                                  Operator response: No System Operator response is
   Number of input                                       required.
Example: HPH00475 Type A: not enough input, need         User response: Put a character to the left of the ’..’
20, have 10                                              operator.

                                                                                   Chapter 6. PHP messages   111
System programmer response: No System                            Module: Not applicable.
Programmer response is required.
                                                                 Routing code: Not applicable.
Problem determination: No additional information.
                                                                 Descriptor code: W- A warning (PHP continues).
Source: PHP
                                                                 Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.                                    HPH00481      Incorrect ’..’-range.
Descriptor code: W- A warning (PHP continues).                   Explanation: PHP encounterd incorrect ’..’-range.
Automation: Not applicable.                                      Example: HPH00481 Invalid ’..’-range.
                                                                 System action: Displays the warning and continues
HPH00479      Invalid ’..’-range, no character to the            interpreting the script.
              right of ’..’.
                                                                 Operator response: No System Operator response is
Explanation: PHP script encountered invalid ’..’-range,          required.
no character to the right of ’..’.
                                                                 User response: Make sure the range operator lies
Example: HPH00479 Invalid ’..’-range, no character to            between valid characters.
the right of ’..’.
                                                                 System programmer response: No System
System action: Displays the warning and continues                Programmer response is required.
interpreting the script.
                                                                 Problem determination: No additional information.
Operator response: No System Operator response is
                                                                 Source: PHP
required.
                                                                 Module: Not applicable.
User response: Put a character at the right of the ’..’
operator.                                                        Routing code: Not applicable.
System programmer response: No System                            Descriptor code: W- A warning (PHP continues).
Programmer response is required.
                                                                 Automation: Not applicable.
Problem determination: No additional information.
Source: PHP                                                      HPH00482      Cannot force cut when width is zero.
Module: Not applicable.                                          Explanation: PHP encountered the wordwrap()
                                                                 function that wraps a string to zero-width strings.
Routing code: Not applicable.
                                                                 Example: HPH00482 Can’t force cut when width is
Descriptor code: W- A warning (PHP continues).
                                                                 zero.
Automation: Not applicable.
                                                                 System action: Displays the warning and continues
                                                                 interpreting the script.
HPH00480      Invalid ’..’-range, ’..’-range needs to be
                                                                 Operator response: No System Operator response is
              incrementing.
                                                                 required.
Explanation: PHP encountered invalid ’..’-range,
                                                                 User response: Make sure that the width parameter
’..’-range needs to be incrementing.
                                                                 passed to wordworp() is greater than zero.
Example: HPH00480 Invalid ’..’-range, ’..’-range needs
                                                                 System programmer response: No System
to be incrementing.
                                                                 Programmer response is required.
System action: Displays the warning and continues
                                                                 Problem determination: No additional information.
interpreting the script.
                                                                 Source: PHP
Operator response: No System Operator response is
required.                                                        Module: Not applicable.
User response: ’..’ -range should be incrementing,               Routing code: Not applicable.
such like ’a..d’.
                                                                 Descriptor code: W- A warning (PHP continues).
System programmer response: No System
Programmer response is required.                                 Automation: Not applicable.

Problem determination: No additional information.
Source: PHP

112    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Operator response: No System Operator response is
HPH00483     Empty delimiter.
                                                       required.
Explanation: Empty delimiter.
                                                       User response: Make sure that implode() function has
Example: HPH00483 Empty delimiter.                     at least one array type of its two parameters.
System action: Displays the warning and continues      System programmer response: No System
interpreting the script.                               Programmer response is required.
Operator response: No System Operator response is      Problem determination: No additional information.
required.
                                                       Source: PHP
User response: Make sure the string is not empty.
                                                       Module: Not applicable.
System programmer response: No System
                                                       Routing code: Not applicable.
Programmer response is required.
                                                       Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.
                                                       Automation: Not applicable.
Source: PHP
Module: Not applicable.
                                                       HPH00491      needle is not a string or an integer.
Routing code: Not applicable.
                                                       Explanation: The second parameter of stripos() is one
Descriptor code: W- A warning (PHP continues).         of string, integer, bool, long and double types.
Automation: Not applicable.                            Example: HPH00491 needle is not a string or an
                                                       integer.
HPH00484     Argument to implode must be an array.     System action: Displays the warning and continues
                                                       interpreting the script.
Explanation: In function implode, argument must be
an array.                                              Operator response: No System Operator response is
                                                       required.
Example: HPH00484 Argument to implode must be an
array.                                                 User response: Make sure the second parameter of
                                                       stripos() is one of string, integer, bool, long and double
System action: Displays the warning and continues
                                                       types.
interpreting the script.
                                                       System programmer response: No System
Operator response: No System Operator response is
                                                       Programmer response is required.
required.
                                                       Problem determination: No additional information.
User response: Make sure the argument to the
implode function is an array.                          Source: PHP
System programmer response: No System                  Module: Not applicable.
Programmer response is required.
                                                       Routing code: Not applicable.
Problem determination: No additional information.
                                                       Descriptor code: W- A warning (PHP continues).
Source: PHP
                                                       Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.                          HPH00492      Chunk length should be greater than
                                                                     zero.
Descriptor code: W- A warning (PHP continues).
                                                       Explanation: In function chunk_split(), chunk length
Automation: Not applicable.
                                                       should be greater than zero.
                                                       Example: HPH00492 Chunk length should be greater
HPH00485     Bad arguments.
                                                       than zero.
Explanation: PHP encountered implode() function that
                                                       System action: Displays the warning and continues
has two parameters and neither one is of array type.
                                                       interpreting the script.
Example: HPH00485 Bad arguments.
                                                       Operator response: No System Operator response is
System action: Displays the warning and continues      required.
interpreting the script.
                                                       User response: Make sure the chunk length as the



                                                                                 Chapter 6. PHP messages      113
second parameter passed to chunk_split() is greater              Operator response: No System Operator response is
than zero.                                                       required.
System programmer response: No System                            User response: Make sure ’from’ and ’len’ have the
Programmer response is required.                                 same number of elements.
Problem determination: No additional information.                System programmer response: No System
                                                                 Programmer response is required.
Source: PHP
                                                                 Problem determination: No additional information.
Module: Not applicable.
                                                                 Source: PHP
Routing code: Not applicable.
                                                                 Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                 Routing code: Not applicable.
Automation: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
HPH00493      ’from’ and ’len’ should be of same type            Automation: Not applicable.
              - numerical or array
Explanation: PHP encountered the function                        HPH00495      Functionality of ’from’ and ’len’ as
substr_replace() whose third parameter ’from’ and                              arrays is not implemented.
fourthe one ’len’ are not of the same type, either
                                                                 Explanation: Functionality of ’from’ and ’len’ as arrays
numerical or array.
                                                                 is not implemented.
Example: HPH00493 ’from’ and ’len’ should be of
                                                                 Example: HPH00495 Functionality of ’from’ and ’len’
same type - numerical or array
                                                                 as arrays is not implemented.
System action: Displays the warning and continues
                                                                 System action: Displays the warning and continues
interpreting the script.
                                                                 interpreting the script.
Operator response: No System Operator response is
                                                                 Operator response: No System Operator response is
required.
                                                                 required.
User response: If the substr_replace() has three
                                                                 User response: Either change the first and second
parameters,make sure the third one is of numerical
                                                                 parameters to be of array type or change the third and
type. Otherwise make sure the third one and the fourth
                                                                 fourth parameters to be numerical.
one are of the same type, either numerical or array.
                                                                 System programmer response: No System
System programmer response: No System
                                                                 Programmer response is required.
Programmer response is required.
                                                                 Problem determination: No additional information.
Problem determination: No additional information.
                                                                 Source: PHP
Source: PHP
                                                                 Module: Not applicable.
Module: Not applicable.
                                                                 Routing code: Not applicable.
Routing code: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).
                                                                 Automation: Not applicable.
Automation: Not applicable.

                                                                 HPH00496      The second argument is not an array.
HPH00494      ’from’ and ’len’ must have the same
              number of elements                                 Explanation: In function strtr(), the second argument
                                                                 is not an array.
Explanation: PHP encountered the function
substr_replace() whose third parameter ’from’ and fourth         Example: HPH00496 The second argument is not an
one ’len’ are of array type but do not have the same             array.
number of elements.
                                                                 System action: Displays the warning and continues
Example: HPH00494 ’from’ and ’len’ should have the               interpreting the script.
same number of elements
                                                                 Operator response: No System Operator response is
System action: Displays the warning and continues                required.
interpreting the script.
                                                                 User response: Called with only two arguments, the
                                                                 second argument of strtr() function is not an array.


114    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
System programmer response: No System                 Operator response: No System Operator response is
Programmer response is required.                      required.
Problem determination: No additional information.     User response: No user response necessary.
Source: PHP                                           System programmer response: No System
                                                      Programmer response is required.
Module: Not applicable.
                                                      Problem determination: No additional information.
Routing code: Not applicable.
                                                      Source: PHP
Descriptor code: W- A warning (PHP continues).
                                                      Module: Not applicable.
Automation: Not applicable.
                                                      Routing code: Not applicable.
HPH00497     Passing locale category name as string   Descriptor code: I- An internal error not caused by
             is deprecated. Use the LC_* -constants   user (a programming error in PHP).
             instead.
                                                      Automation: Not applicable.
Explanation: Passing locale category name as string
is deprecated. Use the LC_* -constants instead.
                                                      HPH00499     Second argument has to be greater
Example: HPH00497 Passing locale category name                     than or equal to 0.
as string is deprecated. Use the LC_* -constants
                                                      Explanation: Second argument has to be greater than
instead.
                                                      or equal to 0.
System action: Displays the warning and continues
                                                      Example: HPH00499 Second argument has to be
interpreting the script.
                                                      greater than or equal to 0.
Operator response: No System Operator response is
                                                      System action: Displays the warning and continues
required.
                                                      interpreting the script.
User response: Use LC_* -constants, such as
                                                      Operator response: No System Operator response is
LC_ALL LC,_COLLATE, LC_CTYPE ,LC_MESSAGES,
                                                      required.
LC_MONETARY, LC_NUMERIC ,LC_TIME
                                                      User response: Make sure the second argument is
System programmer response: No System
                                                      greater than or equal to 0.
Programmer response is required.
                                                      System programmer response: No System
Problem determination: No additional information.
                                                      Programmer response is required.
Source: PHP
                                                      Problem determination: No additional information.
Module: Not applicable.
                                                      Source: PHP
Routing code: Not applicable.
                                                      Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                      Routing code: Not applicable.
Automation: Not applicable.
                                                      Descriptor code: W- A warning (PHP continues).
                                                      Automation: Not applicable.
HPH00498     Incorrect locale category name string,
             must be one of LC_ALL, LC_COLLATE,
             LC_CTYPE, LC_MONETARY,                   HPH00500     You may not create strings longer than
             LC_NUMERIC, or LC_TIME.                               2147483647 bytes
Explanation: Incorrect locale category name           Explanation: You may not create strings longer than
                                                      2147483647 bytes.
string
     category name                                    Example: HPH00500 You may not create strings
                                                      longer than 2147483647 bytes
Example: HPH00498 Invalid locale category name
LC_FOO, must be one of LC_ALL, LC_COLLATE,            System action: Displays the warning and continues
LC_CTYPE, LC_MONETARY, LC_NUMERIC, or                 interpreting the script.
LC_TIME.
                                                      Operator response: No System Operator response is
System action: PHP immediately stops interpreting     required.
the file (before any statements are run) and exits.
                                                      User response: Make sure to create strings less than
                                                      2147483647 bytes.


                                                                                Chapter 6. PHP messages   115
System programmer response: No System                            Automation: Not applicable.
Programmer response is required.
Problem determination: No additional information.                HPH00503      Offset should be greater then or equal
                                                                               to 0.
Source: PHP
                                                                 Explanation: Offset should be greater then or equal to
Module: Not applicable.
                                                                 0 in function substr_count().
Routing code: Not applicable.
                                                                 Example: HPH00503 Offset should be greater then or
Descriptor code: W- A warning (PHP continues).                   equal to 0.
Automation: Not applicable.                                      System action: Displays the warning and continues
                                                                 interpreting the script.
HPH00501      Unknown mode.                                      Operator response: No System Operator response is
                                                                 required.
Explanation: PHP encountered unknown mode as the
second parameter passed to count_chars() function.               User response: Make sure offset is greater than or
                                                                 equal to 0.
Example: HPH00501 Unknown mode.
                                                                 System programmer response: No System
System action: Displays the warning and continues                Programmer response is required.
interpreting the script.
                                                                 Problem determination: No additional information.
Operator response: No System Operator response is
required.                                                        Source: PHP
User response: Mode should be 0,1,2,3 or 4.                      Module: Not applicable.
System programmer response: No System                            Routing code: Not applicable.
Programmer response is required.
                                                                 Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.
                                                                 Automation: Not applicable.
Source: PHP
Module: Not applicable.                                          HPH00504      Offset value integer exceeds string
                                                                               length.
Routing code: Not applicable.
                                                                 Explanation: Offset value exceeds string length in
Descriptor code: W- A warning (PHP continues).                   function substr_count().
Automation: Not applicable.                                      integer
                                                                      Offset value
HPH00502      Empty substring.                                   Example: HPH00504 Offset value 100 exceeds string
Explanation: PHP encountered empty string as the                 length.
second parameter passed to substr_count() function.              System action: Displays the warning and continues
Example: HPH00502 Empty substring.                               interpreting the script.

System action: Displays the warning and continues                Operator response: No System Operator response is
interpreting the script.                                         required.

Operator response: No System Operator response is                User response: Make sure the offset is less than the
required.                                                        string length.

User response: Make sure you are searching for a                 System programmer response: No System
non-empty string.                                                Programmer response is required.

System programmer response: No System                            Problem determination: No additional information.
Programmer response is required.                                 Source: PHP
Problem determination: No additional information.                Module: Not applicable.
Source: PHP                                                      Routing code: Not applicable.
Module: Not applicable.                                          Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.                                    Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).

116    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
HPH00505      Length should be greater than 0.        HPH00507      Padding string cannot be empty.
Explanation: Length should be greater than 0 in       Explanation: When called with more than 2
function substr_count().                              arguments, the function str_pad() pads a string with an
                                                      empty string as its third argument.
Example: HPH00505 Length should be greater than 0.
                                                      Example: HPH00507 Padding string cannot be empty.
System action: Displays the warning and continues
interpreting the script.                              System action: Displays the warning and continues
                                                      interpreting the script.
Operator response: No System Operator response is
required.                                             Operator response: No System Operator response is
                                                      required.
User response: Make sure the length is greater than
0.                                                    User response: Make sure the padding string is not
                                                      empty.
System programmer response: No System
Programmer response is required.                      System programmer response: No System
                                                      Programmer response is required.
Problem determination: No additional information.
                                                      Problem determination: No additional information.
Source: PHP
                                                      Source: PHP
Module: Not applicable.
                                                      Module: Not applicable.
Routing code: Not applicable.
                                                      Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                      Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                      Automation: Not applicable.
HPH00506      Length value integer exceeds string
              length.                                 HPH00508      Padding type has to be
                                                                    STR_PAD_LEFT, STR_PAD_RIGHT, or
Explanation: Length value exceeds string length in
                                                                    STR_PAD_BOTH.
function substr_count().
                                                      Explanation: Padding type has to be
integer
                                                      STR_PAD_LEFT, STR_PAD_RIGHT, or
     length value
                                                      STR_PAD_BOTH in function str_pad().
Example: HPH00506 Length value 200 exceeds string
                                                      Example: HPH00508 Padding type has to be
length.
                                                      STR_PAD_LEFT, STR_PAD_RIGHT, or
System action: Displays the warning and continues     STR_PAD_BOTH.
interpreting the script.
                                                      System action: Displays the warning and continues
Operator response: No System Operator response is     interpreting the script.
required.
                                                      Operator response: No System Operator response is
User response: Make sure the offset plus the length   required.
is less than the string length.
                                                      User response: Change the padding type to
System programmer response: No System                 STR_PAD_LEFT, STR_PAD_RIGHT, or
Programmer response is required.                      STR_PAD_BOTH.
Problem determination: No additional information.     System programmer response: No System
                                                      Programmer response is required.
Source: PHP
                                                      Problem determination: No additional information.
Module: Not applicable.
                                                      Source: PHP
Routing code: Not applicable.
                                                      Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                      Routing code: Not applicable.
Automation: Not applicable.
                                                      Descriptor code: W- A warning (PHP continues).
                                                      Automation: Not applicable.




                                                                                Chapter 6. PHP messages   117
HPH00509      The length of each segment must be                 HPH00511      The start position cannot exceed initial
              greater than zero.                                               string length.
Explanation: PHP encountered str_split() function                Explanation: PHP encountered substr_compare()
called with less-than-zero or zero length as its second          function called with offset (the third argument)
argument.                                                        exceeding initial string length.
Example: HPH00509 The length of each segment                     Example: HPH00511 The start position cannot exceed
must be greater than zero.                                       initial string length.
System action: Displays the warning and continues                System action: Displays the warning and continues
interpreting the script.                                         interpreting the script.
Operator response: No System Operator response is                Operator response: No System Operator response is
required.                                                        required.
User response: Make sure the length of each                      User response: Make sure the start position does not
segment is greater than zero.                                    exceed the initial string length.
System programmer response: No System                            System programmer response: No System
Programmer response is required.                                 Programmer response is required.
Problem determination: No additional information.                Problem determination: No additional information.
Source: PHP                                                      Source: PHP
Module: Not applicable.                                          Module: Not applicable.
Routing code: Not applicable.                                    Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                   Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                                      Automation: Not applicable.


HPH00510      The character list cannot be empty.                HPH00512      Cannot mix ″%″ and ″%n$″
                                                                               conversion specifiers
Explanation: PHP encountered strpbrk() function
called with empty character list as its second argument.         Explanation: When reading from a string and
                                                                 interpreted it according to the specified format, ″scan″
Example: HPH00510 The character list cannot be
                                                                 function encountered the mixture of XPG3 specs and
empty.
                                                                 non-XPG3 specs in the same format string.
System action: Displays the warning and continues
                                                                 Example: HPH00512 cannot mix ″%″ and ″%n$″
interpreting the script.
                                                                 conversion specifiers
Operator response: No System Operator response is
                                                                 System action: Displays the warning and continues
required.
                                                                 interpreting the script.
User response: Make sure the character list is not
                                                                 Operator response: No System Operator response is
empty.
                                                                 required.
System programmer response: No System
                                                                 User response: Make sure not to mix the conversion
Programmer response is required.
                                                                 specifiers ″%″ and ″%n$″.
Problem determination: No additional information.
                                                                 System programmer response: No System
Source: PHP                                                      Programmer response is required.
Module: Not applicable.                                          Problem determination: No additional information.
Routing code: Not applicable.                                    Source: PHP
Descriptor code: W- A warning (PHP continues).                   Module: Not applicable.
Automation: Not applicable.                                      Routing code: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
                                                                 Automation: Not applicable.




118    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
char
HPH00513     Field width may not be specified in %c
                                                                conversion character
             conversion
                                                         Example: HPH00515 Bad scan conversion character
Explanation: Field width may not be specified in %c
                                                         ″a″
conversion. --REMOVE
                                                         System action: Displays the warning and continues
Example: HPH00513 Field width may not be specified
                                                         interpreting the script.
in %c conversion
                                                         Operator response: No System Operator response is
System action: Displays the warning and continues
                                                         required.
interpreting the script.
                                                         User response: Correct the conversion character.
Operator response: No System Operator response is
required.                                                System programmer response: No System
                                                         Programmer response is required.
User response: No user response required.
--REMOVE                                                 Problem determination: No additional information.
System programmer response: No System                    Source: PHP
Programmer response is required.
                                                         Module: Not applicable.
Problem determination: No additional information.
                                                         Routing code: Not applicable.
Source: PHP
                                                         Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                         Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: I- An internal error not caused by      HPH00516        Variable is assigned by multiple
user (a programming error in PHP).                                       ″%n$″ conversion specifiers
Automation: Not applicable.                              Explanation: Variable is assigned by multiple ″%n$″
                                                         conversion specifiers.
HPH00514     Unmatched [ in format string                Example: HPH00516 Variable is assigned by multiple
                                                         ″%n$″ conversion specifiers
Explanation: PHP encountered an error of unmatched
[ in format string.                                      System action: Displays the warning and continues
                                                         interpreting the script.
Example: HPH00514 Unmatched [ in format string
                                                         Operator response: No System Operator response is
System action: Displays the warning and continues
                                                         required.
interpreting the script.
                                                         User response: Verify that all variables were assigned
Operator response: No System Operator response is
                                                         only once.
required.
                                                         System programmer response: No System
User response: Check to make sure all brackets (’[ ]’)
                                                         Programmer response is required.
in the string are matched.
                                                         Problem determination: No additional information.
System programmer response: No System
Programmer response is required.                         Source: PHP
Problem determination: No additional information.        Module: Not applicable.
Source: PHP                                              Routing code: Not applicable.
Module: Not applicable.                                  Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.                            Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                         HPH00517        Variable is not assigned by any
Automation: Not applicable.
                                                                         conversion specifiers
                                                         Explanation: Variable is not assigned by any
HPH00515     Bad scan conversion character ″char″
                                                         conversion specifiers.
Explanation: PHP script encountered bad scan
                                                         Example: HPH00517 Variable is not assigned by any
conversion character
                                                         conversion specifiers



                                                                                       Chapter 6. PHP messages   119
System action: Displays the warning and continues              System programmer response: No System
interpreting the script.                                       Programmer response is required.
Operator response: No System Operator response is              Problem determination: No additional information.
required.
                                                               Source: PHP
User response: Make sure the variable is assigned by
                                                               Module: Not applicable.
a conversion specifier.
                                                               Routing code: Not applicable.
System programmer response: No System
Programmer response is required.                               Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.              Automation: Not applicable.
Source: PHP
                                                               HPH00520       Parameter number must be passed by
Module: Not applicable.
                                                                              reference
Routing code: Not applicable.
                                                               Explanation: Parameter must be passed by reference.
Descriptor code: W- A warning (PHP continues).
                                                               number
Automation: Not applicable.                                       The number of parameter
                                                               Example: HPH00520 Parameter 3 must be passed by
HPH00518     ″%n$″ argument index out of range               reference
Explanation: Argument index out of range.                      System action: Displays the warning and continues
                                                               interpreting the script.
Example: HPH00518 ″%n$″ argument index out of
range                                                          Operator response: No System Operator response is
                                                               required.
System action: Displays the warning and continues
interpreting the script.                                       User response: If any variables are passed, make
                                                               sure they are all passed by reference.
Operator response: No System Operator response is
required.                                                      System programmer response: No System
                                                               Programmer response is required.
User response: Make sure the argument index of
fscanf() or sscanf() is correct.                               Problem determination: No additional information.
System programmer response: No System                          Source: PHP
Programmer response is required.
                                                               Module: Not applicable.
Problem determination: No additional information.
                                                               Routing code: Not applicable.
Source: PHP
                                                               Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                               Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                 HPH00521       Cannot convert to resource type
Automation: Not applicable.                                    Explanation: PHP script can not convert to resource
                                                               type.
HPH00519     Different numbers of variable names               Example: HPH00521 Cannot convert to resource type
             and field specifiers
                                                               System action: Displays the warning and continues
Explanation: Different numbers of variable names and           interpreting the script.
field specifiers.
                                                               Operator response: No System Operator response is
Example: HPH00519 Different numbers of variable                required.
names and field specifiers
                                                               User response: Set the second parameter of settype()
System action: Displays the warning and continues              to a valid type:integer(int),float,string,
interpreting the script.                                       array,object,boolean(bool),null.
Operator response: No System Operator response is              System programmer response: No System
required.                                                      Programmer response is required.
User response: Make sure the number of variable                Problem determination: No additional information.
names and field specifiers match.

120   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Source: PHP
                                                             HPH00525        Unable to parse url
Module: Not applicable.
                                                             Explanation: PHP encountered a malformed url
Routing code: Not applicable.                                expression and was unable to parse it.
Descriptor code: W- A warning (PHP continues).               Example: HPH00525 Unable to parse url
Automation: Not applicable.                                  System action: Displays the warning and continues
                                                             interpreting the script.
HPH00522       Invalid type                                  Operator response: No System Operator response is
                                                             required.
Explanation: PHP script encountered incorrect type in
function settype().                                          User response: Ensure that the url is formatted
                                                             correctly before attempting to parse it.
Example: HPH00522 Invalid type
                                                             System programmer response: No System
System action: Displays the warning and continues            Programmer response is required.
interpreting the script.
                                                             Problem determination: No additional information.
Operator response: No System Operator response is
required.                                                    Source: PHP
User response: Make sure the second parameter of             Module: Not applicable.
settype() is a valid type:nteger(int),float,double,string,
                                                             Routing code: Not applicable.
array,object,boolean(bool),resource,null.
                                                             Descriptor code: W- A warning (PHP continues).
System programmer response: No System
Programmer response is required.                             Automation: Not applicable.
Problem determination: No additional information.
                                                             HPH00526        Invalid url component identifier long.
Source: PHP
                                                             Explanation: Incorrect url component identifier
Module: Not applicable.
                                                             long
Routing code: Not applicable.
                                                                    a key for parse_url
Descriptor code: W- A warning (PHP continues).
                                                             Example: HPH00526 Invalid url component identifier 9
Automation: Not applicable.
                                                             System action: Displays the warning and continues
                                                             interpreting the script.
HPH00523       Only one argument expected
                                                             Operator response: No System Operator response is
Explanation: PHP encountered ″is_type″ function that         required.
is called without any arguments.
                                                             User response: Ensure the second parameter of the
Example: HPH00523 Only one argument expected                 parse_url() function should be between 0 and 7.

System action: Displays the warning and continues            System programmer response: No System
interpreting the script.                                     Programmer response is required.

Operator response: No System Operator response is            Problem determination: No additional information.
required.
                                                             Source: PHP
User response: Make sure to call ″is_type″ function
                                                             Module: Not applicable.
with only one argument.
                                                             Routing code: Not applicable.
System programmer response: No System
Programmer response is required.                             Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.            Automation: Not applicable.
Source: PHP
                                                             HPH00527        __sleep() should return an array
Module: Not applicable.
                                                                             containing only the names of
Routing code: Not applicable.                                                instance-variables to serialize.

Descriptor code: W- A warning (PHP continues).               Explanation: __sleep() should return an array
                                                             containing only the names of instance-variables to
Automation: Not applicable.                                  serialize.


                                                                                          Chapter 6. PHP messages   121
Example: HPH00527 __sleep() should return an array              long
only containing the names of instance-variables to                     Error at offset
serialize.
                                                                int total bytes
System action: Displays the warning and continues
                                                                Example: Notice: unserialize(): Error at offset 19 of 59
interpreting the script.
                                                                bytes
Operator response: No System Operator response is
                                                                System action: Displays the warning and continues
required.
                                                                interpreting the script.
User response: The array __sleep() returns must only
                                                                Operator response: No System Operator response is
contain the names of instance-variables.
                                                                required.
System programmer response: No System
                                                                User response: Make sure that the parameter passed
Programmer response is required.
                                                                to unserialize() is a valid string that was created using
Problem determination: No additional information.               the serialize() function.
Source: PHP                                                     System programmer response: No System
                                                                Programmer response is required.
Module: Not applicable.
                                                                Problem determination: No additional information.
Routing code: Not applicable.
                                                                Source: PHP
Descriptor code: W- A warning (PHP continues).
                                                                Module: Not applicable.
Automation: Not applicable.
                                                                Routing code: Not applicable.
HPH00528     ″string″ returned as member variable             Descriptor code: W- A warning (PHP continues).
             from __sleep() but does not exist
                                                                Automation: Not applicable.
Explanation: A non-existant string is returned as a
member variable from __sleep()
                                                                HPH00531         Argument is not a string
string
                                                                Explanation: This error occurs when the unserialize()
     the return name
                                                                function is called with a parameter that is not a string.
Example: HPH00528 ″″ returned as member variable
                                                                Example: HPH00531 Argument is not a string
from __sleep() but does not exist
                                                                System action: Displays the warning and continues
System action: Displays the warning and continues
                                                                interpreting the script.
interpreting the script.
                                                                Operator response: No System Operator response is
Operator response: No System Operator response is
                                                                required.
required.
                                                                User response: Correct the call to the unserialize()
User response: Make sure the name of the string
                                                                function, and make sure that the parameter being
exists.
                                                                passed is a string.
System programmer response: No System
                                                                System programmer response: No System
Programmer response is required.
                                                                Programmer response is required.
Problem determination: No additional information.
                                                                Problem determination: No additional information.
Source: PHP
                                                                Source: PHP
Module: Not applicable.
                                                                Module: Not applicable.
Routing code: Not applicable.
                                                                Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Descriptor code: N- An informational notice. Could be
Automation: Not applicable.                                     an error or could be normal behavior.
                                                                Automation: Not applicable.
HPH00530     Error at offset long of int bytes
Explanation: PHP encountered a problem while trying
to unserialize a byte stream. An incorrect string or
incorrect function parameter can cause this error.



122    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
HPH00532      Failure evaluating code: string1 string2   HPH00534         Assertion failed
Explanation: PHP encoutered that codes couldnot be       Explanation: The condition passed to the assert
evaluated                                                function evaluated to FALSE.
string1                                                  Example: HPH00534 Assertion failed
     the newline symbol
                                                         System action: Displays the warning and continues
string2                                                  interpreting the script.
     the content in the assert()
                                                         Operator response: No System Operator response is
Example: HPH00532 Failure evaluating code:               required.
assertion code
                                                         User response: Investigate why the assertion failed.
System action: PHP immediately stops interpreting        Alternatively, remove the call to assert().
the file (before any statements are run) and exits.
                                                         System programmer response: No System
Operator response: No System Operator response is        Programmer response is required.
required.
                                                         Problem determination: No additional information.
User response: Make sure the string should not
                                                         Source: PHP
include space,tab, and so on.
                                                         Module: Not applicable.
System programmer response: No System
Programmer response is required.                         Routing code: Not applicable.
Problem determination: No additional information.        Descriptor code: W- A warning (PHP continues).
Source: PHP                                              Automation: Not applicable.
Module: Not applicable.
                                                         HPH00535         Unknown value ’long’
Routing code: Not applicable.
                                                         Explanation: The first parameter passed to the
Descriptor code: F- A fatal error (PHP exits
                                                         assert_options() function contained an unknown value.
immediately).
                                                         long
Automation: Not applicable.
                                                                the first parameter for assert_options()
                                                         Example: HPH00535 Unknown value ’9’
HPH00533      Assertion ″string″ failed
                                                         System action: Displays the warning and continues
Explanation: PHP encoutered assertion failed
                                                         interpreting the script.
string
                                                         Operator response: No System Operator response is
     an assertion name
                                                         required.
Example: HPH00533 Assertion ″a>3″ failed
                                                         User response: The value must be one of the
System action: Displays the warning and continues        following: ASSERT_ACTIVE, ASSERT_CALLBACK,
interpreting the script.                                 ASSERT_BAIL, ASSERT_WARNING, or
                                                         ASSERT_QUIET_EVAL. See PHP.net for more
Operator response: No System Operator response is
                                                         information.
required.
                                                         System programmer response: No System
User response: Make sure to provide a suitable
                                                         Programmer response is required.
name.
                                                         Problem determination: No additional information.
System programmer response: No System
Programmer response is required.                         Source: PHP
Problem determination: No additional information.        Module: Not applicable.
Source: PHP                                              Routing code: Not applicable.
Module: Not applicable.                                  Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.                            Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.



                                                                                     Chapter 6. PHP messages   123
System action: Displays the warning and continues
HPH00536     The general Levenshtein support is not
                                                                interpreting the script.
             there yet
                                                                Operator response: No System Operator response is
Explanation: The general Levenshtein support is not
                                                                required.
there yet.
                                                                User response: Make sure the given address is
Example: HPH00536 The general Levenshtein support
                                                                available.
is not there yet
                                                                System programmer response: No System
System action: Displays the warning and continues
                                                                Programmer response is required.
interpreting the script.
                                                                Problem determination: No additional information.
Operator response: No System Operator response is
required.                                                       Source: PHP
User response: Not applicable                                   Module: Not applicable.
System programmer response: No System                           Routing code: Not applicable.
Programmer response is required.
                                                                Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.
                                                                Automation: Not applicable.
Source: PHP
Module: Not applicable.                                         HPH00539       Invalid path provided in string
Routing code: Not applicable.                                   Explanation: PHP encountered an incorrect path
Descriptor code: W- A warning (PHP continues).                  string
                                                                     a path name
Automation: Not applicable.
                                                                Example: HPH00539 Invalid path provided in /ttmp
HPH00537     Argument string(s) too long                        System action: Displays the warning and continues
                                                                interpreting the script.
Explanation: Argument string(s) too long.
                                                                Operator response: No System Operator response is
Example: HPH00537 Argument string(s) too long
                                                                required.
System action: Displays the warning and continues
                                                                User response: Make sure the path must be
interpreting the script.
                                                                available.
Operator response: No System Operator response is
                                                                System programmer response: No System
required.
                                                                Programmer response is required.
User response: The length of the first and second
                                                                Problem determination: No additional information.
parameters cannot be greater than 255.
                                                                Source: PHP
System programmer response: No System
Programmer response is required.                                Module: Not applicable.
Problem determination: No additional information.               Routing code: Not applicable.
Source: PHP                                                     Descriptor code: W- A warning (PHP continues).
Module: Not applicable.                                         Automation: Not applicable.
Routing code: Not applicable.
                                                                HPH00540       Error deleting file: string
Descriptor code: W- A warning (PHP continues).
                                                                Explanation: Error deleting file:
Automation: Not applicable.
                                                                string
                                                                     a file name
HPH00538     Unable to connect to string
                                                                Example: HPH00540 Error deleting file: 550 Could not
Explanation: Unable to connect to
                                                                delete /msg1/t.1
string
                                                                System action: Displays the warning and continues
     a remote address
                                                                interpreting the script.
Example: HPH00538 Unable to connect to
                                                                Operator response: No System Operator response is
ftp://9.186.13.96/a.html
                                                                required.

124    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
User response: Make sure the file exists.             Routing code: Not applicable.
System programmer response: No System                 Descriptor code: W- A warning (PHP continues).
Programmer response is required.
                                                      Automation: Not applicable.
Problem determination: No additional information.
Source: PHP                                           HPH00551     Cannot construct User-agent header
Module: Not applicable.                               Explanation: Cannot construct User-agent header.
Routing code: Not applicable.                         Example: HPH00551 Cannot construct User-agent
                                                      header
Descriptor code: W- A warning (PHP continues).
                                                      System action: Displays the warning and continues
Automation: Not applicable.
                                                      interpreting the script.
                                                      Operator response: No System Operator response is
HPH00542      Error renaming file: string
                                                      required.
Explanation: An error occurred while renaming file:
                                                      User response: Make sure user_agent is not blank.
string
                                                      System programmer response: No System
     a file name
                                                      Programmer response is required.
Example: HPH00542 Error Renaming file: Could not
                                                      Problem determination: No additional information.
rename /msg1/t.1
                                                      Source: PHP
System action: Displays the warning and continues
interpreting the script.                              Module: Not applicable.
Operator response: No System Operator response is     Routing code: Not applicable.
required.
                                                      Descriptor code: W- A warning (PHP continues).
User response: Make sure the filename is available.
                                                      Automation: Not applicable.
System programmer response: No System
Programmer response is required.
                                                      HPH00552     Content-type not specified, assuming
Problem determination: No additional information.                  application/x-www-form-urlencoded
Source: PHP                                           Explanation: PHP encountered the content-type was
                                                      not specified.
Module: Not applicable.
                                                      Example: HPH00552 Content-type not specified
Routing code: Not applicable.
                                                      assuming application/x-www-form-urlencoded
Descriptor code: W- A warning (PHP continues).
                                                      System action: Displays the warning and continues
Automation: Not applicable.                           interpreting the script.
                                                      Operator response: No System Operator response is
HPH00550      Redirection limit reached, aborting.    required.
Explanation: PHP encountered the redirection limit.   User response: Ensure the content type has been
                                                      specified.
Example: HPH00550 Redirection limit reached,
aborting.                                             System programmer response: No System
                                                      Programmer response is required.
System action: Displays the warning and continues
interpreting the script.                              Problem determination: No additional information.
Operator response: No System Operator response is     Source: PHP
required.
                                                      Module: Not applicable.
User response: Redirection cannot be less than 1.
                                                      Routing code: Not applicable.
System programmer response: No System
                                                      Descriptor code: N- An informational notice. Could be
Programmer response is required.
                                                      an error or could be normal behavior.
Problem determination: No additional information.
                                                      Automation: Not applicable.
Source: PHP
Module: Not applicable.

                                                                             Chapter 6. PHP messages   125
HPH00553      Unable to create filter (string)                  HPH00555       No URL resource specified.
Explanation: PHP encountered an unknown string                  Explanation: PHP encountered the URL resource was
and was unable to use it as a filter                            not specified.
string                                                          Example: HPH00555 No URL resource specified.
     a filter name
                                                                System action: PHP immediately stops interpreting
Example: HPH00553 Unable to create filter                       the file (before any statements are run) and exits.
(onvert.base64-decode)
                                                                Operator response: No System Operator response is
System action: Displays the warning and continues               required.
interpreting the script.
                                                                User response: Make sure the given string includes
Operator response: No System Operator response is               ’/resource=’.
required.
                                                                System programmer response: No System
User response: Make sure the name of the filter is              Programmer response is required.
correct.
                                                                Problem determination: No additional information.
System programmer response: No System
                                                                Source: PHP
Programmer response is required.
                                                                Module: Not applicable.
Problem determination: No additional information.
                                                                Routing code: Not applicable.
Source: PHP
                                                                Descriptor code: F- A fatal error (PHP exits
Module: Not applicable.
                                                                immediately).
Routing code: Not applicable.
                                                                Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                                     HPH00556       Unexpected end of serialized data
                                                                Explanation: PHP encountered the unexpected end of
HPH00554      Max memory must be >= 0                           serialized data
Explanation: PHP encountered the max memory was                 Example: HPH00556 Unexpected end of serialized
less than 0.                                                    data
Example: HPH00554 Max memory must be >= 0                       System action: Displays the warning and continues
                                                                interpreting the script.
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.             Operator response: No System Operator response is
                                                                required.
Operator response: No System Operator response is
required.                                                       User response: Make sure whether the data is legal
                                                                for unserialize or not.
User response: Check whether the given value of the
parameter of ’/maxmemory=’ is >= 0.                             System programmer response: No System
                                                                Programmer response is required.
System programmer response: No System
Programmer response is required.                                Problem determination: No additional information.
Problem determination: No additional information.               Source: PHP
Source: PHP                                                     Module: Not applicable.
Module: Not applicable.                                         Routing code: Not applicable.
Routing code: Not applicable.                                   Descriptor code: N- An informational notice. Could be
                                                                an error or could be normal behavior.
Descriptor code: F- A fatal error (PHP exits
immediately).                                                   Automation: Not applicable.
Automation: Not applicable.
                                                                HPH00557       defined (string) but not found
                                                                Explanation: PHP encountered a defined function, but
                                                                it was not found.



126    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
string                                                 Example: HPH00559 Class aaa has no unserializer
     a function name
                                                       System action: Displays the warning and continues
Example: HPH00557 defined (tde) but not found          interpreting the script.
System action: Displays the warning and continues      Operator response: No System Operator response is
interpreting the script.                               required.
Operator response: No System Operator response is      User response: Ensure the source data is a serializer
required.                                              for class.
User response: Ensure the function has been            System programmer response: No System
defined.                                               Programmer response is required.
System programmer response: No System                  Problem determination: No additional information.
Programmer response is required.
                                                       Source: PHP
Problem determination: No additional information.
                                                       Module: Not applicable.
Source: PHP
                                                       Routing code: Not applicable.
Module: Not applicable.
                                                       Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                       Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                            HPH00560        Insufficient data for unserializing - long
                                                                       required, integer present
HPH00558     Function string() hasn’t defined the      Explanation: Insufficient data for unserializing - long
             class it was called for                   required, integer present
Explanation: PHP encountered a class had not been      long
defined in a function                                         expected length
string                                                 integer
     a function name                                        present length
Example: HPH00558 Function tstfnc() hasn’t defined     Example: HPH00560 Insufficient data for unserializing
the class it was called for                            - 4 required, 3 present
System action: Displays the warning and continues      System action: Displays the warning and continues
interpreting the script.                               interpreting the script.
Operator response: No System Operator response is      Operator response: No System Operator response is
required.                                              required.
User response: Check whether the class which was       User response: Make sure the data has not be
called for has been defined in that function.          modified.
System programmer response: No System                  System programmer response: No System
Programmer response is required.                       Programmer response is required.
Problem determination: No additional information.      Problem determination: No additional information.
Source: PHP                                            Source: PHP
Module: Not applicable.                                Module: Not applicable.
Routing code: Not applicable.                          Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).         Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                            Automation: Not applicable.


HPH00559     Class string has no unserializer          HPH00561        Pathname is invalid
Explanation: PHP encountered a class string that had   Explanation: PHP encountered an invalid path name
no unserializer
                                                       Example: HPH00561 Pathname is invalid
string
     a class name

                                                                                  Chapter 6. PHP messages    127
System action: Displays the warning and continues               User response: User needs to modify the PHP script
interpreting the script.                                        according to the error message hints or consult with
                                                                PHP manual at phpnet..
Operator response: No System Operator response is
required.                                                       System programmer response: No System
                                                                Programmer response is required.
User response: Check whether the pathname ,the
first parameter of the ftok(), is valid or not                  Problem determination: No additional information.
System programmer response: No System                           Source: PHP
Programmer response is required.
                                                                Module: Not applicable.
Problem determination: No additional information.
                                                                Routing code: Not applicable.
Source: PHP
                                                                Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                                Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                  HPH00564       filter property vanished
Automation: Not applicable.                                     Explanation: PHP encountered an error that a filter
                                                                property vanished
HPH00562      Project identifier is invalid                     Example: HPH00564 filter property vanished
Explanation: PHP encountered an invalid project                 System action: Displays the warning and continues
identifier.                                                     interpreting the script.
Example: HPH00562 Project identifier is invalid                 Operator response: No System Operator response is
                                                                required.
System action: Displays the warning and continues
interpreting the script.                                        User response: Make sure the filter has some
                                                                properties.
Operator response: No System Operator response is
required.                                                       System programmer response: No System
                                                                Programmer response is required.
User response: Check whether the length of the
project identifier equals 1 or not.                             Problem determination: No additional information.
System programmer response: No System                           Source: PHP
Programmer response is required.
                                                                Module: Not applicable.
Problem determination: No additional information.
                                                                Routing code: Not applicable.
Source: PHP
                                                                Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                                Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                  HPH00565       failed to call filter function
Automation: Not applicable.                                     Explanation: failed to call filter function
                                                                Example: HPH00565 failed to call filter function
HPH00563      ftok() failed - string
                                                                System action: Displays the warning and continues
Explanation: PHP encountered the function ftok() that           interpreting the script.
failed
                                                                Operator response: No System Operator response is
string                                                          required.
     error information
                                                                User response: Make sure the filter function is
Example: HPH00563 ftok() failed - EDC5129I No such              available.
file or directory.
                                                                System programmer response: No System
System action: Displays the warning and continues               Programmer response is required.
interpreting the script.
                                                                Problem determination: No additional information.
Operator response: No System Operator response is
                                                                Source: PHP
required.
                                                                Module: Not applicable.

128    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Routing code: Not applicable.
                                                      HPH00568      stream filter (string): invalid byte
Descriptor code: W- A warning (PHP continues).                      sequence
Automation: Not applicable.                           Explanation: PHP stream filter encountered invalid
                                                      byte sequence and the filter cannot continue to run
HPH00566     Object has no bucket property            string
                                                           a filter name
Explanation: Object has no bucket property
                                                      Example: HPH00568 stream filter
Example: HPH00566 Object has no bucket property       (convert.base64-decode): invalid byte sequence
System action: Displays the warning and continues     System action: Displays the warning and continues
interpreting the script.                              interpreting the script.
Operator response: No System Operator response is     Operator response: No System Operator response is
required.                                             required.
User response: The object, the second parameter for   User response: Ensure the stream has valid byte
stream_bucket_prepend(), must have the bucket         sequence.
property.
                                                      System programmer response: No System
System programmer response: No System                 Programmer response is required.
Programmer response is required.
                                                      Problem determination: No additional information.
Problem determination: No additional information.
                                                      Source: PHP
Source: PHP
                                                      Module: Not applicable.
Module: Not applicable.
                                                      Routing code: Not applicable.
Routing code: Not applicable.
                                                      Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).
                                                      Automation: Not applicable.
Automation: Not applicable.

                                                      HPH00569      stream filter (string): insufficient buffer
HPH00567     The given parameter is not a valid
             uuencoded string.                        Explanation: PHP stream filter encountered
                                                      insufficient buffer
Explanation: The given parameter is not a valid
uuencoded string.                                     string
                                                           a filter name
Example: HPH00567 The given parameter is not a
valid uuencoded string.                               Example: HPH00569 stream filter
                                                      (convert.base64-decode): insufficient buffer
System action: Displays the warning and continues
interpreting the script.                              System action: Displays the warning and continues
                                                      interpreting the script.
Operator response: No System Operator response is
required.                                             Operator response: No System Operator response is
                                                      required.
User response: Make sure the given parameter is a
valid string.                                         User response: Ensure PHP stream is not too big or
                                                      the buffer is big enough.
System programmer response: No System
Programmer response is required.                      System programmer response: No System
                                                      Programmer response is required.
Problem determination: No additional information.
                                                      Problem determination: No additional information.
Source: PHP
                                                      Source: PHP
Module: Not applicable.
                                                      Module: Not applicable.
Routing code: Not applicable.
                                                      Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                      Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                      Automation: Not applicable.



                                                                               Chapter 6. PHP messages     129
HPH00570      stream filter (string): unexpected end of         HPH00574       stream filter (string): unexpected octet
              stream                                                           values
Explanation: PHP stream filter encountered an                   Explanation: PHP stream filter encountered
unexpected end                                                  unexpected octet values
string                                                          string
     a filter name                                                   a filter name
Example: HPH00570 stream filter                                 Example: HPH00574 stream filter
(convert.base64-decode): unexpected end of stream               (convert.base64-decode): unexpected octet values
System action: Displays the warning and continues               System action: Displays the warning and continues
interpreting the script.                                        interpreting the script.
Operator response: No System Operator response is               Operator response: No System Operator response is
required.                                                       required.
User response: Ensure the stream has a correct end.             User response: Ensure the stream does not have the
                                                                unexpected octet values.
System programmer response: No System
Programmer response is required.                                System programmer response: No System
                                                                Programmer response is required.
Problem determination: No additional information.
                                                                Problem determination: No additional information.
Source: PHP
                                                                Source: PHP
Module: Not applicable.
                                                                Module: Not applicable.
Routing code: Not applicable.
                                                                Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                                Automation: Not applicable.
HPH00571      stream filter (string): unknown error
                                                                HPH00576       stream filter (string): invalid filter
Explanation: PHP stream filter encountered an
                                                                               parameter
unknown error
                                                                Explanation: PHP stream filter encountered invalid
string
                                                                filter parameter
     a filter name
                                                                string
Example: HPH00571 stream filter
                                                                     a filter name
(convert.base64-decode): unknown error
                                                                Example: HPH00576 stream filter
System action: Displays the warning and continues
                                                                (convert.base64-decode): invalid filter parameter
interpreting the script.
                                                                System action: Displays the warning and continues
Operator response: No System Operator response is
                                                                interpreting the script.
required.
                                                                Operator response: No System Operator response is
User response: Make sure PHP stream filter was
                                                                required.
invoked correctly.
                                                                User response: Ensure that either the parameter of
System programmer response: No System
                                                                PHP stream doesn’t exist, or it must be an array
Programmer response is required.
                                                                System programmer response: No System
Problem determination: No additional information.
                                                                Programmer response is required.
Source: PHP
                                                                Problem determination: No additional information.
Module: Not applicable.
                                                                Source: PHP
Routing code: Not applicable.
                                                                Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Routing code: Not applicable.
Automation: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
                                                                Automation: Not applicable.


130    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
long
HPH00578      descriptor spec must be an integer
                                                                 the descriptor
              indexed array
                                                          string
Explanation: The second parameter of the function of
                                                               the error information
proc_open() must be an integer indexed array if you use
the number as the key of the array.                       Example: HPH00580 unable to dup File-Handle for
                                                          descriptor 302 - unknown error.
Example: HPH00578 descriptor spec must be an
integer indexed array                                     System action: Displays the warning and continues
                                                          interpreting the script.
System action: Displays the warning and continues
interpreting the script.                                  Operator response: No System Operator response is
                                                          required.
Operator response: No System Operator response is
required.                                                 User response: Check your File-Handle for descriptor
User response: If the key of an indexed array             System programmer response: No System
represents number, we can use 0,1 and 2 . And 0 is        Programmer response is required.
stdin, 1 is stdout, while 2 is stderr. And you can find
more information from the PHP manual.                     Problem determination: No additional information.

System programmer response: No System                     Source: PHP
Programmer response is required.                          Module: Not applicable.
Problem determination: No additional information.         Routing code: Not applicable.
Source: PHP                                               Descriptor code: W- A warning (PHP continues).
Module: Not applicable.                                   Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).            HPH00581        Descriptor item must be either an array
                                                                          or a File-Handle
Automation: Not applicable.
                                                          Explanation: Descriptor item must be either an array
                                                          or a File-Handle
HPH00579      -Removed
                                                          Example: HPH00581 Descriptor item must be either
Explanation: -Removed                                     an array or a File-Handle
Example: -Removed                                         System action: Displays the warning and continues
                                                          interpreting the script.
System action: Displays the warning and continues
interpreting the script.                                  Operator response: No System Operator response is
                                                          required.
Operator response: No System Operator response is
required.                                                 User response: Descriptor item must be either an
                                                          array or a File-Handle.
User response: -Removed
                                                          System programmer response: No System
System programmer response: No System
                                                          Programmer response is required.
Programmer response is required.
                                                          Problem determination: No additional information.
Problem determination: No additional information.
                                                          Source: PHP
Source: PHP
                                                          Module: Not applicable.
Module: Not applicable.
                                                          Routing code: Not applicable.
Routing code: Not applicable.
                                                          Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).
                                                          Automation: Not applicable.
Automation: Not applicable.

                                                          HPH00582        Missing handle qualifier in array
HPH00580      unable to dup File-Handle for
              descriptor long- string                     Explanation: Descriptor item array must contain the
                                                          handle qualifier.
Explanation: PHP was not able to dup File-Handle for
descriptor                                                Example: HPH00582 Missing handle qualifier in array


                                                                                       Chapter 6. PHP messages   131
System action: Displays the warning and continues               User response: Check your PHP script. And
interpreting the script.                                        according to the error information, you can find more
                                                                information from the USS manual.
Operator response: No System Operator response is
required.                                                       System programmer response: No System
                                                                Programmer response is required.
User response: The handle qualifier, such as ″file″ ,
″pipe″ and so on, must be supplied.                             Problem determination: No additional information.
System programmer response: No System                           Source: PHP
Programmer response is required.
                                                                Module: Not applicable.
Problem determination: No additional information.
                                                                Routing code: Not applicable.
Source: PHP
                                                                Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                                Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                  HPH00585       Missing file name parameter for ’file’
Automation: Not applicable.                                     Explanation: PHP needed a file name for the function
                                                                ’proc_open()’ when its cmd used the ’file’.
HPH00583      Missing mode parameter for ’pipe’                 Example: HPH00585 Missing file name parameter for
                                                                ’file’
Explanation: PHP need a mode parameter for ’pipe’,
but the script was not given.                                   System action: Displays the warning and continues
                                                                interpreting the script.
Example: HPH00583 Missing mode parameter for
’pipe’                                                          Operator response: No System Operator response is
                                                                required.
System action: Displays the warning and continues
interpreting the script.                                        User response: You must specify a file name for the
                                                                first parameter which is ’file’.
Operator response: No System Operator response is
required.                                                       System programmer response: No System
                                                                Programmer response is required.
User response: You should specify a pipe access
mode, such as ’w’, ’r’, and so on, for the parameter for        Problem determination: No additional information.
’pipe’.
                                                                Source: PHP
System programmer response: No System
                                                                Module: Not applicable.
Programmer response is required.
                                                                Routing code: Not applicable.
Problem determination: No additional information.
                                                                Descriptor code: W- A warning (PHP continues).
Source: PHP
                                                                Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.
                                                                HPH00586       Missing mode parameter for ’file’
Descriptor code: W- A warning (PHP continues).
                                                                Explanation: PHP needed an available access mode
Automation: Not applicable.                                     for the function ’proc_open()’ when its cmd used the
                                                                ’file’.
HPH00584      unable to create pipe ’string’                    Example: HPH00586 Missing mode parameter for ’file’
Explanation: The system can not create a pipe                   System action: Displays the warning and continues
                                                                interpreting the script.
string
     the error message                                          Operator response: No System Operator response is
                                                                required.
Example: HPH00584 unable to create pipe
                                                                User response: You should specify a file access
System action: Displays the warning and continues
                                                                mode, such as ’a’, ’r’, and so on, for the first parameter
interpreting the script.
                                                                which is ’file’.
Operator response: No System Operator response is
                                                                System programmer response: No System
required.
                                                                Programmer response is required.


132    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Problem determination: No additional information.       Problem determination: No additional information.
Source: PHP                                             Source: PHP
Module: Not applicable.                                 Module: Not applicable.
Routing code: Not applicable.                           Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).          Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                             Automation: Not applicable.


HPH00587      failed to open /dev/ptmx, errno integer   HPH00589      pty pseudo terminal not supported on
                                                                      this system
Explanation: PHP cannot open ’/dev/ptmx’ and the
system offered an error No.                             Explanation: This system does not support the ’pty’
                                                        pseudo terminal.
integer
     the error No.                                      Example: HPH00589 pty pseudo terminal not
                                                        supported on this system
Example: HPH00587 failed to open /dev/ptmx, errno
65478                                                   System action: Displays the warning and continues
                                                        interpreting the script.
System action: Displays the warning and continues
interpreting the script.                                Operator response: No System Operator response is
                                                        required.
Operator response: No System Operator response is
required.                                               User response: Now the uss does not support the
                                                        ’pty’ pseudo terminal and there are more information for
User response: Ensure the ’/dev/ptmx’ is available.
                                                        the pseudo terminal you can find from the USS manual.
And according to the error No, you can find more
information from USS manual.                            System programmer response: No System
                                                        Programmer response is required.
System programmer response: No System
Programmer response is required.                        Problem determination: No additional information.
Problem determination: No additional information.       Source: PHP
Source: PHP                                             Module: Not applicable.
Module: Not applicable.                                 Routing code: Not applicable.
Routing code: Not applicable.                           Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).          Automation: Not applicable.
Automation: Not applicable.
                                                        HPH00590      ’string’ is not a valid descriptor
                                                                      spec/mode
HPH00588      failed to open slave pty, errno integer
                                                        Explanation: When running the function of
Explanation: PHP cannot open the slave ’pty’ and the
                                                        proc_open() , the descriptor is not valid
system offered an error No.
                                                        string
integer
                                                             the invalid descriptor spec or mode name
     the error No.
                                                        Example: HPH00590 ppp is not a valid descriptor
Example: HPH00588 failed to open slave pty, errno
                                                        spec/mode
5739
                                                        System action: Displays the warning and continues
System action: Displays the warning and continues
                                                        interpreting the script.
interpreting the script.
                                                        Operator response: No System Operator response is
Operator response: No System Operator response is
                                                        required.
required.
                                                        User response: Now the descriptor sepc or mode can
User response: Ensure the slave ’pty’ is available.
                                                        only support the ’file’, ’pty’ and ’pipe’.
And according to the error No, you can find more
information from USS manual.                            System programmer response: No System
                                                        Programmer response is required.
System programmer response: No System
Programmer response is required.                        Problem determination: No additional information.


                                                                                 Chapter 6. PHP messages    133
Source: PHP
                                                                HPH00593       fork failed - ’string’
Module: Not applicable.
                                                                Explanation: PHP failed to fork a child process
Routing code: Not applicable.
                                                                string
Descriptor code: W- A warning (PHP continues).                       the error no
Automation: Not applicable.                                     Example: HPH00593 fork failed - 98230
                                                                System action: Displays the warning and continues
HPH00591     CreateProcess failed                               interpreting the script.
Explanation: PHP failed to create the process.                  Operator response: No System Operator response is
                                                                required.
Example: HPH00591 CreateProcess failed
                                                                User response: Check your PHP script. And
System action: Displays the warning and continues               according to the error no, you can find more information
interpreting the script.                                        from the USS manual.
Operator response: No System Operator response is               System programmer response: No System
required.                                                       Programmer response is required.
User response: Check your PHP script and your                   Problem determination: No additional information.
system. And there are more information you can find
from the USS manual.                                            Source: PHP
System programmer response: No System                           Module: Not applicable.
Programmer response is required.
                                                                Routing code: Not applicable.
Problem determination: No additional information.
                                                                Descriptor code: W- A warning (PHP continues).
Source: PHP
                                                                Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.                                   HPH00594       failed to create sockets: [’integer’]:
                                                                               ’string’
Descriptor code: W- A warning (PHP continues).
                                                                Explanation: PHP failed to create sockets.
Automation: Not applicable.
                                                                integer
                                                                     error number
HPH00592     -Removed
                                                                string
Explanation: -Removed                                                error information
Example: -Removed                                               Example: HPH00594 failed to create sockets: [1114]:
System action: Displays the warning and continues               EDC8114I Address family not supported.
interpreting the script.                                        System action: Displays the warning and continues
Operator response: No System Operator response is               interpreting the script.
required.                                                       Operator response: No System Operator response is
User response: -Removed                                         required.

System programmer response: No System                           User response: Check your PHP script. And
Programmer response is required.                                according to the error no and error message, you can
                                                                find more information from the USS manual.
Problem determination: No additional information.
                                                                System programmer response: No System
Source: PHP                                                     Programmer response is required.
Module: Not applicable.                                         Problem determination: No additional information.
Routing code: Not applicable.                                   Source: PHP
Descriptor code: W- A warning (PHP continues).                  Module: Not applicable.
Automation: Not applicable.                                     Routing code: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
                                                                Automation: Not applicable.


134    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Routing code: Not applicable.
HPH00595      unable to connect to ’string’ (’string’)
                                                         Descriptor code: W- A warning (PHP continues).
Explanation: PHP was not able to connect to a
specified address.                                       Automation: Not applicable.
string
     a network address                                   HPH00598     Failed to parse `string’ into a valid
                                                                      network address
string
     error information                                   Explanation: PHP encountered a string that could not
                                                         be parsed into a valid network address.
Example: HPH00595 unable to connect to
ppp://192.168.1.1 (HPH00739 Unable to find the socket    string
transport ″ppp″ - did you forget to enable it when you        a network address
configured PHP?)
                                                         Example: HPH00598 Failed to parse `asd’ into a valid
System action: Displays the warning and continues        network address
interpreting the script.
                                                         System action: Displays the warning and continues
Operator response: No System Operator response is        interpreting the script.
required.
                                                         Operator response: No System Operator response is
User response: Check your PHP script and make            required.
sure your address is available. And also you can find
more information from the USS manual according to the    User response: Ensure the address which is the
error information.                                       fourth parameter of the function of
                                                         stream_socket_sendto() is available.
System programmer response: No System
Programmer response is required.                         System programmer response: No System
                                                         Programmer response is required.
Problem determination: No additional information.
                                                         Problem determination: No additional information.
Source: PHP
                                                         Source: PHP
Module: Not applicable.
                                                         Module: Not applicable.
Routing code: Not applicable.
                                                         Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                         Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                         Automation: Not applicable.

HPH00597      accept failed: string
                                                         HPH00599     Length parameter must be greater than
Explanation: An error occured when PHP attempted                      0.
to accept some information from an address.
                                                         Explanation: PHP encountered a length parameter
string                                                   that was not greater than 0.
     error information
                                                         Example: HPH00599 Length parameter must be
Example: HPH00597 accept failed: Unknown error           greater than 0.
System action: Displays the warning and continues        System action: Displays the warning and continues
interpreting the script.                                 interpreting the script.
Operator response: No System Operator response is        Operator response: No System Operator response is
required.                                                required.
User response: Check your PHP script. And                User response: Make sure the length of the data you
according to the error information, you can find more    want to receive or read, and so on, is greater than 0.
information from the USS manual.
                                                         System programmer response: No System
System programmer response: No System                    Programmer response is required.
Programmer response is required.
                                                         Problem determination: No additional information.
Problem determination: No additional information.
                                                         Source: PHP
Source: PHP
                                                         Module: Not applicable.
Module: Not applicable.
                                                         Routing code: Not applicable.


                                                                                  Chapter 6. PHP messages     135
Descriptor code: W- A warning (PHP continues).                   Routing code: Not applicable.
Automation: Not applicable.                                      Descriptor code: W- A warning (PHP continues).
                                                                 Automation: Not applicable.
HPH00602        No stream arrays were passed
Explanation: There is no stream arrays as a                      HPH00604       failed to call user notifier
parameter for the function of stream_select()
                                                                 Explanation: PHP failed to call user defined functions.
Example: HPH00602 No stream arrays were passed
                                                                 Example: HPH00604 failed to call user notifier
System action: Displays the warning and continues
                                                                 System action: Displays the warning and continues
interpreting the script.
                                                                 interpreting the script.
Operator response: No System Operator response is
                                                                 Operator response: No System Operator response is
required.
                                                                 required.
User response: At least you need provide a stream
                                                                 User response: Make sure your defined functions are
array for stream_select() function.
                                                                 available. And there are more information you can find
System programmer response: No System                            from PHP manual and the phpnet
Programmer response is required.
                                                                 System programmer response: No System
Problem determination: No additional information.                Programmer response is required.
Source: PHP                                                      Problem determination: No additional information.
Module: Not applicable.                                          Source: PHP
Routing code: Not applicable.                                    Module: Not applicable.
Descriptor code: W- A warning (PHP continues).                   Routing code: Not applicable.
Automation: Not applicable.                                      Descriptor code: W- A warning (PHP continues).
                                                                 Automation: Not applicable.
HPH00603        unable to select [integer1]: string
                (max_fd=integer2)
                                                                 HPH00605       Invalid stream/context parameter.
Explanation: PHP was not able to select with a file
                                                                 Explanation: PHP encountered an invalid
description.
                                                                 stream/context parameter.
integer1
                                                                 Example: HPH00605 Invalid stream/context
     error no
                                                                 parameter.
string
                                                                 System action: Displays the warning and continues
     error information
                                                                 interpreting the script.
integer2
                                                                 Operator response: No System Operator response is
     a file description
                                                                 required.
Example: HPH00603 unable to select [11]:
                                                                 User response: Make sure your stream/context
(max_fd=1234)
                                                                 parameter is available. And there are more information
System action: Displays the warning and continues                you can find from PHP manual and the phpnet .
interpreting the script.
                                                                 System programmer response: No System
Operator response: No System Operator response is                Programmer response is required.
required.
                                                                 Problem determination: No additional information.
User response: Make sure your file is available. And
                                                                 Source: PHP
according to the error information and the error no, you
can find more information from the USS manual.                   Module: Not applicable.
System programmer response: No System                            Routing code: Not applicable.
Programmer response is required.
                                                                 Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.
                                                                 Automation: Not applicable.
Source: PHP
Module: Not applicable.


136     z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
HPH00606     called with wrong number or type of        HPH00610     Unable to flush filter, not removing
             parameters; please RTM
                                                        Explanation: PHP was not able to flush filter and was
Explanation: PHP encountered the wrong number or        not able to remove the filter.
type of parameters
                                                        Example: HPH00610 Unable to flush filter, not
Example: HPH00606 called with wrong number or           removing
type of parameters; please RTM
                                                        System action: Displays the warning and continues
System action: Displays the warning and continues       interpreting the script.
interpreting the script.
                                                        Operator response: No System Operator response is
Operator response: No System Operator response is       required.
required.
                                                        User response: Check the PHP script. And according
User response: Make sure your number or type of         to the error no and error message, you can find more
parameters are available. And there are more            information from the z/OS UNIX manual.
information you can find from PHP manual and the
                                                        System programmer response: No System
phpnet
                                                        Programmer response is required.
System programmer response: No System
                                                        Problem determination: No additional information.
Programmer response is required.
                                                        Source: PHP
Problem determination: No additional information.
                                                        Module: Not applicable.
Source: PHP
                                                        Routing code: Not applicable.
Module: Not applicable.
                                                        Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                        Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                        HPH00611     Could not invalidate filter, not
                                                                     removing
HPH00609     Invalid resource given, not a stream
                                                        Explanation: PHP was not able to invalidate filter and
             filter
                                                        was not able to remove the filter.
Explanation: PHP needed a stream filter but an
                                                        Example: HPH00611 Could not invalidate filter, not
invalid resource was given.
                                                        removing
Example: HPH00609 Invalid resource given, not a
                                                        System action: Displays the warning and continues
stream filter
                                                        interpreting the script.
System action: Displays the warning and continues
                                                        Operator response: No System Operator response is
interpreting the script.
                                                        required.
Operator response: No System Operator response is
                                                        User response: Check the PHP script. And according
required.
                                                        to the error no and error message, you can find more
User response: Make sure the given parameter is         information from the z/OS UNIX manual.
available.And there are more information you can find
                                                        System programmer response: No System
from PHP manual and the phpnet
                                                        Programmer response is required.
System programmer response: No System
                                                        Problem determination: No additional information.
Programmer response is required.
                                                        Source: PHP
Problem determination: No additional information.
                                                        Module: Not applicable.
Source: PHP
                                                        Routing code: Not applicable.
Module: Not applicable.
                                                        Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                        Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.




                                                                                Chapter 6. PHP messages     137
HPH00612     The maximum allowed length must be                 HPH00614       options should have the form
             greater than or equal to zero.                                    [″wrappername″][″optionname″] =
                                                                               $value
Explanation: An error occured when the maximum
allowed length was less than zero.                              Explanation: In some cases the options should have
                                                                the form [″wrappername″][″optionname″] = $value.
Example: HPH00612 The maximum allowed length
must be greater then or equal to zero.                          Example: HPH00614 options should have the form
                                                                [″wrappername″][″optionname″] = $value
System action: Displays the warning and continues
interpreting the script.                                        System action: Displays the warning and continues
                                                                interpreting the script.
Operator response: No System Operator response is
required.                                                       Operator response: No System Operator response is
                                                                required.
User response: Make sure the maximum allowed
length is greater than or equal to zero.                        User response: Make sure the given options have the
                                                                correct form.
System programmer response: No System
Programmer response is required.                                System programmer response: No System
                                                                Programmer response is required.
Problem determination: No additional information.
                                                                Problem determination: No additional information.
Source: PHP
                                                                Source: PHP
Module: Not applicable.
                                                                Module: Not applicable.
Routing code: Not applicable.
                                                                Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                                Automation: Not applicable.
HPH00613     This function is deprecated, use
             stream_set_blocking() instead                      HPH00615       Error traversing form data array.
Explanation: This function is not available.Please use          Explanation: PHP can not traverse form data array.
stream_set_blocking() instead.
                                                                Example: HPH00615 Error traversing form data array.
Example: HPH00613 This function is deprecated, use
                                                                System action: Displays the warning and continues
stream_set_blocking() instead
                                                                interpreting the script.
System action: Displays the warning and continues
                                                                Operator response: No System Operator response is
interpreting the script.
                                                                required.
Operator response: No System Operator response is
                                                                User response: Make sure the form data array is
required.
                                                                available.
User response: This function is not available.You can
                                                                System programmer response: No System
find more related information from the PHP manual and
                                                                Programmer response is required.
the phpnet.
                                                                Problem determination: No additional information.
System programmer response: No System
Programmer response is required.                                Source: PHP
Problem determination: No additional information.               Module: Not applicable.
Source: PHP                                                     Routing code: Not applicable.
Module: Not applicable.                                         Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.                                   Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                HPH00616       Parameter 1 expected to be Array or
Automation: Not applicable.
                                                                               Object. Incorrect value given.
                                                                Explanation: The first parameter of the
                                                                http_build_query() must be Array or Object.
                                                                Example: HPH00616 Parameter 1 expected to be


138    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Array or Object. Incorrect value given.                       Source: PHP
System action: Displays the warning and continues             Module: Not applicable.
interpreting the script.
                                                              Routing code: Not applicable.
Operator response: No System Operator response is
                                                              Descriptor code: W- A warning (PHP continues).
required.
                                                              Automation: Not applicable.
User response: Make sure the first parameter you
input into the http_build_query() is an array or an object.
                                                              HPH00620     -Removed
System programmer response: No System
Programmer response is required.                              Explanation: -Removed
Problem determination: No additional information.             Example: -Removed
Source: PHP                                                   System action: Displays the warning and continues
                                                              interpreting the script.
Module: Not applicable.
                                                              Operator response: No System Operator response is
Routing code: Not applicable.
                                                              required.
Descriptor code: W- A warning (PHP continues).
                                                              User response: -Removed
Automation: Not applicable.
                                                              System programmer response: No System
                                                              Programmer response is required.
HPH00617      -Removed
                                                              Problem determination: No additional information.
Explanation: -Removed
                                                              Source: PHP
Example: -Removed
                                                              Module: Not applicable.
System action: Displays the warning and continues
                                                              Routing code: Not applicable.
interpreting the script.
                                                              Descriptor code: W- A warning (PHP continues).
Operator response: No System Operator response is
required.                                                     Automation: Not applicable.
User response: -Removed
                                                              HPH00621     -Removed
System programmer response: No System
Programmer response is required.                              Explanation: -Removed
Problem determination: No additional information.             Example: HPH00621 Unable to allocate TLS table
Source: PHP                                                   System action: Displays the warning and continues
                                                              interpreting the script.
Module: Not applicable.
                                                              Operator response: No System Operator response is
Routing code: Not applicable.
                                                              required.
Descriptor code: W- A warning (PHP continues).
                                                              User response: -Removed
Automation: Not applicable.
                                                              System programmer response: No System
                                                              Programmer response is required.
HPH00619      -Removed
                                                              Problem determination: No additional information.
Explanation: -Removed
                                                              Source: PHP
Example: -Removed
                                                              Module: Not applicable.
System action: Displays the warning and continues
                                                              Routing code: Not applicable.
interpreting the script.
                                                              Descriptor code:
Operator response: No System Operator response is
required.                                                     Automation: Not applicable.
User response: -Removed
System programmer response: No System
Programmer response is required.
Problem determination: No additional information.

                                                                                      Chapter 6. PHP messages   139
System programmer response: No System
HPH00622     -Removed
                                                               Programmer response is required.
Explanation: -Removed
                                                               Problem determination: No additional information.
Example: HPH00622 Unable to allocate resource
                                                               Source: PHP
types table
                                                               Module: Not applicable.
System action: Displays the warning and continues
interpreting the script.                                       Routing code: Not applicable.
Operator response: No System Operator response is              Descriptor code:
required.
                                                               Automation: Not applicable.
User response: -Removed
System programmer response: No System                          HPH00625       -Removed
Programmer response is required.
                                                               Explanation: -Removed
Problem determination: No additional information.
                                                               Example: -Removed
Source: PHP
                                                               System action: Displays the warning and continues
Module: Not applicable.                                        interpreting the script.
Routing code: Not applicable.                                  Operator response: No System Operator response is
                                                               required.
Descriptor code:
                                                               User response: -Removed
Automation: Not applicable.
                                                               System programmer response: No System
                                                               Programmer response is required.
HPH00623     -Removed
                                                               Problem determination: No additional information.
Explanation: -Removed
                                                               Source: PHP
Example: HPH00623 Started up TSRM, %d expected
threads, %d expected resources″                                Module: Not applicable.
System action: Displays the warning and continues              Routing code: Not applicable.
interpreting the script.
                                                               Descriptor code:
Operator response: No System Operator response is
required.                                                      Automation: Not applicable.

User response: -Removed
                                                               HPH00626       -Removed
System programmer response: No System
Programmer response is required.                               Explanation: -Removed

Problem determination: No additional information.              Example: -Removed

Source: PHP                                                    System action: Displays the warning and continues
                                                               interpreting the script.
Module: Not applicable.
                                                               Operator response: No System Operator response is
Routing code: Not applicable.                                  required.
Descriptor code:                                               User response: -Removed
Automation: Not applicable.                                    System programmer response: No System
                                                               Programmer response is required.
HPH00624     -Removed                                          Problem determination: No additional information.
Explanation: -Removed                                          Source: PHP
Example: HPH00624 Shutdown TSRM″                               Module: Not applicable.
System action: Displays the warning and continues              Routing code: Not applicable.
interpreting the script.
                                                               Descriptor code:
Operator response: No System Operator response is
required.                                                      Automation: Not applicable.

User response: -Removed

140   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Programmer response is required.
HPH00627     -Removed
                                                    Problem determination: No additional information.
Explanation: -Removed
                                                    Source: PHP
Example: -Removed
                                                    Module: Not applicable.
System action: Displays the warning and continues
interpreting the script.                            Routing code: Not applicable.
Operator response: No System Operator response is   Descriptor code:
required.
                                                    Automation: Not applicable.
User response: -Removed
System programmer response: No System               HPH00630     -Removed
Programmer response is required.
                                                    Explanation: -Removed
Problem determination: No additional information.
                                                    Example: -Removed
Source: PHP
                                                    System action: Displays the warning and continues
Module: Not applicable.                             interpreting the script.
Routing code: Not applicable.                       Operator response: No System Operator response is
                                                    required.
Descriptor code:
                                                    User response: -Removed
Automation: Not applicable.
                                                    System programmer response: No System
                                                    Programmer response is required.
HPH00628     -Removed
                                                    Problem determination: No additional information.
Explanation: -Removed
                                                    Source: PHP
Example: -Removed
                                                    Module: Not applicable.
System action: Displays the warning and continues
interpreting the script.                            Routing code: Not applicable.
Operator response: No System Operator response is   Descriptor code:
required.
                                                    Automation: Not applicable.
User response: -Removed
System programmer response: No System               HPH00631     -Removed
Programmer response is required.
                                                    Explanation: -Removed
Problem determination: No additional information.
                                                    Example: -Removed
Source: PHP
                                                    System action: Displays the warning and continues
Module: Not applicable.                             interpreting the script.
Routing code: Not applicable.                       Operator response: No System Operator response is
                                                    required.
Descriptor code: W- A warning (PHP continues).
                                                    User response: -Removed
Automation: Not applicable.
                                                    System programmer response: No System
                                                    Programmer response is required.
HPH00629     -Removed
                                                    Problem determination: No additional information.
Explanation: -Removed
                                                    Source: PHP
Example: -Removed
                                                    Module: Not applicable.
System action: Displays the warning and continues
interpreting the script.                            Routing code: Not applicable.
Operator response: No System Operator response is   Descriptor code:
required.
                                                    Automation: Not applicable.
User response: -Removed
System programmer response: No System

                                                                            Chapter 6. PHP messages   141
Programmer response is required.
HPH00632     -Removed
                                                               Problem determination: No additional information.
Explanation: -Removed
                                                               Source: PHP
Example: -Removed
                                                               Module: Not applicable.
System action: Displays the warning and continues
interpreting the script.                                       Routing code: Not applicable.
Operator response: No System Operator response is              Descriptor code:
required.
                                                               Automation: Not applicable.
User response: -Removed
System programmer response: No System                          HPH00635       -Removed
Programmer response is required.
                                                               Explanation: -Removed
Problem determination: No additional information.
                                                               Example: -Removed
Source: PHP
                                                               System action: Displays the warning and continues
Module: Not applicable.                                        interpreting the script.
Routing code: Not applicable.                                  Operator response: No System Operator response is
                                                               required.
Descriptor code:
                                                               User response: -Removed
Automation: Not applicable.
                                                               System programmer response: No System
                                                               Programmer response is required.
HPH00633     -Removed
                                                               Problem determination: No additional information.
Explanation: -Removed
                                                               Source: PHP
Example: -Removed
                                                               Module: Not applicable.
System action: Displays the warning and continues
interpreting the script.                                       Routing code: Not applicable.
Operator response: No System Operator response is              Descriptor code:
required.
                                                               Automation: Not applicable.
User response: -Removed
System programmer response: No System                          HPH00636       a parameter for fprintf(), will be deleted
Programmer response is required.
                                                               Explanation: a parameter for fprintf(), will be deleted
Problem determination: No additional information.
                                                               Example: HPH00636 a parameter for fprintf(), will be
Source: PHP                                                    deleted
Module: Not applicable.                                        System action: Displays the warning and continues
                                                               interpreting the script.
Routing code: Not applicable.
                                                               Operator response: No System Operator response is
Descriptor code:
                                                               required.
Automation: Not applicable.
                                                               User response: a parameter for fprintf(), will be
                                                               deleted
HPH00634     -Removed
                                                               System programmer response: No System
Explanation: -Removed                                          Programmer response is required.
Example: -Removed                                              Problem determination: No additional information.
System action: Displays the warning and continues              Source: PHP
interpreting the script.
                                                               Module: Not applicable.
Operator response: No System Operator response is
                                                               Routing code: Not applicable.
required.
                                                               Descriptor code: W- A warning (PHP continues).
User response: -Removed
                                                               Automation: Not applicable.
System programmer response: No System

142   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Operator response: No System Operator response is
HPH00637      a parameter for fprintf(), will be deleted
                                                           required.
Explanation: a parameter for fprintf(), will be deleted
                                                           User response: A parameter for zend_hash_update(),
Example: HPH00637 a parameter for fprintf(), will be       which will be deleted.
deleted
                                                           System programmer response: No System
System action: Displays the warning and continues          Programmer response is required.
interpreting the script.
                                                           Problem determination: No additional information.
Operator response: No System Operator response is
                                                           Source: PHP
required.
                                                           Module: Not applicable.
User response: a parameter for fprintf(), will be
deleted                                                    Routing code: Not applicable.
System programmer response: No System                      Descriptor code: W- A warning (PHP continues).
Programmer response is required.
                                                           Automation: Not applicable.
Problem determination: No additional information.
Source: PHP                                                HPH00642      Cannot set time limit in safe mode
Module: Not applicable.                                    Explanation: User cannot use set_time_limit() in safe
                                                           mode.
Routing code: Not applicable.
                                                           Example: HPH00642 Cannot set time limit in safe
Descriptor code: W- A warning (PHP continues).
                                                           mode
Automation: Not applicable.
                                                           System action: Displays the warning and continues
                                                           interpreting the script.
HPH00638      a parameter for fprintf(), will be deleted
                                                           Operator response: No System Operator response is
Explanation: a parameter for fprintf(), will be deleted    required.
Example: HPH00638 a parameter for fprintf(), will be       User response: The function set_time_limit() has no
deleted                                                    effect when PHP is running in safe mode. There are
                                                           more information you can find from PHP manual and
System action: Displays the warning and continues
                                                           the phpnet .
interpreting the script.
                                                           System programmer response: No System
Operator response: No System Operator response is
                                                           Programmer response is required.
required.
                                                           Problem determination: No additional information.
User response: a parameter for fprintf(), will be
deleted                                                    Source: PHP
System programmer response: No System                      Module: Not applicable.
Programmer response is required.
                                                           Routing code: Not applicable.
Problem determination: No additional information.
                                                           Descriptor code: W- A warning (PHP continues).
Source: PHP
                                                           Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.                              HPH00643      Failed opening ’string1’ for inclusion
                                                                         (include_path=’string2’)
Descriptor code: W- A warning (PHP continues).
                                                           Explanation: PHP failed to open a file for inclusion
Automation: Not applicable.
                                                           (include_path=file path).
                                                           string1
HPH00640      php_errormsg
                                                                a file name
Explanation: A parameter for zend_hash_update(),
                                                           string2
which will be deleted.
                                                                a path name
Example: HPH00640 php_errormsg
                                                           Example: HPH00643 Failed opening ’a’ for inclusion
System action: Displays the warning and continues          (include_path=’.:’)
interpreting the script.


                                                                                    Chapter 6. PHP messages   143
System action: Displays the warning and continues               Example: HPH00645 Failed opening ’a’ for
interpreting the script.                                        highlighting
Operator response: No System Operator response is               System action: Displays the warning and continues
required.                                                       interpreting the script.
User response: Ensure the given parameter has the               Operator response: No System Operator response is
correct path and file name.                                     required.
System programmer response: No System                           User response: Make sure the given filename for
Programmer response is required.                                highlighting is available.
Problem determination: No additional information.               System programmer response: No System
                                                                Programmer response is required.
Source: PHP
                                                                Problem determination: No additional information.
Module: Not applicable.
                                                                Source: PHP
Routing code: Not applicable.
                                                                Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Routing code: Not applicable.
Automation: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
HPH00644      Failed opening required ’string1’                 Automation: Not applicable.
              (include_path=’string2’)
Explanation: PHP failed to open a required file which           HPH00647       Unsupported content type: ’string’
liked ’include_path=a path name’.
                                                                Explanation: PHP encounered an unsupported
string1                                                         content type.
     a file name
                                                                string
string2                                                              content type
     a path name
                                                                Example: HPH00647 Unsupported content type: ’’
Example: HPH00644 Failed opening required ’b’
                                                                System action: Displays the warning and continues
(include_path=’.:’)
                                                                interpreting the script.
System action: PHP immediately stops interpreting
                                                                Operator response: No System Operator response is
the file (before any statements are run) and exits.
                                                                required.
Operator response: No System Operator response is
                                                                User response: Make sure the content type is
required.
                                                                available. There are more information you can find from
User response: Ensure the given parameter has the               PHP manual and the phpnet .
correct path and the file name
                                                                System programmer response: No System
System programmer response: No System                           Programmer response is required.
Programmer response is required.
                                                                Problem determination: No additional information.
Problem determination: No additional information.
                                                                Source: PHP
Source: PHP
                                                                Module: Not applicable.
Module: Not applicable.
                                                                Routing code: Not applicable.
Routing code: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
Descriptor code: F- A fatal error (PHP exits
                                                                Automation: Not applicable.
immediately).
Automation: Not applicable.
                                                                HPH00648       Has been deleted
                                                                Explanation: Has been deleted
HPH00645      Failed opening ’string’ for highlighting
                                                                Example: Has been deleted
Explanation: PHP failed to open a file for highlighting.
                                                                System action: Displays the warning and continues
string
                                                                interpreting the script.
     a file name



144    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Operator response: No System Operator response is          Problem determination: No additional information.
required.
                                                           Source: PHP
User response: Has been deleted
                                                           Module: Not applicable.
System programmer response: No System
                                                           Routing code: Not applicable.
Programmer response is required.
                                                           Descriptor code: F- A fatal error (PHP exits
Problem determination: No additional information.
                                                           immediately).
Source: PHP
                                                           Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.                              HPH00651         Cannot modify header information -
                                                                            headers already sent by (output started
Descriptor code: W- A warning (PHP continues).
                                                                            at string:long)
Automation: Not applicable.
                                                           Explanation: User cannot modify header information -
                                                           headers have already been sent.
HPH00649        Debug information
                                                           string
Explanation: Debug information                                  the original file name
Example: Debug information                                 long
                                                                  the line No where the error is in
System action: Displays the warning and continues
interpreting the script.                                   Example: HPH00651 Cannot modify header
                                                           information - headers already sent by (output started at
Operator response: No System Operator response is          /u/spring/msg/3.php:5)
required.
                                                           System action: Displays the warning and continues
User response: Debug information                           interpreting the script.
System programmer response: No System                      Operator response: No System Operator response is
Programmer response is required.                           required.
Problem determination: No additional information.          User response: Header information cannot be
Source: PHP                                                modified.There are more information you can find from
                                                           PHP manual and the phpnet .
Module: Not applicable.
                                                           System programmer response: No System
Routing code: Not applicable.                              Programmer response is required.
Descriptor code: W- A warning (PHP continues).             Problem determination: No additional information.
Automation: Not applicable.                                Source: PHP
                                                           Module: Not applicable.
HPH00650        Illegal length modifier specified ’char’
                in s[np]printf call                        Routing code: Not applicable.

Explanation: PHP encountered the illegal length            Descriptor code: W- A warning (PHP continues).
modifier specified character in s[np]printf call.          Automation: Not applicable.
char
       a character                                         HPH00652         Unable to access string
Example: HPH00650 Illegal length modifier specified        Explanation: PHP was not able to access a file.
’c’ in s[np]printf call
                                                           string
System action: PHP immediately stops interpreting               a file name
the file (before any statements are run) and exits.
                                                           Example: HPH00652 Unable to access /a
Operator response: No System Operator response is
required.                                                  System action: Displays the warning and continues
                                                           interpreting the script.
User response: Make sure the parameter is suitable
for the modifier specified character.                      Operator response: No System Operator response is
                                                           required.
System programmer response: No System
Programmer response is required.

                                                                                       Chapter 6. PHP messages   145
User response: Make sure the file you want to access           Problem determination: No additional information.
is avaiable.
                                                               Source: PHP
System programmer response: No System
                                                               Module: Not applicable.
Programmer response is required.
                                                               Routing code: Not applicable.
Problem determination: No additional information.
                                                               Descriptor code: W- A warning (PHP continues).
Source: PHP
                                                               Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.
                                                               HPH00655       SAFE MODE Restriction in effect. The
Descriptor code: W- A warning (PHP continues).                                script whose uid/gid is long1/long2 is
                                                                              not allowed to access string owned by
Automation: Not applicable.
                                                                              uid/gid long3/long4
                                                               Explanation: The script is not allowed to access the
HPH00653     Cannot modify header information -
                                                               script owned by a special uid/gid in SAFE MODE.
             headers already sent
                                                               long1
Explanation: User cannot modify header information
                                                                   user id
that has already been sent.
                                                               long2
Example: HPH00653 Cannot modify header
                                                                   group id
information - headers already sent
                                                               string
System action: Displays the warning and continues
                                                                    the file name
interpreting the script.
                                                               long3
Operator response: No System Operator response is
                                                                   the file’s user id
required.
                                                               long4
User response: Header information cannot be
                                                                   the file’s group id
modified when that had been sent.
                                                               Example: HPH00655 SAFE MODE Restriction in
System programmer response: No System
                                                               effect. The script whose uid/gid is 109/999 is not
Programmer response is required.
                                                               allowed to access /usr/passwd owned by uid/gid 0/0
Problem determination: No additional information.
                                                               System action: Displays the warning and continues
Source: PHP                                                    interpreting the script.
Module: Not applicable.                                        Operator response: No System Operator response is
                                                               required.
Routing code: Not applicable.
                                                               User response: Make sure you can access the script
Descriptor code: W- A warning (PHP continues).                 in SAFE MODE.
Automation: Not applicable.                                    System programmer response: No System
                                                               Programmer response is required.
HPH00654     Header may not contain more than a                Problem determination: No additional information.
             single header, new line detected.
                                                               Source: PHP
Explanation: PHP detected the new line symbol in
header which may not be contained.                             Module: Not applicable.
Example: HPH00654 Header may not contain more                  Routing code: Not applicable.
than a single header, new line detected.
                                                               Descriptor code: W- A warning (PHP continues).
System action: Displays the warning and continues
                                                               Automation: Not applicable.
interpreting the script.
Operator response: No System Operator response is
                                                               HPH00656       SAFE MODE Restriction in effect. The
required.
                                                                              script whose uid is long1 is not allowed
User response: Ensure a header cannot contain the                             to access string owned by uid long2
new line symbol.
                                                               Explanation: The script is not allowed to access the
System programmer response: No System                          script owned by a special uid in SAFE MODE.
Programmer response is required.


146   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
long1                                                       Descriptor code: W- A warning (PHP continues).
    user id
                                                            Automation: Not applicable.
string
     the file name
                                                            HPH00660        Actual POST length does not match
long2                                                                       Content-Length, and exceeds long
    the file’s user id                                                      bytes
Example: HPH00656 SAFE MODE Restriction in                  Explanation: PHP encountered the actual POST
effect. The script whose uid is 1000899 is not allowed to   length which didnot match Content-Length, and the post
access /var owned by uid 0                                  length exceeded the max size.
System action: Displays the warning and continues           long
interpreting the script.                                           post max size
Operator response: No System Operator response is           Example: HPH00660 Actual POST length does not
required.                                                   match Content-Length, and exceeds 8M bytes
User response: Make sure you can access the script          System action: Displays the warning and continues
in SAFE MODE.                                               interpreting the script.
System programmer response: No System                       Operator response: No System Operator response is
Programmer response is required.                            required.
Problem determination: No additional information.           User response: Make sure the post length is equal to
                                                            the content length. And the post content length cannot
Source: PHP
                                                            exceed the limit of post_max_size(normal 8M bytes).
Module: Not applicable.
                                                            System programmer response: No System
Routing code: Not applicable.                               Programmer response is required.
Descriptor code: W- A warning (PHP continues).              Problem determination: No additional information.
Automation: Not applicable.                                 Source: PHP
                                                            Module: Not applicable.
HPH00659       POST Content-Length of long1 bytes
                                                            Routing code: Not applicable.
               exceeds the limit of long2 bytes
                                                            Descriptor code: W- A warning (PHP continues).
Explanation: PHP encountered a content that was
post that exceeded the limit.                               Automation: Not applicable.
long1
    post content length                                     HPH00661        php_network_getaddresses:
                                                                            getaddrinfo failed: string
long2
    post max size                                           Explanation: PHP failed to get the network address.
Example: HPH00659 POST Content-Length of 9M                 string
bytes exceeds the limit of 8M bytes                              error information
System action: Displays the warning and continues           Example: HPH00661 php_network_getaddresses:
interpreting the script.                                    getaddrinfo failed: getaddrinfo failed: EDC9501I The
                                                            name does not resolve for the supplied parameters.
Operator response: No System Operator response is
required.                                                   System action: Displays the warning and continues
                                                            interpreting the script.
User response: Make sure the content length does
not exceed the limit of post_max_size(normal 8M             Operator response: No System Operator response is
bytes).                                                     required.
System programmer response: No System                       User response: Ensure the address information is
Programmer response is required.                            available.And according to the error information you can
                                                            find more related information from z/OS UNIX manual.
Problem determination: No additional information.
                                                            System programmer response: No System
Source: PHP
                                                            Programmer response is required.
Module: Not applicable.
                                                            Problem determination: No additional information.
Routing code: Not applicable.

                                                                                     Chapter 6. PHP messages   147
Source: PHP                                                     Descriptor code: W- A warning (PHP continues).
Module: Not applicable.                                         Automation: Not applicable.
Routing code: Not applicable.
                                                                HPH00664       Asynchronous connect() not supported
Descriptor code: W- A warning (PHP continues).
                                                                               on this platform
Automation: Not applicable.
                                                                Explanation: This platform does not support the
                                                                asynchronous connect.
HPH00662     php_network_getaddresses:
                                                                Example: HPH00664 Asynchronous connect() not
             getaddrinfo failed (null result pointer)
                                                                supported on this platform
Explanation: PHP failed to get a network address..
                                                                System action: Displays the warning and continues
Example: HPH00662 php_network_getaddresses:                     interpreting the script.
getaddrinfo failed (null result pointer)
                                                                Operator response: No System Operator response is
System action: Displays the warning and continues               required.
interpreting the script.
                                                                User response: You can find more information about
Operator response: No System Operator response is               the asynchronous connect from the z/OS UNIX manual.
required.
                                                                System programmer response: No System
User response: Make sure the address information is             Programmer response is required.
available.And you can find more information from z/OS
                                                                Problem determination: No additional information.
UNIX manual.
                                                                Source: PHP
System programmer response: No System
Programmer response is required.                                Module: Not applicable.
Problem determination: No additional information.               Routing code: Not applicable.
Source: PHP                                                     Descriptor code: W- A warning (PHP continues).
Module: Not applicable.                                         Automation: Not applicable.
Routing code: Not applicable.
                                                                HPH00665       Failed to resolve `string1’: string2
Descriptor code: W- A warning (PHP continues).
                                                                Explanation: PHP failed to resolve an ip address.
Automation: Not applicable.
                                                                string1
                                                                     an IP address
HPH00663     php_network_getaddresses:
             gethostbyname failed                               string2
                                                                     error information
Explanation: PHP failed to get the network host by
the name.                                                       Example: HPH00665 Failed to resolve
                                                                `192.186.111.111’: unknown error.
Example: HPH00663 php_network_getaddresses:
gethostbyname failed                                            System action: Displays the warning and continues
                                                                interpreting the script.
System action: Displays the warning and continues
interpreting the script.                                        Operator response: No System Operator response is
                                                                required.
Operator response: No System Operator response is
required.                                                       User response: Make sure the IP address is
                                                                available. And according to the error message, you can
User response: Make sure your given name for the
                                                                find more information from the z/OS UNIX manual.
host information is available.And you can find more
information from z/OS UNIX manual.                              System programmer response: No System
                                                                Programmer response is required.
System programmer response: No System
Programmer response is required.                                Problem determination: No additional information.
Problem determination: No additional information.               Source: PHP
Source: PHP                                                     Module: Not applicable.
Module: Not applicable.                                         Routing code: Not applicable.
Routing code: Not applicable.                                   Descriptor code: W- A warning (PHP continues).

148    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Automation: Not applicable.                                  Descriptor code: W- A warning (PHP continues).
                                                             Automation: Not applicable.
HPH00666       failed to bind to ’string1:integer’, system
               said: string2
                                                             HPH00668      Missing boundary in
Explanation: PHP encountered a malformed IP                                multipart/form-data POST data
address and a port which wwere unable to parse it.
                                                             Explanation: PHP encountered the multipart/form-data
string1                                                      post data that missed boundary
     an IP address
                                                             Example: HPH00668 Missing boundary in
integer                                                      multipart/form-data POST data
     IP port
                                                             System action: Displays the warning and continues
string2                                                      interpreting the script.
     error information
                                                             Operator response: No System Operator response is
Example: HPH00666 failed to bind to                          required.
’192.168.111.111:33333’, system said: cannot parse it.
                                                             User response: Make sure the data has the complete
System action: Displays the warning and continues            boundaries.
interpreting the script.
                                                             System programmer response: No System
Operator response: No System Operator response is            Programmer response is required.
required.
                                                             Problem determination: No additional information.
User response: Make sure the IP address and port is
                                                             Source: PHP
available.And according to the error message, you can
find more information from the z/OS UNIX manual.             Module: Not applicable.
System programmer response: No System                        Routing code: Not applicable.
Programmer response is required.
                                                             Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.
                                                             Automation: Not applicable.
Source: PHP
Module: Not applicable.                                      HPH00669      Cannot use output buffering in output
                                                                           buffering display handlers
Routing code: Not applicable.
                                                             Explanation: PHP did not surport the output buffering
Descriptor code: W- A warning (PHP continues).
                                                             which was used in output buffering display handlers
Automation: Not applicable.
                                                             Example: HPH00669 Cannot use output buffering in
                                                             output buffering display handlers
HPH00667       Invalid IP Address: string
                                                             System action: PHP immediately stops interpreting
Explanation: PHP encountered an invalid IP address.          the file (before any statements are run) and exits.
string                                                       Operator response: No System Operator response is
     an IP address                                           required.
Example: HPH00667 Invalid IP Address: 9.186.257.97           User response: Make sure your PHP scripts does not
                                                             use output buffering in output buffering display handlers.
System action: Displays the warning and continues
interpreting the script.                                     System programmer response: No System
                                                             Programmer response is required.
Operator response: No System Operator response is
required.                                                    Problem determination: No additional information.
User response: Ensure the ip address is available.           Source: PHP
System programmer response: No System                        Module: Not applicable.
Programmer response is required.
                                                             Routing code: Not applicable.
Problem determination: No additional information.
                                                             Descriptor code: F- A fatal error (PHP exits
Source: PHP                                                  immediately).
Module: Not applicable.                                      Automation: Not applicable.
Routing code: Not applicable.

                                                                                       Chapter 6. PHP messages    149
HPH00670      output handler ’string1’ conflicts with           HPH00672       failed to delete buffer. No buffer to
              ’string2’                                                        delete.
Explanation: PHP encountered an output handler                  Explanation: PHP failed to delete a buffer because
which conflicted with another.                                  that buffer did not exist.
string1                                                         Example: HPH00672 failed to delete buffer. No buffer
     handler name                                               to delete.
string2                                                         System action: Displays the warning and continues
     handler set                                                interpreting the script.
Example: HPH00670 output handler ’ob_gzhandler’                 Operator response: No System Operator response is
conflicts with ’zlib output compression’                        required.
System action: Displays the warning and continues               User response: Do not try to use function of
interpreting the script.                                        ob_clean() to delete a buffer that does not exist.
Operator response: No System Operator response is               System programmer response: No System
required.                                                       Programmer response is required.
User response: Make sure your handler name does                 Problem determination: No additional information.
not conflict with another handler name.
                                                                Source: PHP
System programmer response: No System
                                                                Module: Not applicable.
Programmer response is required.
                                                                Routing code: Not applicable.
Problem determination: No additional information.
                                                                Descriptor code: N- An informational notice. Could be
Source: PHP
                                                                an error or could be normal behavior.
Module: Not applicable.
                                                                Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                  HPH00673       failed to delete buffer string.
Automation: Not applicable.                                     Explanation: PHP failed to delete a buffer.
                                                                string
HPH00671      failed to flush buffer. No buffer to                   handler name
              flush.
                                                                Example: HPH00673 failed to delete buffer callback.
Explanation: PHP failed to flush a buffer because that
                                                                System action: Displays the warning and continues
buffer did not exist.
                                                                interpreting the script.
Example: HPH00671 failed to flush buffer. No buffer to
                                                                Operator response: No System Operator response is
flush.
                                                                required.
System action: Displays the warning and continues
                                                                User response: Make sure the buffer you want to
interpreting the script.
                                                                delete is available.
Operator response: No System Operator response is
                                                                System programmer response: No System
required.
                                                                Programmer response is required.
User response: Do not try to use function of
                                                                Problem determination: No additional information.
ob_flush() to flush a buffer that does not exist.
                                                                Source: PHP
System programmer response: No System
Programmer response is required.                                Module: Not applicable.
Problem determination: No additional information.               Routing code: Not applicable.
Source: PHP                                                     Descriptor code: N- An informational notice. Could be
                                                                an error or could be normal behavior.
Module: Not applicable.
                                                                Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: N- An informational notice. Could be
an error or could be normal behavior.
Automation: Not applicable.

150    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
HPH00674      failed to delete and flush buffer. No         HPH00676      Unable to initialize the input buffer
              buffer to delete or flush.
                                                            Explanation: Unable to initialize the input buffer for
Explanation: PHP failed to delete and flush a buffer        ″content_type″.
because that buffer did not exist.
                                                            Example: Warning: HPH00676 Unable to initialize the
Example: HPH00674 failed to delete and flush buffer.        input buffer
No buffer to delete or flush.
                                                            System action: Displays the warning and continues
System action: Displays the warning and continues           interpreting the script.
interpreting the script.
                                                            Operator response: No System Operator response is
Operator response: No System Operator response is           required.
required.
                                                            User response: Make sure that web server work
User response: Do not try to use function of                normally.Please contact to WEB server administrator.
ob_end_flush() to delete and flush a buffer that does not
                                                            System programmer response: No System
exist.
                                                            Programmer response is required.
System programmer response: No System
                                                            Problem determination: No additional information.
Programmer response is required.
                                                            Source: PHP
Problem determination: No additional information.
                                                            Module: Not applicable.
Source: PHP
                                                            Routing code: Not applicable.
Module: Not applicable.
                                                            Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                            Automation: Not applicable.
Descriptor code: N- An informational notice. Could be
an error or could be normal behavior.
                                                            HPH00677      File Upload Mime headers garbled
Automation: Not applicable.
                                                            Explanation: File Upload Mime headers garbled.
HPH00675      Invalid boundary in multipart/form-data       Example: Warning: HPH00677 File Upload Mime
              POST data                                     headers garbled
Explanation: Invalid boundary in multipart/form-data        System action: Displays the warning and continues
POST data.                                                  interpreting the script.
Example: Warning: HPH00675 Invalid boundary in              Operator response: No System Operator response is
multipart/form-data POST data                               required.
System action: Displays the warning and continues           User response: Make sure that web server work
interpreting the script.                                    normally.Please contact web server administrator.
Operator response: No System Operator response is           System programmer response: No System
required.                                                   Programmer response is required.
User response: Make sure that web server work               Problem determination: No additional information.
normally.Please contact web server administrator.
                                                            Source: PHP
System programmer response: No System
Programmer response is required.                            Module: Not applicable.

Problem determination: No additional information.           Routing code: Not applicable.

Source: PHP                                                 Descriptor code: W- A warning (PHP continues).

Module: Not applicable.                                     Automation: Not applicable.

Routing code: Not applicable.
                                                            HPH00678      File upload error - unable to create a
Descriptor code: W- A warning (PHP continues).                            temporary file
Automation: Not applicable.                                 Explanation: File upload error because PHP cannot
                                                            create a temporary file.
                                                            Example: Warning: HPH00678 File upload error -
                                                            unable to create a temporary file


                                                                                     Chapter 6. PHP messages      151
System action: Displays the warning and continues              Problem determination: No additional information.
interpreting the script.
                                                               Source: PHP
Operator response: No System Operator response is
                                                               Module: Not applicable.
required.
                                                               Routing code: Not applicable.
User response: Make sure ″upload_tmp_dir″ directory
exists and it is accessible.                                   Descriptor code: W- A warning (PHP continues).
System programmer response: No System                          Automation: Not applicable.
Programmer response is required.
Problem determination: No additional information.              HPH00685       Use of ″zlib:″ wrapper is deprecated;
                                                                              please use ″compress.zlib://″ instead.
Source: PHP
                                                               Explanation: The PHP script is using the obsolete
Module: Not applicable.
                                                               ″zlib:″ compression wrapper. ″zlib:″ has been replaced
Routing code: Not applicable.                                  by the ″compress.zlib″ wrapper.
Descriptor code: W- A warning (PHP continues).                 Example: Warning: fopen(): HPH00685 Use of ″zlib:″
                                                               wrapper is deprecated; please use ″compress.zlib://″
Automation: Not applicable.
                                                               instead. in /home/mytx/debug_php/685.php on line 2
                                                               System action: Displays the warning and continues
HPH00682     %s: %s
                                                               interpreting the script.
Explanation: --removed--
                                                               Operator response: No System Operator response is
Example: HPH00682 %s: %s                                       required.
System action: Displays the warning and continues              User response: Alter the PHP script to replace this
interpreting the script.                                       wrapper with ″compress.zlib://″.
Operator response: No System Operator response is              System programmer response: No System
required.                                                      Programmer response is required.
User response: --removed--                                     Problem determination: No additional information.
System programmer response: No System                          Source: PHP
Programmer response is required.
                                                               Module: Not applicable.
Problem determination: No additional information.
                                                               Routing code: Not applicable.
Source: PHP
                                                               Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                               Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                 HPH00686       Unable to find the wrapper ’string’ - did
                                                                              you forget to enable it when you
Automation: Not applicable.                                                   configured PHP?
                                                               Explanation: The PHP script attempted to use an
HPH00684     stream does not support seeking                   unsupported protocol wrapper. Consult the PHP
Explanation: stream does not support seeking.                  documentation for a list of all supported protocol
                                                               wrappers.
Example: Warning: fseek(): HPH00684 stream does
not support seeking in /home/mytx/debug_php/684.php            string
on line 17                                                          Unknown or unsupported protocol name

System action: Displays the warning and continues              Example: Notice: fopen(): HPH00686 Unable to find
interpreting the script.                                       the wrapper ″telnet″ - did you forget to enable it when
                                                               you configured PHP? in test.php on line 5
Operator response: No System Operator response is
required.                                                      System action: Displays the warning and continues
                                                               interpreting the script.
User response: Make sure current stream support
seeking method.                                                Operator response: No System Operator response is
                                                               required.
System programmer response: No System
Programmer response is required.

152   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
User response: Make sure PHP support current              User response: ″File″ wrapper have been unregisterd,
protocol wrapper.                                         user must restore or register ″file″ wrapper before used
                                                          it.
System programmer response: No System
Programmer response is required.                          System programmer response: No System
                                                          Programmer response is required.
Problem determination: No additional information.
                                                          Problem determination: No additional information.
Source: PHP
                                                          Source: PHP
Module: Not applicable.
                                                          Module: Not applicable.
Routing code: Not applicable.
                                                          Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                          Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                          Automation: Not applicable.
HPH00687      remote host file access not supported,
              ’string’                                    HPH00689       URL file-access is disabled in the
                                                                         server configuration
Explanation: The ″file″ protocol wrapper cannot be
used with any hostnames other than ″localhost″.           Explanation: When the setting ″allow_url_fopen″ is
                                                          disabled in php.ini, calling the HTTP protocol wrapper in
string
                                                          PHP scripts will print this warning message.
     Other message information
                                                          Example: Warning: fopen(): HPH00689 URL
Example: Warning: fopen(): HPH00687 remote host
                                                          file-access is disabled in the server configuration in
file access not supported, file://localhost1/aaa.txt in
                                                          test.php on line 5
test.php on line 5
                                                          System action: Displays the warning and continues
System action: Displays the warning and continues
                                                          interpreting the script.
interpreting the script.
                                                          Operator response: No System Operator response is
Operator response: No System Operator response is
                                                          required.
required.
                                                          User response: User need enable ″allow_url_fopen″
User response: file:// is the default protocol wrapper
                                                          in php.ini. Otherwise, alter the script so that it does not
in PHP and represents the local filesystem. Change the
                                                          call the HTTP protocol wrapper.
PHP script so that the URL resembles the following:
″file://localhost/...″.                                   System programmer response: No System
                                                          Programmer response is required.
System programmer response: No System
Programmer response is required.                          Problem determination: No additional information.
Problem determination: No additional information.         Source: PHP
Source: PHP                                               Module: Not applicable.
Module: Not applicable.                                   Routing code: Not applicable.
Routing code: Not applicable.                             Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).            Automation: Not applicable.
Automation: Not applicable.
                                                          HPH00690       This function may only be used
                                                                         against URLs.
HPH00688      Plainfiles wrapper disabled
                                                          Explanation: This function may only be used against
Explanation: Plainfiles wrapper disabled.
                                                          URLs.
Example: Warning: fopen(): HPH00688 Plainfiles
                                                          Example: HPH00690 This function may only be used
wrapper disabled in /home/mytx/debug_php/688.php on
                                                          against URLs.
line 53
                                                          System action: Displays the warning and continues
System action: Displays the warning and continues
                                                          interpreting the script.
interpreting the script.
                                                          Operator response: No System Operator response is
Operator response: No System Operator response is
                                                          required.
required.


                                                                                     Chapter 6. PHP messages       153
User response: Make sure that current wrapper                   Source: PHP
support URLs.
                                                                Module: Not applicable.
System programmer response: No System
                                                                Routing code: Not applicable.
Programmer response is required.
                                                                Descriptor code: F- A fatal error (PHP exits
Problem determination: No additional information.
                                                                immediately).
Source: PHP
                                                                Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.                                   HPH00698       cannot cast a filtered stream on this
                                                                               system
Descriptor code: W- A warning (PHP continues).
                                                                Explanation: The PHP script casted a stream that
Automation: Not applicable.
                                                                have been filtered.
                                                                Example: Warning: proc_open(): HPH00698 cannot
HPH00691     could not make seekable - string
                                                                cast a filtered stream on this system in
Explanation: Current wrapper could not make                     /home/mytx/debug_php/698.php on line 22
seekable.
                                                                System action: Displays the warning and continues
string                                                          interpreting the script.
     File Name
                                                                Operator response: No System Operator response is
Example: Warning: HPH00691 could not make                       required.
seekable - ″http://www.sina.com/index.html″
                                                                User response: Make sure that user cannot casted a
System action: Displays the warning and continues               stream that have been filtered.
interpreting the script.
                                                                System programmer response: No System
Operator response: No System Operator response is               Programmer response is required.
required.
                                                                Problem determination: No additional information.
User response: Make sure current wrapper supports
                                                                Source: PHP
seeking.
                                                                Module: Not applicable.
System programmer response: No System
Programmer response is required.                                Routing code: Not applicable.
Problem determination: No additional information.               Descriptor code: W- A warning (PHP continues).
Source: PHP                                                     Automation: Not applicable.
Module: Not applicable.
                                                                HPH00699       cannot represent a stream of type
Routing code: Not applicable.
                                                                               string1 as a string2
Descriptor code: W- A warning (PHP continues).
                                                                Explanation: PHP cannot represent a stream of type
Automation: Not applicable.                                     as other descriptor .
                                                                string1
HPH00697     fopencookie failed                                      Stream Type
Explanation: Fopencookie failed.                                string2
                                                                     Descriptor Name
Example: Fatal error: HPH00697 fopencookie failed
                                                                Example: Warning: proc_open(): HPH00699 cannot
System action: PHP immediately stops interpreting               represent a stream of type user-space as a File
the file (before any statements are run) and exits.             Descriptor in /home/mytx/debug_php/699.php on line 66
Operator response: No System Operator response is               System action: Displays the warning and continues
required.                                                       interpreting the script.
User response: Make sure can access cookie file and             Operator response: No System Operator response is
have enough memory.                                             required.
System programmer response: No System                           User response: Make sure that PHP cannot represent
Programmer response is required.                                a stream of a type as other Descriptor, user can find
Problem determination: No additional information.               right descriptors in PHP manual.


154    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
System programmer response: No System                      User response: Check the script and make sure that
Programmer response is required.                           the used stream filter name exist. Current version only
                                                           support: string.rot13, string.toupper, string.tolower,
Problem determination: No additional information.
                                                           string.strip_tags, convert.*, convert.iconv.* OR other
Source: PHP                                                user-defined filters.
Module: Not applicable.                                    System programmer response: No System
                                                           Programmer response is required.
Routing code: Not applicable.
                                                           Problem determination: No additional information.
Descriptor code: W- A warning (PHP continues).
                                                           Source: PHP
Automation: Not applicable.
                                                           Module: Not applicable.
HPH00700      unable to locate filter ’string’             Routing code: Not applicable.
Explanation: PHP scripts used a undefined stream           Descriptor code: W- A warning (PHP continues).
filter factory.
                                                           Automation: Not applicable.
string
     stream filters name
                                                           HPH00702       Filter failed to process pre-buffered
Example: Warning: stream_filter_prepend():                                data. Not adding to filterchain.
HPH00700 unable to locate filter ″rot14″ in
                                                           Explanation: Filter failed to process pre-buffered data.
/home/mytx/debug_php/700.php on line 3
                                                           PHP cannot add it to filterchain.
System action: Displays the warning and continues
                                                           Example: Warning: HPH00702 Filter failed to process
interpreting the script.
                                                           pre-buffered data. Not adding to filterchain.
Operator response: No System Operator response is
                                                           System action: Displays the warning and continues
required.
                                                           interpreting the script.
User response: Make sure that the used stream filter
                                                           Operator response: No System Operator response is
factory exist. Current version only support: string,
                                                           required.
convert, convert.iconv OR other user-defined filters
factory.                                                   User response: If this first cycle simply fails then
                                                           there’s something wrong with the filter. Pull the filter off
System programmer response: No System
                                                           the chain and leave the read buffer alone.
Programmer response is required.
                                                           System programmer response: No System
Problem determination: No additional information.
                                                           Programmer response is required.
Source: PHP
                                                           Problem determination: No additional information.
Module: Not applicable.
                                                           Source: PHP
Routing code: Not applicable.
                                                           Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                           Routing code: Not applicable.
Automation: Not applicable.
                                                           Descriptor code: W- A warning (PHP continues).
                                                           Automation: Not applicable.
HPH00701      unable to create or locate filter ’string’
Explanation: PHP scripts used a undefined stream
                                                           HPH00703       unable to allocate stream
filters.
                                                           Explanation: PHP unable to allocate stream.
string
     stream filters name                                   Example: Warning: HPH00703 unable to allocate
                                                           stream
Example: Warning: stream_filter_prepend():
HPH00701 unable to create or locate filter ″string.rot4″   System action: Displays the warning and continues
in /home/mytx/debug_php/700.php on line 3                  interpreting the script.
System action: Displays the warning and continues          Operator response: No System Operator response is
interpreting the script.                                   required.
Operator response: No System Operator response is          User response: PHP unable to allocate stream, may
required.                                                  be either: programmer error OR no memory.


                                                                                      Chapter 6. PHP messages      155
System programmer response: No System                           Source: PHP
Programmer response is required.
                                                                Module: Not applicable.
Problem determination: No additional information.
                                                                Routing code: Not applicable.
Source: PHP
                                                                Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                                Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: I- An internal error not caused by             HPH00716       Protocol string:// is already defined.
user (a programming error in PHP).
                                                                Explanation: PHP register a URL wrapper that have
Automation: Not applicable.                                     been defined.
                                                                string
HPH00705     cannot seek on a pipe                                   Protocol Name
Explanation: PHP cannot seek on a pipe.                         Example: Warning: stream_wrapper_register():
                                                                HPH00716 Protocol php:// is already defined. in
Example: Warning: fseek(): HPH00705 cannot seek
                                                                /home/mytx/debug_php/716.php on line 77
on a pipe in /home/mytx/debug_php/705.php on line 4
                                                                System action: Displays the warning and continues
System action: Displays the warning and continues
                                                                interpreting the script.
interpreting the script.
                                                                Operator response: No System Operator response is
Operator response: No System Operator response is
                                                                required.
required.
                                                                User response: Make sure that wrapper protocol
User response: make sure that the seeking file’s
                                                                undefined, User can list all defined wrapper protocol
handle isn’t a pipe.
                                                                name by used follow scripts:
System programmer response: No System                           print_r(stream_get_wrappers());
Programmer response is required.
                                                                System programmer response: No System
Problem determination: No additional information.               Programmer response is required.
Source: PHP                                                     Problem determination: No additional information.
Module: Not applicable.                                         Source: PHP
Routing code: Not applicable.                                   Module: Not applicable.
Descriptor code: W- A warning (PHP continues).                  Routing code: Not applicable.
Automation: Not applicable.                                     Descriptor code: W- A warning (PHP continues).
                                                                Automation: Not applicable.
HPH00706     `string’ is not a valid mode for fopen
Explanation: PHP scripts used valid mode for fopen.             HPH00717       Unable to register wrapper class string1
                                                                               to string2://
string
     fopen mode                                                 Explanation: PHP cannot register a URL wrapper that
                                                                implemented as a PHP class.
Example: Warning: HPH00706 `h’ is not a valid mode
for fopen                                                       string1
                                                                     Class Name
System action: Displays the warning and continues
interpreting the script.                                        string2
                                                                     Protocol Name
Operator response: No System Operator response is
required.                                                       Example: Warning: HPH00717 Unable to register
                                                                wrapper class AClass to AProtocol://
User response: Make sure that fopen’s mode allowed
by the PHP defined, It should be any of the following:          System action: Displays the warning and continues
’r’, ’r+’, ’w’, ’w+’, ’a’, ’a+’, ’x’, ’x+’.                     interpreting the script.
System programmer response: No System                           Operator response: No System Operator response is
Programmer response is required.                                required.
Problem determination: No additional information.               User response: Make sure that PHP cannot register a
                                                                URL wrapper implemented as a PHP class.

156    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
System programmer response: No System                      name by used follow scripts:
Programmer response is required.                           print_r(stream_get_wrappers());
Problem determination: No additional information.          System programmer response: No System
                                                           Programmer response is required.
Source: PHP
                                                           Problem determination: No additional information.
Module: Not applicable.
                                                           Source: PHP
Routing code: Not applicable.
                                                           Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                           Routing code: Not applicable.
Automation: Not applicable.
                                                           Descriptor code: W- A warning (PHP continues).
HPH00718      class ’string’ is undefined                  Automation: Not applicable.
Explanation: PHP used undeclare class in function
stream_wrapper_register().                                 HPH00720      string:// was never changed, nothing to
                                                                         restore
string
     class name                                            Explanation: PHP cannot restore a stream wrapper
                                                           that was never changed.
Example: Warning: stream_register_wrapper():
HPH00718 class ’VariableStream1’ is undefined in           string
/home/mytx/debug_php/718.php on line 2                          stream wrapper name
System action: Displays the warning and continues          Example: Notice: stream_wrapper_restore():
interpreting the script.                                   HPH00720 file1:// was never changed, nothing to
                                                           restore in /home/mytx/debug_php/720.php on line 6
Operator response: No System Operator response is
required.                                                  System action: Displays the warning and continues
                                                           interpreting the script.
User response: Make sure that class name validated
in function stream_wrapper_register().                     Operator response: No System Operator response is
                                                           required.
System programmer response: No System
Programmer response is required.                           User response: Check PHP scripts, make sure that
                                                           PHP changed stream wrapper before restoring.
Problem determination: No additional information.
                                                           System programmer response: No System
Source: PHP
                                                           Programmer response is required.
Module: Not applicable.
                                                           Problem determination: No additional information.
Routing code: Not applicable.
                                                           Source: PHP
Descriptor code: W- A warning (PHP continues).
                                                           Module: Not applicable.
Automation: Not applicable.
                                                           Routing code: Not applicable.
                                                           Descriptor code: W- A warning (PHP continues).
HPH00719      Unable to unregister protocol string://
                                                           Automation: Not applicable.
Explanation: PHP unregister a URL wrapper that
haven’t been defined.
                                                           HPH00721      string:// never existed, nothing to
string
                                                                         restore
     Protocol Name
                                                           Explanation: PHP restored an undefined stream
Example: Warning: stream_wrapper_unregister():
                                                           wrapper.
HPH00719 Unable to unregister protocol php1:// in
/home/mytx/debug_php/719.php on line 2                     string
                                                                stream wrapper name
System action: Displays the warning and continues
interpreting the script.                                   Example: Warning: stream_wrapper_restore():
                                                           HPH00721 file1:// never existed, nothing to restore in
Operator response: No System Operator response is
                                                           /home/mytx/debug_php/721.php on line 6
required.
                                                           System action: Displays the warning and continues
User response: Make sure that wrapper protocol have
                                                           interpreting the script.
been defined, User can list all defined wrapper protocol


                                                                                    Chapter 6. PHP messages    157
Operator response: No System Operator response is               System action: Displays the warning and continues
required.                                                       interpreting the script.
User response: Make sure that stream wrapper                    Operator response: No System Operator response is
exists.                                                         required.
System programmer response: No System                           User response: Make sure the wrapper support the
Programmer response is required.                                ″write″ function.
Problem determination: No additional information.               System programmer response: No System
                                                                Programmer response is required.
Source: PHP
                                                                Problem determination: No additional information.
Module: Not applicable.
                                                                Source: PHP
Routing code: Not applicable.
                                                                Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Routing code: Not applicable.
Automation: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
HPH00722     Unable to restore original string://               Automation: Not applicable.
             wrapper
Explanation: PHP unable to restore original build-in            HPH00724       string::″ USERSTREAM_WRITE ″ wrote
wrapper that had been unregisterd.                                             integer bytes more data than requested
                                                                               (integer written, integer max)
string
     Protocol Name                                              Explanation: PHP used stream wrapper that write
                                                                data overflow.
Example: Warning: HPH00722 Unable to restore
original http:// wrapper                                        string
                                                                     stream wrapper name
System action: Displays the warning and continues
interpreting the script.                                        integer
                                                                     overflow bytes
Operator response: No System Operator response is
required.                                                       integer
                                                                     returned bytes
User response: Make sure that the original wrapper
had not been unregisterd.                                       integer
                                                                     want writed bytes
System programmer response: No System
Programmer response is required.                                Example: Warning: fwrite(): HPH00724
                                                                mystream::stream_write wrote 97 bytes more data than
Problem determination: No additional information.
                                                                requested (100 written, 3 max) in /home/mytx/
Source: PHP                                                     debug_php/724.php on line 28

Module: Not applicable.                                         System action: Displays the warning and continues
                                                                interpreting the script.
Routing code: Not applicable.
                                                                Operator response: No System Operator response is
Descriptor code: W- A warning (PHP continues).                  required.
Automation: Not applicable.                                     User response: Check the ″write″ function code,
                                                                make sure it is right.
HPH00723     string::″ USERSTREAM_WRITE ″ is not                System programmer response: No System
             implemented!                                       Programmer response is required.
Explanation: PHP used stream wrapper that does not              Problem determination: No additional information.
support the ″write″ function.
                                                                Source: PHP
string
     stream wrapper name                                        Module: Not applicable.

Example: Warning: fwrite(): HPH00723                            Routing code: Not applicable.
mystream::stream_write is not implemented! in
                                                                Descriptor code: W- A warning (PHP continues).
/home/mytx/debug_php/723.php on line 23
                                                                Automation: Not applicable.


158    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
System programmer response: No System
HPH00725      string::″ USERSTREAM_READ ″ - read
                                                          Programmer response is required.
              integer bytes more data than requested
              (integer read, integer max) - excess data   Problem determination: No additional information.
              will be lost
                                                          Source: PHP
Explanation: PHP used stream wrapper that read
data overflow.                                            Module: Not applicable.

string                                                    Routing code: Not applicable.
     stream wrapper name                                  Descriptor code: W- A warning (PHP continues).
integer                                                   Automation: Not applicable.
     overflow bytes
integer                                                   HPH00727     string::″ USERSTREAM_TELL ″ is not
     returned bytes                                                    implemented!
integer                                                   Explanation: PHP used stream wrapper that does not
     want readed bytes                                    support the ″tell″ function.
Example: Warning: fread(): HPH00725                       string
mystream::stream_read - read 1808 bytes more data              stream wrapper name
than requested (10000 read, 8192 max) - excess data
will be lost in /home/mytx/debug_php/725.php on line 40   Example: Warning: fseek(): HPH00727
                                                          mystream::stream_tell is not implemented! in
System action: Displays the warning and continues         /home/mytx/debug_php/727.php on line 27
interpreting the script.
                                                          System action: Displays the warning and continues
Operator response: No System Operator response is         interpreting the script.
required.
                                                          Operator response: No System Operator response is
User response: Check the ″read″ function code, make       required.
sure it is right.
                                                          User response: Make sure the wrapper support the
System programmer response: No System                     ″tell″ function.
Programmer response is required.
                                                          System programmer response: No System
Problem determination: No additional information.         Programmer response is required.
Source: PHP                                               Problem determination: No additional information.
Module: Not applicable.                                   Source: PHP
Routing code: Not applicable.                             Module: Not applicable.
Descriptor code: W- A warning (PHP continues).            Routing code: Not applicable.
Automation: Not applicable.                               Descriptor code: W- A warning (PHP continues).
                                                          Automation: Not applicable.
HPH00726      string::″ USERSTREAM_READ ″ is not
              implemented!
                                                          HPH00728     string::″ USERSTREAM_STAT ″ is not
Explanation: PHP used stream wrapper that does not                     implemented!
support the ″read″ function.
                                                          Explanation: PHP used stream wrapper that does not
string                                                    support the ″stat″ function.
     stream wrapper name
                                                          string
Example: Warning: fread(): HPH00726                            stream wrapper name
mystream::stream_read is not implemented! in
/home/mytx/debug_php/726.php on line 23                   Example: Warning: fstat(): HPH00728
                                                          mystream::stream_stat is not implemented! in
System action: Displays the warning and continues         /home/mytx/debug_php/728.php on line 27
interpreting the script.
                                                          System action: Displays the warning and continues
Operator response: No System Operator response is         interpreting the script.
required.
                                                          Operator response: No System Operator response is
User response: Make sure the wrapper support the          required.
″read″ function.

                                                                                  Chapter 6. PHP messages   159
User response: Make sure the wrapper support the                Operator response: No System Operator response is
″stat″ function.                                                required.
System programmer response: No System                           User response: Make sure the wrapper support the
Programmer response is required.                                ″unlink″ function.
Problem determination: No additional information.               System programmer response: No System
                                                                Programmer response is required.
Source: PHP
                                                                Problem determination: No additional information.
Module: Not applicable.
                                                                Source: PHP
Routing code: Not applicable.
                                                                Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Routing code: Not applicable.
Automation: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
HPH00729     string::″ USERSTREAM_LOCK ″ is not                 Automation: Not applicable.
             implemented!
Explanation: PHP used stream wrapper that does not              HPH00731       string::″ USERSTREAM_RENAME ″ is
support the ″lock″ function.                                                   not implemented!
string                                                          Explanation: PHP used stream wrapper that does not
     stream wrapper name                                        support the ″rename″ function.
Example: Warning: flock(): HPH00729                             string
mystream::stream_lock is not implemented! in                         stream wrapper name
/home/mytx/debug_php/729.php on line 27
                                                                Example: Warning: rename(): HPH00731
System action: Displays the warning and continues               mystream::rename is not implemented! in
interpreting the script.                                        /home/mytx/debug_php/731.php on line 23
Operator response: No System Operator response is               System action: Displays the warning and continues
required.                                                       interpreting the script.
User response: Make sure the wrapper support the                Operator response: No System Operator response is
″lock″ function.                                                required.
System programmer response: No System                           User response: Make sure the wrapper support the
Programmer response is required.                                ″rename″ function.
Problem determination: No additional information.               System programmer response: No System
                                                                Programmer response is required.
Source: PHP
                                                                Problem determination: No additional information.
Module: Not applicable.
                                                                Source: PHP
Routing code: Not applicable.
                                                                Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Routing code: Not applicable.
Automation: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
HPH00730     string::″ USERSTREAM_UNLINK ″ is not               Automation: Not applicable.
             implemented!
Explanation: PHP used stream wrapper that does not              HPH00732       string::″ USERSTREAM_MKDIR ″ is not
support the ″unlink″ function.                                                 implemented!
string                                                          Explanation: PHP used stream wrapper that does not
     stream wrapper name                                        support the ″mkdir″ function.
Example: Warning: unlink(): HPH00730                            string
mystream::unlink is not implemented! in                              stream wrapper name
/home/mytx/debug_php/730.php on line 27
                                                                Example: Warning: mkdir(): HPH00732
System action: Displays the warning and continues               mystream::mkdir is not implemented! in
interpreting the script.                                        /home/mytx/debug_php/732.php on line 23


160    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
System action: Displays the warning and continues    mystream::url_stat is not implemented! in
interpreting the script.                             /home/mytx/debug_php/734.php on line 23
Operator response: No System Operator response is    System action: Displays the warning and continues
required.                                            interpreting the script.
User response: Make sure the wrapper support the     Operator response: No System Operator response is
″mkdir″ function.                                    required.
System programmer response: No System                User response: Make sure the wrapper support the
Programmer response is required.                     ″url_stat″ function.
Problem determination: No additional information.    System programmer response: No System
                                                     Programmer response is required.
Source: PHP
                                                     Problem determination: No additional information.
Module: Not applicable.
                                                     Source: PHP
Routing code: Not applicable.
                                                     Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                     Routing code: Not applicable.
Automation: Not applicable.
                                                     Descriptor code: W- A warning (PHP continues).
HPH00733     string::″ USERSTREAM_RMDIR ″ is not     Automation: Not applicable.
             implemented!
Explanation: PHP used stream wrapper that does not   HPH00735      string::″ USERSTREAM_DIR_READ ″ is
support the ″rmdir″ function.                                      not implemented!
string                                               Explanation: PHP used stream wrapper that does not
     stream wrapper name                             support the ″readdir″ function.
Example: Warning: rmdir(): HPH00733                  string
mystream::rmdir is not implemented! in                    stream wrapper name
/home/mytx/debug_php/733.php on line 23
                                                     Example: Warning: readdir(): HPH00735
System action: Displays the warning and continues    mystream::dir_readdir is not implemented! in
interpreting the script.                             /home/mytx/debug_php/735.php on line 23
Operator response: No System Operator response is    System action: Displays the warning and continues
required.                                            interpreting the script.
User response: Make sure the wrapper support the     Operator response: No System Operator response is
″rmdir″ function.                                    required.
System programmer response: No System                User response: Make sure the wrapper support the
Programmer response is required.                     ″readdir″ function.
Problem determination: No additional information.    System programmer response: No System
                                                     Programmer response is required.
Source: PHP
                                                     Problem determination: No additional information.
Module: Not applicable.
                                                     Source: PHP
Routing code: Not applicable.
                                                     Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                     Routing code: Not applicable.
Automation: Not applicable.
                                                     Descriptor code: W- A warning (PHP continues).
HPH00734     string::″ USERSTREAM_STATURL ″ is       Automation: Not applicable.
             not implemented!
Explanation: PHP used stream wrapper that does not   HPH00736      connect() failed: string
support the ″url_stat″ function.
                                                     Explanation: PHP connect to wrong URL link.
string
                                                     string
     stream wrapper name
                                                          Error Detail Information
Example: Warning: copy(): HPH00734
                                                     Example: Warning: fopen(): HPH00736 connect()

                                                                               Chapter 6. PHP messages   161
failed: No route to host in /home/mytx/debug_php/               System action: Displays the warning and continues
736.php on line 4                                               interpreting the script.
System action: Displays the warning and continues               Operator response: No System Operator response is
interpreting the script.                                        required.
Operator response: No System Operator response is               User response: Maybe nerwork error, user can see
required.                                                       more detal information in this message.
User response: Make sure that URL link is valid in              System programmer response: No System
connect function, user can find more information in             Programmer response is required.
current message.
                                                                Problem determination: No additional information.
System programmer response: No System
                                                                Source: PHP
Programmer response is required.
                                                                Module: Not applicable.
Problem determination: No additional information.
                                                                Routing code: Not applicable.
Source: PHP
                                                                Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                                Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                HPH00739       Unable to find the socket transport
Automation: Not applicable.                                                    ″string″ - did you forget to enable it
                                                                               when you configured PHP?
HPH00737      bind() failed: string                             Explanation: User used a unregisted protocol.
Explanation: PHP bind to wrong IP or wrong port.                string
                                                                     Protocol name
string
     Error Detail Information                                   Example: HPH00739 Unable to find the socket
                                                                transport ″htcp″ - did you forget to enable it when you
Example: Warning: fopen(): HPH00737 bind() failed:
                                                                configured PHP?
Cannot assign requested address in
/home/mytx/debug_php/736.php on line 4                          System action: Displays the warning and continues
                                                                interpreting the script.
System action: Displays the warning and continues
interpreting the script.                                        Operator response: No System Operator response is
                                                                required.
Operator response: No System Operator response is
required.                                                       User response: Make sure that URL’s protocol is
                                                                valid, current version only support: tcp, udp, unix, udg.
User response: Make sure that URL IP and port is
                                                                For more information, user can consult with PHP
valid in bind function, user can find more information in
                                                                manual at www.php.net.
current message.
                                                                System programmer response: No System
System programmer response: No System
                                                                Programmer response is required.
Programmer response is required.
                                                                Problem determination: No additional information.
Problem determination: No additional information.
                                                                Source: PHP
Source: PHP
                                                                Module: Not applicable.
Module: Not applicable.
                                                                Routing code: Not applicable.
Routing code: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).
                                                                Automation: Not applicable.
Automation: Not applicable.

                                                                HPH00740       Unspecified error
HPH00738      listen() failed: string
                                                                Explanation: --remove--
Explanation: PHP listen wrong.
                                                                Example: HPH00740 Unspecified error
string
     Error Detail Information                                   System action: Displays the warning and continues
                                                                interpreting the script.
Example: HPH00738 listen() failed: network error

162    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Operator response: No System Operator response is       Problem determination: No additional information.
required.
                                                        Source: PHP
User response: --remove--
                                                        Module: Not applicable.
System programmer response: No System
                                                        Routing code: Not applicable.
Programmer response is required.
                                                        Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.
                                                        Automation: Not applicable.
Source: PHP
Module: Not applicable.
                                                        HPH00744      cannot peek or fetch OOB data from a
Routing code: Not applicable.                                         filtered stream
Descriptor code: W- A warning (PHP continues).          Explanation: --removed--
Automation: Not applicable.                             Example: HPH00744 cannot peek or fetch OOB data
                                                        from a filtered stream
HPH00741     Could not find a factory !?                System action: Displays the warning and continues
                                                        interpreting the script.
Explanation: PHP could not find this network factory.
                                                        Operator response: No System Operator response is
Example: Warning: HPH00741 Could not find a
                                                        required.
factory !?
                                                        User response: --removed--
System action: Displays the warning and continues
interpreting the script.                                System programmer response: No System
                                                        Programmer response is required.
Operator response: No System Operator response is
required.                                               Problem determination: No additional information.
User response: Make sure that network factory is        Source: PHP
valid.
                                                        Module: Not applicable.
System programmer response: No System
                                                        Routing code: Not applicable.
Programmer response is required.
                                                        Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.
                                                        Automation: Not applicable.
Source: PHP
Module: Not applicable.
                                                        HPH00745      cannot write OOB data, or data to a
Routing code: Not applicable.                                         targeted address on a filtered stream
Descriptor code: W- A warning (PHP continues).          Explanation: PHP cannot write OOB(out-of-band)
                                                        data, or data to a targeted address on a filtered stream.
Automation: Not applicable.
                                                        Example: Warning: stream_socket_sendto():
                                                        HPH00745 cannot write OOB data, or data to a targeted
HPH00742     this stream does not support
                                                        address on a filtered stream in /home/mytx/debug_php/
             SSL/crypto
                                                        745.php on line 26
Explanation: This stream does not support
                                                        System action: Displays the warning and continues
SSL/crypto.
                                                        interpreting the script.
Example: Warning: stream_socket_enable_crypto():
                                                        Operator response: No System Operator response is
HPH00742 this stream does not support SSL/crypto in
                                                        required.
/home/mytx/debug_php/742.php on line 4
                                                        User response: Make sure that user cannot write
System action: Displays the warning and continues
                                                        OOB(out-of-band) data, or data to a targeted address
interpreting the script.
                                                        on a filtered stream.
Operator response: No System Operator response is
                                                        System programmer response: No System
required.
                                                        Programmer response is required.
User response: Make sure that this stream support
                                                        Problem determination: No additional information.
SSL/crypto.
                                                        Source: PHP
System programmer response: No System
Programmer response is required.                        Module: Not applicable.

                                                                                 Chapter 6. PHP messages     163
Routing code: Not applicable.                                   Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                HPH00752       Reducing stack by rule %d (line %u),
Automation: Not applicable.
                                                                Explanation: --removed--
HPH00746        send of integer1 bytes failed with              Example: HPH00752 Reducing stack by rule %d (line
                errno=integer2 string                           %u),
Explanation: PHP send failed.                                   System action: Displays the warning and continues
                                                                interpreting the script.
integer1
     Sent bytes                                                 Operator response: No System Operator response is
                                                                required.
integer2
     Error ID                                                   User response: --removed--
string                                                          System programmer response: No System
     Error Information                                          Programmer response is required.
Example: Notice: HPH00746 send of 10244 bytes                   Problem determination: No additional information.
failed with errno=100 Network is down
                                                                Source: PHP
System action: Displays the warning and continues
                                                                Module: Not applicable.
interpreting the script.
                                                                Routing code: Not applicable.
Operator response: No System Operator response is
required.                                                       Descriptor code: W- A warning (PHP continues).
User response: Maybe network error, user can find               Automation: Not applicable.
more information in current message.
System programmer response: No System                           HPH00755       Starting parsen
Programmer response is required.
                                                                Explanation: --removed--
Problem determination: No additional information.
                                                                Example: HPH00755 Starting parsen
Source: PHP
                                                                System action: Displays the warning and continues
Module: Not applicable.                                         interpreting the script.
Routing code: Not applicable.                                   Operator response: No System Operator response is
                                                                required.
Descriptor code: W- A warning (PHP continues).
                                                                User response: --removed--
Automation: Not applicable.
                                                                System programmer response: No System
                                                                Programmer response is required.
HPH00749        Stack now
                                                                Problem determination: No additional information.
Explanation: --removed--
                                                                Source: PHP
Example: HPH00749 Stack now
                                                                Module: Not applicable.
System action: Displays the warning and continues
interpreting the script.                                        Routing code: Not applicable.
Operator response: No System Operator response is               Descriptor code: W- A warning (PHP continues).
required.
                                                                Automation: Not applicable.
User response: --removed--
System programmer response: No System                           HPH00756       Stack size increased to %lun
Programmer response is required.
                                                                Explanation: --removed--
Problem determination: No additional information.
                                                                Example: HPH00756 Stack size increased to %lun
Source: PHP
                                                                System action: Displays the warning and continues
Module: Not applicable.                                         interpreting the script.
Routing code: Not applicable.                                   Operator response: No System Operator response is
                                                                required.
Descriptor code: W- A warning (PHP continues).

164    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
User response: --removed--
                                                    HPH00759     Now at end of input.n
System programmer response: No System
                                                    Explanation: --removed--
Programmer response is required.
                                                    Example: HPH00759 Now at end of input.n
Problem determination: No additional information.
                                                    System action: Displays the warning and continues
Source: PHP
                                                    interpreting the script.
Module: Not applicable.
                                                    Operator response: No System Operator response is
Routing code: Not applicable.                       required.
Descriptor code: W- A warning (PHP continues).      User response: --removed--
Automation: Not applicable.                         System programmer response: No System
                                                    Programmer response is required.
HPH00757     Entering state %dn                    Problem determination: No additional information.
Explanation: --removed--                            Source: PHP
Example: HPH00757 Entering state %dn               Module: Not applicable.
System action: Displays the warning and continues   Routing code: Not applicable.
interpreting the script.
                                                    Descriptor code: W- A warning (PHP continues).
Operator response: No System Operator response is
                                                    Automation: Not applicable.
required.
User response: --removed--
                                                    HPH00760     Shifting token %s,
System programmer response: No System
                                                    Explanation: --removed--
Programmer response is required.
                                                    Example: HPH00760 Shifting token %s,
Problem determination: No additional information.
                                                    System action: Displays the warning and continues
Source: PHP
                                                    interpreting the script.
Module: Not applicable.
                                                    Operator response: No System Operator response is
Routing code: Not applicable.                       required.

Descriptor code: W- A warning (PHP continues).      User response: --removed--
Automation: Not applicable.                         System programmer response: No System
                                                    Programmer response is required.

HPH00758     Reading a token:                       Problem determination: No additional information.
Explanation: --removed--                            Source: PHP
Example: HPH00758 Reading a token:                  Module: Not applicable.
System action: Displays the warning and continues   Routing code: Not applicable.
interpreting the script.
                                                    Descriptor code: W- A warning (PHP continues).
Operator response: No System Operator response is
                                                    Automation: Not applicable.
required.
User response: --removed--
                                                    HPH00761     Shifting error token,
System programmer response: No System
                                                    Explanation: --removed--
Programmer response is required.
                                                    Example: HPH00761 Shifting error token,
Problem determination: No additional information.
                                                    System action: Displays the warning and continues
Source: PHP
                                                    interpreting the script.
Module: Not applicable.
                                                    Operator response: No System Operator response is
Routing code: Not applicable.                       required.
Descriptor code: W- A warning (PHP continues).      User response: --removed--
Automation: Not applicable.                         System programmer response: No System

                                                                           Chapter 6. PHP messages   165
Programmer response is required.                                Problem determination: No additional information.
Problem determination: No additional information.               Source: PHP
Source: PHP                                                     Module: Not applicable.
Module: Not applicable.                                         Routing code: Not applicable.
Routing code: Not applicable.                                   Descriptor code: F- A fatal error (PHP exits
                                                                immediately).
Descriptor code: W- A warning (PHP continues).
                                                                Automation: Not applicable.
Automation: Not applicable.

                                                                HPH00764       var: Deprecated. Please use the
HPH00762     __HALT_COMPILER() can only be used
                                                                               public/private/protected modifiers
             from the outermost scope
                                                                Explanation: PHP deprecated using ″var″.
Explanation: __HALT_COMPILER() can only be used
from the outermost scope.                                       Example: Strict Standards: HPH00764 var:
                                                                Deprecated. Please use the public/private/protected
Example: Fatal error: HPH00762
                                                                modifiers in /home/mytx/debug_php/764.php on line 6
__HALT_COMPILER() can only be used from the
outermost scope in /home/mytx/debug_php/762.php on              System action: Displays the warning and continues
line 8                                                          interpreting the script.
System action: PHP immediately stops interpreting               Operator response: No System Operator response is
the file (before any statements are run) and exits.             required.
Operator response: No System Operator response is               User response: User should use following syntax,
required.                                                       sush as ’public’ ’private’ and ’protected’.
User response: Make sure not to use                             System programmer response: No System
__HALT_COMPILER() function.                                     Programmer response is required.
System programmer response: No System                           Problem determination: No additional information.
Programmer response is required.
                                                                Source: PHP
Problem determination: No additional information.
                                                                Module: Not applicable.
Source: PHP
                                                                Routing code: Not applicable.
Module: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                                Automation: Not applicable.
Descriptor code: F- A fatal error (PHP exits
immediately).
                                                                HPH00765       Assigning the return value of new by
Automation: Not applicable.                                                    reference is deprecated
                                                                Explanation: PHP deprecated assigning the return
HPH00763     use: Not yet supported. Please use                 value of new by reference.
             include_once() or require_once()
                                                                Example: Strict Standards: HPH00765 Assigning the
Explanation: PHP does not support use() now.                    return value of new by reference is deprecated in
                                                                /home/mytx/debug_php/765.php on line 7
Example: Fatal error: HPH00763 use: Not yet
supported. Please use include_once() or require_once()          System action: Displays the warning and continues
in /home/mytx/debug_php/763.php on line 4                       interpreting the script.
System action: PHP immediately stops interpreting               Operator response: No System Operator response is
the file (before any statements are run) and exits.             required.
Operator response: No System Operator response is               User response: Make sure that user cannot assign
required.                                                       the return value of new by reference.
User response: PHP does not support use() now.                  System programmer response: No System
User should replace it with include_once() or                   Programmer response is required.
require_once().
                                                                Problem determination: No additional information.
System programmer response: No System
                                                                Source: PHP
Programmer response is required.

166    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Module: Not applicable.
                                                        HPH00769           Unterminated comment starting line
Routing code: Not applicable.                                              integer
Descriptor code: W- A warning (PHP continues).          Explanation: User uses unterminated comment in
                                                        PHP scripts.
Automation: Not applicable.
                                                        integer
                                                             line number
HPH00766     %sn
                                                        Example: Warning: HPH00769 Unterminated comment
Explanation: --removed--                                starting line 3 in /home/mytx/debug_php/769.php on line
Example: HPH00766 %sn                                  3

System action: Displays the warning and continues       System action: Displays the warning and continues
interpreting the script.                                interpreting the script.

Operator response: No System Operator response is       Operator response: No System Operator response is
required.                                               required.

User response: --removed--                              User response: Make sure that comment has
                                                        terminated in PHP scripts.
System programmer response: No System
Programmer response is required.                        System programmer response: No System
                                                        Programmer response is required.
Problem determination: No additional information.
                                                        Problem determination: No additional information.
Source: PHP
                                                        Source: PHP
Module: Not applicable.
                                                        Module: Not applicable.
Routing code: Not applicable.
                                                        Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                        Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                        Automation: Not applicable.

HPH00768     Hex number is too big: string
                                                        HPH00770           Unexpected character in input: ’char’
Explanation: Hex number is too big.                                        (ASCII=integer1) state=integer2
string                                                  Explanation: User uses an unexpected character in
     Hex number                                         PHP scripts.
Example: Notice: HPH00768 Hex number is too big:        char
0x100000000000 in /home/mytx/debug_php/768.php on              character
line 7
                                                        integer1
System action: Displays the warning and continues            decimalism
interpreting the script.
                                                        integer2
Operator response: No System Operator response is            state
required.
                                                        Example: Warning: HPH00770 Unexpected character
User response: Make sure that user should use hex       in input: ’’ (ASCII=19) state=1 in /home/mytx/
number less than 0x7FFFFFFF.                            debug_php/770.php on line 2
System programmer response: No System                   System action: Displays the warning and continues
Programmer response is required.                        interpreting the script.
Problem determination: No additional information.       Operator response: No System Operator response is
Source: PHP                                             required.

Module: Not applicable.                                 User response: Make sure that user does not use
                                                        unexpected characters in PHP scripts.
Routing code: Not applicable.
                                                        System programmer response: No System
Descriptor code: N- An informational notice. Could be   Programmer response is required.
an error or could be normal behavior.
                                                        Problem determination: No additional information.
Automation: Not applicable.
                                                        Source: PHP

                                                                                     Chapter 6. PHP messages   167
Module: Not applicable.
                                                               HPH00777       fatal flex scanner internal error--no
Routing code: Not applicable.                                                 action found
Descriptor code: W- A warning (PHP continues).                 Explanation: --removed--
Automation: Not applicable.                                    Example: HPH00777 fatal flex scanner internal
                                                               error--no action found
HPH00771     PHP: %s                                           System action: Displays the warning and continues
                                                               interpreting the script.
Explanation: --removed--
                                                               Operator response: No System Operator response is
Example: HPH00771 PHP: %s                                      required.
System action: Displays the warning and continues              User response: --removed-- this message is used for
interpreting the script.                                       flex.
Operator response: No System Operator response is              System programmer response: No System
required.                                                      Programmer response is required.
User response: --removed--                                     Problem determination: No additional information.
System programmer response: No System                          Source: PHP
Programmer response is required.
                                                               Module: Not applicable.
Problem determination: No additional information.
                                                               Routing code: Not applicable.
Source: PHP
                                                               Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                               Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                 HPH00778       fatal flex scanner internal error--end of
Automation: Not applicable.                                                   buffer missed
                                                               Explanation: --removed--
HPH00776     input in flex scanner failed                      Example: HPH00778 fatal flex scanner internal
Explanation: --removed--                                       error--end of buffer missed

Example: HPH00776 input in flex scanner failed                 System action: Displays the warning and continues
                                                               interpreting the script.
System action: Displays the warning and continues
interpreting the script.                                       Operator response: No System Operator response is
                                                               required.
Operator response: No System Operator response is
required.                                                      User response: --removed-- this message is used for
                                                               flex.
User response: --removed-- this message is used for
flex.                                                          System programmer response: No System
                                                               Programmer response is required.
System programmer response: No System
Programmer response is required.                               Problem determination: No additional information.

Problem determination: No additional information.              Source: PHP

Source: PHP                                                    Module: Not applicable.

Module: Not applicable.                                        Routing code: Not applicable.

Routing code: Not applicable.                                  Descriptor code: W- A warning (PHP continues).

Descriptor code: W- A warning (PHP continues).                 Automation: Not applicable.

Automation: Not applicable.
                                                               HPH00779       input buffer overflow, can’t enlarge
                                                                              buffer because scanner uses REJECT
                                                               Explanation: --removed--
                                                               Example: HPH00779 input buffer overflow, can’t
                                                               enlarge buffer because scanner uses REJECT


168   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
System action: Displays the warning and continues       User response: Internal error, Please report this bug
interpreting the script.                                to PHP website.
Operator response: No System Operator response is       System programmer response: No System
required.                                               Programmer response is required.
User response: --removed-- this message is used for     Problem determination: No additional information.
flex, and this code is marked by MACRO
                                                        Source: PHP
YY_USES_REJECT.
                                                        Module: Not applicable.
System programmer response: No System
Programmer response is required.                        Routing code: Not applicable.
Problem determination: No additional information.       Descriptor code: I- An internal error not caused by
                                                        user (a programming error in PHP).
Source: PHP
                                                        Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.
                                                        HPH00782       out of dynamic memory in
Descriptor code: W- A warning (PHP continues).                         yy_create_buffer()
Automation: Not applicable.                             Explanation: Cannot malloc enough memory in
                                                        yy_create_buffer().
HPH00780     fatal error - scanner input buffer         Example: HPH00782 out of dynamic memory in
             overflow                                   yy_create_buffer()
Explanation: PHP encountered scanner input buffer       System action: PHP immediately stops interpreting
overflowing.                                            the file (before any statements are run) and exits.
Example: HPH00780 fatal error - scanner input buffer    Operator response: No System Operator response is
overflow                                                required.
System action: PHP immediately stops interpreting       User response: Internal error, maybe system problem.
the file (before any statements are run) and exits.     Retry to run the scripts, if it reoccurs, please report it to
                                                        PHP website phpnet.
Operator response: No System Operator response is
required.                                               System programmer response: No System
                                                        Programmer response is required.
User response: Internal error, Please report this bug
to PHP website.                                         Problem determination: No additional information.
System programmer response: No System                   Source: PHP
Programmer response is required.
                                                        Module: Not applicable.
Problem determination: No additional information.
                                                        Routing code: Not applicable.
Source: PHP
                                                        Descriptor code: I- An internal error not caused by
Module: Not applicable.                                 user (a programming error in PHP).
Routing code: Not applicable.                           Automation: Not applicable.
Descriptor code: I- An internal error not caused by
user (a programming error in PHP).                      HPH00783       out of dynamic memory in
                                                                       yy_scan_buffer()
Automation: Not applicable.
                                                        Explanation: Cannot malloc enough memory in
                                                        yy_scan_buffer().
HPH00781     flex scanner push-back overflow
                                                        Example: HPH00783 out of dynamic memory in
Explanation: PHP encountered flex scanner
                                                        yy_scan_buffer()
push-back overflowing.
                                                        System action: PHP immediately stops interpreting
Example: HPH00781 flex scanner push-back overflow
                                                        the file (before any statements are run) and exits.
System action: PHP immediately stops interpreting
                                                        Operator response: No System Operator response is
the file (before any statements are run) and exits.
                                                        required.
Operator response: No System Operator response is
                                                        User response: Internal error, maybe system problem.
required.


                                                                                   Chapter 6. PHP messages      169
Retry to run the scripts, if it reoccurs, please report it to    Programmer response is required.
PHP website phpnet.
                                                                 Problem determination: No additional information.
System programmer response: No System
                                                                 Source: PHP
Programmer response is required.
                                                                 Module: Not applicable.
Problem determination: No additional information.
                                                                 Routing code: Not applicable.
Source: PHP
                                                                 Descriptor code: I- An internal error not caused by
Module: Not applicable.
                                                                 user (a programming error in PHP).
Routing code: Not applicable.
                                                                 Automation: Not applicable.
Descriptor code: I- An internal error not caused by
user (a programming error in PHP).
                                                                 HPH00786       out of memory expanding
Automation: Not applicable.                                                     start-condition stack
                                                                 Explanation: --removed--
HPH00784       out of dynamic memory in
                                                                 Example: HPH00786 out of memory expanding
               yy_scan_bytes()
                                                                 start-condition stack
Explanation: Cannot malloc enough memory in
                                                                 System action: Displays the warning and continues
yy_scan_bytes().
                                                                 interpreting the script.
Example: HPH00784 out of dynamic memory in
                                                                 Operator response: No System Operator response is
yy_scan_bytes()
                                                                 required.
System action: PHP immediately stops interpreting
                                                                 User response: --removed-- This code is marked by
the file (before any statements are run) and exits.
                                                                 MACRO YY_NO_PUSH_STATE.
Operator response: No System Operator response is
                                                                 System programmer response: No System
required.
                                                                 Programmer response is required.
User response: Internal error, maybe system problem.
                                                                 Problem determination: No additional information.
Retry to run the scripts, if it reoccurs, please report it to
PHP website phpnet.                                              Source: PHP
System programmer response: No System                            Module: Not applicable.
Programmer response is required.
                                                                 Routing code: Not applicable.
Problem determination: No additional information.
                                                                 Descriptor code: W- A warning (PHP continues).
Source: PHP
                                                                 Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.                                    HPH00787       start-condition stack underflow
Descriptor code: I- An internal error not caused by              Explanation: --removed--
user (a programming error in PHP).
                                                                 Example: HPH00787 start-condition stack underflow
Automation: Not applicable.
                                                                 System action: Displays the warning and continues
                                                                 interpreting the script.
HPH00785       bad buffer in yy_scan_bytes()
                                                                 Operator response: No System Operator response is
Explanation: PHP finds bad buffer in yy_scan_bytes().            required.
Example: HPH00785 bad buffer in yy_scan_bytes()                  User response: --removed-- This code is marked by
                                                                 MACRO YY_NO_POP_STATE.
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.              System programmer response: No System
                                                                 Programmer response is required.
Operator response: No System Operator response is
required.                                                        Problem determination: No additional information.
User response: Internal error, maybe system problem.             Source: PHP
Retry to run the scripts, if it reoccurs, please report it to
PHP website phpnet.                                              Module: Not applicable.

System programmer response: No System                            Routing code: Not applicable.


170     z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Descriptor code: W- A warning (PHP continues).
                                                          HPH00791      Allowed memory size of %d bytes
Automation: Not applicable.                                             exhausted (tried to allocate %d
                                                                        bytes)n

HPH00788     Unexpected character on line %d: ’%s’        Explanation: --removed--
             (ASCII %d)n
                                                          Example: HPH00791 Allowed memory size of %d
Explanation: --removed--                                  bytes exhausted (tried to allocate %d bytes)n
Example: HPH00788 Unexpected character on line            System action: Displays the warning and continues
%d: ’%s’ (ASCII %d)n                                     interpreting the script.
System action: Displays the warning and continues         Operator response: No System Operator response is
interpreting the script.                                  required.
Operator response: No System Operator response is         User response: --removed-- This code is marked by
required.                                                 MACRO MEMORY_LIMIT.And don’t used
                                                          ″enable-memory-limit″ configure parameter in current
User response: --removed-- This code is marked by         version.
MACRO DEBUG.
                                                          System programmer response: No System
System programmer response: No System                     Programmer response is required.
Programmer response is required.
                                                          Problem determination: No additional information.
Problem determination: No additional information.
                                                          Source: PHP
Source: PHP
                                                          Module: Not applicable.
Module: Not applicable.
                                                          Routing code: Not applicable.
Routing code: Not applicable.
                                                          Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).
                                                          Automation: Not applicable.
Automation: Not applicable.

                                                          HPH00792      FATAL: emalloc(): Unable to allocate
HPH00790     Allowed memory size of %d bytes                            integer bytesn
             exhausted at %s:%d (tried to allocate
             %d bytes)n                                  Explanation: PHP is unable to allocate too large
                                                          buffer.
Explanation: --removed--
                                                          integer
Example: HPH00790 Allowed memory size of %d                    malloc buffer’s size
bytes exhausted at %s:%d (tried to allocate %d bytes)n
                                                          Example: HPH00792 FATAL: emalloc(): Unable to
System action: Displays the warning and continues         allocate -2147483648 bytes
interpreting the script.
                                                          System action: PHP immediately stops interpreting
Operator response: No System Operator response is         the file (before any statements are run) and exits.
required.
                                                          Operator response: No System Operator response is
User response: --removed-- This code is marked by         required.
MACRO MEMORY_LIMIT.And don’t used
″enable-memory-limit″ configure parameter in current      User response: Make sure that user did not malloc
version.                                                  too large buffer.
System programmer response: No System                     System programmer response: No System
Programmer response is required.                          Programmer response is required.
Problem determination: No additional information.         Problem determination: No additional information.
Source: PHP                                               Source: PHP
Module: Not applicable.                                   Module: Not applicable.
Routing code: Not applicable.                             Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).            Descriptor code: F- A fatal error (PHP exits
                                                          immediately).
Automation: Not applicable.
                                                          Automation: Not applicable.


                                                                                      Chapter 6. PHP messages   171
HPH00793       FATAL: erealloc(): Unable to allocate             HPH00799       Memory block allocated at %s:(%d) on
               integer bytesn                                                  thread %x freed at %s:(%d) on thread
                                                                                %x, ignoring
Explanation: PHP cannot realloc too large buffer.
                                                                 Explanation: --removed--
integer
     realloc buffer’s size                                       Example: HPH00799 Memory block allocated at
                                                                 %s:(%d) on thread %x freed at %s:(%d) on thread %x,
Example: HPH00793 FATAL: erealloc(): Unable to
                                                                 ignoring
allocate 2147483648 bytesn
                                                                 System action: Displays the warning and continues
System action: PHP immediately stops interpreting
                                                                 interpreting the script.
the file (before any statements are run) and exits.
                                                                 Operator response: No System Operator response is
Operator response: No System Operator response is
                                                                 required.
required.
                                                                 User response: --removed-- This code is marked by
User response: Make sure that user havenot realloc
                                                                 MACRO TSRM_DEBUG.
too large buffer.
                                                                 System programmer response: No System
System programmer response: No System
                                                                 Programmer response is required.
Programmer response is required.
                                                                 Problem determination: No additional information.
Problem determination: No additional information.
                                                                 Source: PHP
Source: PHP
                                                                 Module: Not applicable.
Module: Not applicable.
                                                                 Routing code: Not applicable.
Routing code: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
Descriptor code: F- A fatal error (PHP exits
immediately).                                                    Automation: Not applicable.
Automation: Not applicable.
                                                                 HPH00800       Memory block allocated at %s:(%d) on
                                                                                thread %x reallocated at %s:(%d) on
HPH00794       Memory cache statisticsn
                                                                                thread %x, duplicating
Explanation: --removed--
                                                                 Explanation: --removed--
Example: HPH00794 Memory cache statisticsn
                                                                 Example: HPH00800 Memory block allocated at
System action: Displays the warning and continues                %s:(%d) on thread %x reallocated at %s:(%d) on thread
interpreting the script.                                         %x, duplicating
Operator response: No System Operator response is                System action: Displays the warning and continues
required.                                                        interpreting the script.
User response: --removed-- This code is marked by                Operator response: No System Operator response is
MACRO ZEND_DEBUG.                                                required.
System programmer response: No System                            User response: --removed-- This code is marked by
Programmer response is required.                                 MACRO TSRM_DEBUG.
Problem determination: No additional information.                System programmer response: No System
                                                                 Programmer response is required.
Source: PHP
                                                                 Problem determination: No additional information.
Module: Not applicable.
                                                                 Source: PHP
Routing code: Not applicable.
                                                                 Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                 Routing code: Not applicable.
Automation: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
                                                                 Automation: Not applicable.




172     z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Descriptor code: W- A warning (PHP continues).
HPH00805      Possible integer overflow in memory
              allocation (integer1 * integer2 + integer3)   Automation: Not applicable.
Explanation: PHP find possible integer overflow in
memory allocation.                                          HPH00808      string1 function string2::string3() cannot
                                                                          be declared private
integer1
     member number                                          Explanation: PHP find that abstract method is
                                                            declared private.
integer2
     member size                                            string1
                                                                 Method Access Type
integer3
     offset                                                 string2
                                                                 Class Name
Example: Fatal error: HPH00805 Possible integer
overflow in memory allocation (1 * 2147483648 + 0) in       string3
/home/mytx/debug_php/805.php on line 5                           Class Method Name
System action: PHP immediately stops interpreting           Example: Fatal error: HPH00808 Abstract function
the file (before any statements are run) and exits.         AbstractClass::getValue() cannot be declared private in
                                                            /home/mytx/debug_php/808.php on line 7
Operator response: No System Operator response is
required.                                                   System action: PHP immediately stops interpreting
                                                            the file (before any statements are run) and exits.
User response: Check the size and make sure that
member number multiplied by member sizes is valid.          Operator response: No System Operator response is
                                                            required.
System programmer response: No System
Programmer response is required.                            User response: Abstract method cann’t be declared
                                                            private, make sure that abstract method’s type should
Problem determination: No additional information.
                                                            be protected or public.
Source: PHP
                                                            System programmer response: No System
Module: Not applicable.                                     Programmer response is required.
Routing code: Not applicable.                               Problem determination: No additional information.
Descriptor code: F- A fatal error (PHP exits                Source: PHP
immediately).
                                                            Module: Not applicable.
Automation: Not applicable.
                                                            Routing code: Not applicable.
                                                            Descriptor code: F- A fatal error (PHP exits
HPH00807      Usage of {} to access string offsets is
                                                            immediately).
              deprecated and will be removed in PHP
              6                                             Automation: Not applicable.
Explanation: --removed--
                                                            HPH00809      string1 function string2::string3() cannot
Example: HPH00807 Usage of {} to access string
                                                                          contain body
offsets is deprecated and will be removed in PHP 6
                                                            Explanation: PHP finds that abstract method contains
System action: Displays the warning and continues
                                                            body.
interpreting the script.
                                                            string1
Operator response: No System Operator response is
                                                                 Method Access Type
required.
                                                            string2
User response: --removed--
                                                                 Class Name
System programmer response: No System
                                                            string3
Programmer response is required.
                                                                 Class Method Name
Problem determination: No additional information.
                                                            Example: Fatal error: HPH00809 Abstract function
Source: PHP                                                 AbstractClass::getValue() cannot contain body in
                                                            /home/mytx/debug_php/809.php on line 7
Module: Not applicable.
                                                            System action: PHP immediately stops interpreting
Routing code: Not applicable.
                                                            the file (before any statements are run) and exits.

                                                                                      Chapter 6. PHP messages   173
Operator response: No System Operator response is               the file (before any statements are run) and exits.
required.
                                                                Operator response: No System Operator response is
User response: Make sure that abstract method does              required.
not contain body.
                                                                User response: Make sure that PHP should not
System programmer response: No System                           re-assign variable $this.
Programmer response is required.
                                                                System programmer response: No System
Problem determination: No additional information.               Programmer response is required.
Source: PHP                                                     Problem determination: No additional information.
Module: Not applicable.                                         Source: PHP
Routing code: Not applicable.                                   Module: Not applicable.
Descriptor code: F- A fatal error (PHP exits                    Routing code: Not applicable.
immediately).
                                                                Descriptor code: F- A fatal error (PHP exits
Automation: Not applicable.                                     immediately).
                                                                Automation: Not applicable.
HPH00810     Non-abstract method string1::string2()
             must contain body
                                                                HPH00813       Can’t use method return value in write
Explanation: PHP finds that non-abstract method                                context
does not contain body.
                                                                Explanation: PHP can’t use method return value in
string1                                                         write context.
     Class Name
                                                                Example: Fatal error: HPH00813 Can’t use method
string2                                                         return value in write context in /home/mytx/debug_php/
     Class Method Name                                          813.php on line 17
Example: Fatal error: HPH00810 Non-abstract method              System action: PHP immediately stops interpreting
AbstractClass::getValue() must contain body in                  the file (before any statements are run) and exits.
/home/mytx/debug_php/810.php on line 7
                                                                Operator response: No System Operator response is
System action: PHP immediately stops interpreting               required.
the file (before any statements are run) and exits.
                                                                User response: Make sure that PHP should not use
Operator response: No System Operator response is               method return value in write context.
required.
                                                                System programmer response: No System
User response: Make sure that non-abstract method               Programmer response is required.
contains body.
                                                                Problem determination: No additional information.
System programmer response: No System
                                                                Source: PHP
Programmer response is required.
                                                                Module: Not applicable.
Problem determination: No additional information.
                                                                Routing code: Not applicable.
Source: PHP
                                                                Descriptor code: F- A fatal error (PHP exits
Module: Not applicable.
                                                                immediately).
Routing code: Not applicable.
                                                                Automation: Not applicable.
Descriptor code: F- A fatal error (PHP exits
immediately).
                                                                HPH00814       Can’t use function return value in write
Automation: Not applicable.                                                    context
                                                                Explanation: PHP can not use function return value in
HPH00811     Cannot re-assign $this                             write context.
Explanation: PHP can’t re-assign variable $this.                Example: Fatal error: HPH00814 Can’t use function
                                                                return value in write context in /home/mytx/debug_php/
Example: Fatal error: HPH00811 Cannot re-assign
                                                                814.php on line 10
$this in /home/mytx/debug_php/811.php on line 9
                                                                System action: PHP immediately stops interpreting
System action: PHP immediately stops interpreting
                                                                the file (before any statements are run) and exits.

174    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Operator response: No System Operator response is      Programmer response is required.
required.
                                                       Problem determination: No additional information.
User response: Make sure that PHP does not use
                                                       Source: PHP
function return value in write context.
                                                       Module: Not applicable.
System programmer response: No System
Programmer response is required.                       Routing code: Not applicable.
Problem determination: No additional information.      Descriptor code: F- A fatal error (PHP exits
                                                       immediately).
Source: PHP
                                                       Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.
                                                       HPH00818     Multiple access type modifiers are not
Descriptor code: W- A warning (PHP continues).                      allowed
Automation: Not applicable.                            Explanation: PHP find that multiple access type
                                                       modifiers are not allowed.
HPH00815     Cannot use [] for reading                 Example: Fatal error: HPH00818 Multiple access type
                                                       modifiers are not allowed in /home/mytx/debug_php/
Explanation: PHP cannot use [] for reading current
                                                       818.php on line 7
variable, maybe current variable is not an array.
                                                       System action: PHP immediately stops interpreting
Example: Fatal error: HPH00815 Cannot use [] for
                                                       the file (before any statements are run) and exits.
reading in /home/mytx/debug_php/815.php on line 4
                                                       Operator response: No System Operator response is
System action: PHP immediately stops interpreting
                                                       required.
the file (before any statements are run) and exits.
                                                       User response: Make sure not to use multiple access
Operator response: No System Operator response is
                                                       type modifiers.
required.
                                                       System programmer response: No System
User response: Make sure that PHP should not use []
                                                       Programmer response is required.
for reading current variable.
                                                       Problem determination: No additional information.
System programmer response: No System
Programmer response is required.                       Source: PHP
Problem determination: No additional information.      Module: Not applicable.
Source: PHP                                            Routing code: Not applicable.
Module: Not applicable.                                Descriptor code: F- A fatal error (PHP exits
                                                       immediately).
Routing code: Not applicable.
                                                       Automation: Not applicable.
Descriptor code: F- A fatal error (PHP exits
immediately).
                                                       HPH00819     Cannot use the final modifier on an
Automation: Not applicable.
                                                                    abstract class member
                                                       Explanation: PHP can not use the final modifier on an
HPH00817     Cannot use [] for unsetting
                                                       abstract class member.
Explanation: PHP cannot use [] for unsetting current
                                                       Example: Fatal error: HPH00819 Cannot use the final
variable, maybe current variable is not an array.
                                                       modifier on an abstract class member in
Example: Fatal error: HPH00817 Cannot use [] for       /home/mytx/debug_php/819.php on line 8
unsetting in /home/mytx/debug_php/817.php on line 5
                                                       System action: PHP immediately stops interpreting
System action: PHP immediately stops interpreting      the file (before any statements are run) and exits.
the file (before any statements are run) and exits.
                                                       Operator response: No System Operator response is
Operator response: No System Operator response is      required.
required.
                                                       User response: Make sure not to use the final
User response: Make sure that PHP should not use []    modifier on an abstract class member.
for unsetting current variable.
                                                       System programmer response: No System
System programmer response: No System                  Programmer response is required.

                                                                               Chapter 6. PHP messages   175
Problem determination: No additional information.               Operator response: No System Operator response is
                                                                required.
Source: PHP
                                                                User response: Make sure not to redeclare methods
Module: Not applicable.
                                                                in a class.
Routing code: Not applicable.
                                                                System programmer response: No System
Descriptor code: F- A fatal error (PHP exits                    Programmer response is required.
immediately).
                                                                Problem determination: No additional information.
Automation: Not applicable.
                                                                Source: PHP
                                                                Module: Not applicable.
HPH00820     Access type for interface method
             string1::string2() must be omitted                 Routing code: Not applicable.
Explanation: PHP must omit access type for interface            Descriptor code: F- A fatal error (PHP exits
method.                                                         immediately).
string1                                                         Automation: Not applicable.
     Interface Name
string2                                                         HPH00822       Redefining already defined constructor
     Interface Method Name                                                     for class string
Example: Fatal error: HPH00820 Access type for                  Explanation: PHP redefined a constructor that already
interface method iTemplate::setVariable() must be               defined.
omitted in /home/mytx/debug_php/820.php on line 6
                                                                string
System action: PHP immediately stops interpreting                    Class Name
the file (before any statements are run) and exits.
                                                                Example: Strict Standards: HPH00822 Redefining
Operator response: No System Operator response is               already defined constructor for class BaseClass in
required.                                                       /home/mytx/debug_php/822.php on line 6
User response: Make sure that access type for                   System action: Displays the warning and continues
interface method has been omitted.                              interpreting the script.
System programmer response: No System                           Operator response: No System Operator response is
Programmer response is required.                                required.
Problem determination: No additional information.               User response: Make sure not to define aother
                                                                constructor before user want defined a constructor .
Source: PHP
                                                                System programmer response: No System
Module: Not applicable.
                                                                Programmer response is required.
Routing code: Not applicable.
                                                                Problem determination: No additional information.
Descriptor code: F- A fatal error (PHP exits
                                                                Source: PHP
immediately).
                                                                Module: Not applicable.
Automation: Not applicable.
                                                                Routing code: Not applicable.
HPH00821     Cannot redeclare string1::string2()                Descriptor code: W- A warning (PHP continues).
Explanation: User cannot redeclare methods in a                 Automation: Not applicable.
class.
string1                                                         HPH00824       string() must take exactly 1 argument
     Class Name
                                                                Explanation: __autoload function must take exactly
string2                                                         first argument.
     Class Method Name
                                                                string
Example: Fatal error: HPH00821 Cannot redeclare                      autoload function name
Vegetable::is_edible() in /home/mytx/debug_php/
                                                                Example: Fatal error: HPH00824 __autoload() must
821.php on line 7
                                                                take exactly 1 argument in /home/mytx/debug_php/
System action: PHP immediately stops interpreting               824.php on line 6
the file (before any statements are run) and exits.

176    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
System action: PHP immediately stops interpreting         the file (before any statements are run) and exits.
the file (before any statements are run) and exits.
                                                          Operator response: No System Operator response is
Operator response: No System Operator response is         required.
required.
                                                          User response: Make sure that default value for
User response: Make sure that __autoload function         parameters with array type hint should be an array or
takes exactly first argument.                             NULL.
System programmer response: No System                     System programmer response: No System
Programmer response is required.                          Programmer response is required.
Problem determination: No additional information.         Problem determination: No additional information.
Source: PHP                                               Source: PHP
Module: Not applicable.                                   Module: Not applicable.
Routing code: Not applicable.                             Routing code: Not applicable.
Descriptor code: F- A fatal error (PHP exits              Descriptor code: F- A fatal error (PHP exits
immediately).                                             immediately).
Automation: Not applicable.                               Automation: Not applicable.


HPH00825      Default value for parameters with a         HPH00827      Cannot call __clone() method on
              class type hint can only be NULL                          objects - use ’clone $obj’ instead
Explanation: Default value for parameters with a class    Explanation: PHP can not call __clone() method on
type hint can only be NULL.                               objects.
Example: Fatal error: HPH00825 Default value for          Example: Fatal error: HPH00827 Cannot call
parameters with a class type hint can only be NULL in     __clone() method on objects - use ’clone $obj’ instead
/home/mytx/debug_php/825.php on line 7                    in /home/mytx/debug_php/827.php on line 10
System action: PHP immediately stops interpreting         System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.       the file (before any statements are run) and exits.
Operator response: No System Operator response is         Operator response: No System Operator response is
required.                                                 required.
User response: Make sure that default value for           User response: User should replace __clone()
parameters with a class type hint should be NULL.         method by using ’clone $obj’
System programmer response: No System                     System programmer response: No System
Programmer response is required.                          Programmer response is required.
Problem determination: No additional information.         Problem determination: No additional information.
Source: PHP                                               Source: PHP
Module: Not applicable.                                   Module: Not applicable.
Routing code: Not applicable.                             Routing code: Not applicable.
Descriptor code: F- A fatal error (PHP exits              Descriptor code: F- A fatal error (PHP exits
immediately).                                             immediately).
Automation: Not applicable.                               Automation: Not applicable.


HPH00826      Default value for parameters with array     HPH00828      Clone method does not require
              type hint can only be an array or NULL                    arguments
Explanation: Default value for parameters with array      Explanation: Clone method does not require
type hint can only be an array or NULL.                   arguments.
Example: Fatal error: HPH00826 Default value for          Example: Warning: HPH00828 Clone method does
parameters with array type hint can only be an array or   not require arguments
NULL in /home/mytx/debug_php/826.php on line 4
                                                          System action: Displays the warning and continues
System action: PHP immediately stops interpreting         interpreting the script.

                                                                                    Chapter 6. PHP messages     177
Operator response: No System Operator response is               string4
required.                                                            Child Class constructor Name
User response: Make sure that clone method have no              Example: Fatal error: HPH00830 Cannot override final
arguments.                                                      AClass::__construct() with BClass::__construct() in
                                                                /home/mytx/debug_php/830.php on line 12
System programmer response: No System
Programmer response is required.                                System action: PHP immediately stops interpreting
                                                                the file (before any statements are run) and exits.
Problem determination: No additional information.
                                                                Operator response: No System Operator response is
Source: PHP
                                                                required.
Module: Not applicable.
                                                                User response: User should not override final
Routing code: Not applicable.                                   constructor, and user must take out parent class
                                                                constructor’s final types.
Descriptor code: W- A warning (PHP continues).
                                                                System programmer response: No System
Automation: Not applicable.                                     Programmer response is required.
                                                                Problem determination: No additional information.
HPH00829     Only variables can be passed by
             reference                                          Source: PHP
Explanation: The type of function parameter is error,           Module: Not applicable.
only variables can be passed.
                                                                Routing code: Not applicable.
Example: Fatal error: HPH00829 Only variables can
                                                                Descriptor code: F- A fatal error (PHP exits
be passed by reference in /home/mytx/debug_php/
                                                                immediately).
829.php on line 3
                                                                Automation: Not applicable.
System action: Displays the warning and continues
interpreting the script.
                                                                HPH00831       Can’t inherit abstract function
Operator response: No System Operator response is
                                                                               string1::string2() (previously declared
required.
                                                                               abstract in string3)
User response: Make sure that the type of function
                                                                Explanation: PHP can not inherit abstract function
parameter is variables.
                                                                that is previously declared abstract in child class.
System programmer response: No System
                                                                string1
Programmer response is required.
                                                                     Parent Class Name
Problem determination: No additional information.
                                                                string2
Source: PHP                                                          Parent Class Method Name
Module: Not applicable.                                         string3
                                                                     Child Class Name
Routing code: Not applicable.
                                                                Example: Fatal error: HPH00831 Can’t inherit abstract
Descriptor code: F- A fatal error (PHP exits                    function Aclass::Afunc() (previously declared abstract in
immediately).                                                   Bclass) in /home/mytx/debug_php/831.php on line 10
Automation: Not applicable.                                     System action: PHP immediately stops interpreting
                                                                the file (before any statements are run) and exits.
HPH00830     Cannot override final string1::string2()           Operator response: No System Operator response is
             with string3::string4()                            required.
Explanation: PHP can not override final constructor.            User response: User could not inherit abstract
string1                                                         function that is previously declared abstract in child
     Parent Class Name                                          class.

string2                                                         System programmer response: No System
     Parent Class constructor Name                              Programmer response is required.

string3                                                         Problem determination: No additional information.
     Child Class Name                                           Source: PHP
                                                                Module: Not applicable.

178    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Routing code: Not applicable.                              Operator response: No System Operator response is
                                                           required.
Descriptor code: F- A fatal error (PHP exits
immediately).                                              User response: Make sure that user should not make
                                                           non static method static in child class.
Automation: Not applicable.
                                                           System programmer response: No System
                                                           Programmer response is required.
HPH00832      Cannot override final method
              string1::string2()                           Problem determination: No additional information.
Explanation: PHP encountered that a class override         Source: PHP
final method.
                                                           Module: Not applicable.
string1
                                                           Routing code: Not applicable.
     Parent Class Name
                                                           Descriptor code: F- A fatal error (PHP exits
string2
                                                           immediately).
     Parent Class Method Name
                                                           Automation: Not applicable.
Example: Fatal error: HPH00832 Cannot override final
method AClass::fa() in /home/mytx/debug_php/832.php
on line 12                                                 HPH00834     Cannot make static method
                                                                        string1::string2() non static in class
System action: PHP immediately stops interpreting
                                                                        string3
the file (before any statements are run) and exits.
                                                           Explanation: PHP can not make static method non
Operator response: No System Operator response is
                                                           static in child class.
required.
                                                           string1
User response: User should not override final
                                                                Parent Class Name
method, and user must take out parent class method’s
final types.                                               string2
                                                                Parent Class Method Name
System programmer response: No System
Programmer response is required.                           string3
                                                                Child Class Name
Problem determination: No additional information.
                                                           Example: Fatal error: HPH00834 Cannot make static
Source: PHP
                                                           method Aclass::Afunc() non static in class Bclass in
Module: Not applicable.                                    /home/mytx/debug_php/834.php on line 11
Routing code: Not applicable.                              System action: PHP immediately stops interpreting
                                                           the file (before any statements are run) and exits.
Descriptor code: F- A fatal error (PHP exits
immediately).                                              Operator response: No System Operator response is
                                                           required.
Automation: Not applicable.
                                                           User response: User should not make static method
                                                           non static in child class.
HPH00833      Cannot make non static method
              string1::string2() static in class string3   System programmer response: No System
                                                           Programmer response is required.
Explanation: PHP cannot make non static method
static in child class.                                     Problem determination: No additional information.
string1                                                    Source: PHP
     Parent Class Name
                                                           Module: Not applicable.
string2
                                                           Routing code: Not applicable.
     Parent Class Method Name
                                                           Descriptor code: F- A fatal error (PHP exits
string3
                                                           immediately).
     Child Class Name
                                                           Automation: Not applicable.
Example: Fatal error: HPH00833 Cannot make non
static method Aclass::Afunc() static in class Bclass in
/home/mytx/debug_php/833.php on line 11
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.

                                                                                    Chapter 6. PHP messages      179
Operator response: No System Operator response is
HPH00835      Cannot make non abstract method
                                                                required.
              string1::string2() abstract in class string3
                                                                User response: Make sure that child class method’s
Explanation: PHP can not make non abstract method
                                                                access level is larger than parent class method’s access
abstract in child class.
                                                                level.
string1
                                                                System programmer response: No System
     Parent Class Name
                                                                Programmer response is required.
string2
                                                                Problem determination: No additional information.
     Parent Class Method Name
                                                                Source: PHP
string3
     Child Class Name                                           Module: Not applicable.
Example: Fatal error: HPH00835 Cannot make non                  Routing code: Not applicable.
abstract method Aclass::Afunc() abstract in class Bclass
in /home/mytx/debug_php/835.php on line 10                      Descriptor code: F- A fatal error (PHP exits
                                                                immediately).
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.             Automation: Not applicable.

Operator response: No System Operator response is
required.                                                       HPH00837       Declaration of string1::string2() must be
                                                                               compatible with that of string3::string4()
User response: Make sure not to make non abstract
method abstract in child class.                                 Explanation: Methods declaration is differed between
                                                                Parent class and Child class.
System programmer response: No System
Programmer response is required.                                string1
                                                                     Child class name
Problem determination: No additional information.
                                                                string2
Source: PHP                                                          Child class methods name
Module: Not applicable.                                         string3
                                                                     Parent Class name
Routing code: Not applicable.
                                                                string4
Descriptor code: F- A fatal error (PHP exits
                                                                     Parent Class methods name
immediately).
                                                                Example: Fatal error: HPH00837 Declaration of
Automation: Not applicable.
                                                                Bclass::Afunc() must be compatible with that of
                                                                Aclass::Afunc() in /home/mytx/debug_php/837.php on
HPH00836      Access level to string1::string2() must           line 11
              be string3 (as in class string4)string5
                                                                System action: PHP immediately stops interpreting
Explanation: Child class method’s access level is               the file (before any statements are run) and exits.
larger than parent class method’s access level.
                                                                Operator response: No System Operator response is
string1                                                         required.
     Child Class Name
                                                                User response: Make sure that child class’s Methods
string2                                                         declaration and parent class’s methods declaration are
     Child Class Method Name                                    the same.
string3                                                         System programmer response: No System
     Parent Class Method’s Acess Level                          Programmer response is required.
string4                                                         Problem determination: No additional information.
     Parent Class Name
                                                                Source: PHP
string5
                                                                Module: Not applicable.
     Parent Class Information
                                                                Routing code: Not applicable.
Example: Fatal error: HPH00836 Access level to
Bclass::Afunc() must be public (as in class Aclass) in          Descriptor code: F- A fatal error (PHP exits
/home/mytx/debug_php/836.php on line 9                          immediately).
System action: PHP immediately stops interpreting               Automation: Not applicable.
the file (before any statements are run) and exits.

180    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
string5
HPH00838     Declaration of string1::string2() should
                                                             Child Class Name
             be compatible with that of
             string3::string4()                         string6
                                                             Child Class members Name
Explanation: Methods declaration is differed between
Parent class and Child class when error_reporting is    Example: Fatal error: HPH00839 Cannot redeclare
equre to E_STRICT.                                      static AClass::$str as non static BClass::$str in
                                                        /home/mytx/debug_php/839.php on line 17
string1
     Child class name                                   System action: PHP immediately stops interpreting
                                                        the file (before any statements are run) and exits.
string2
     Child class methods name                           Operator response: No System Operator response is
                                                        required.
string3
     Parent Class name                                  User response: Make sure that child calss members
                                                        types and parent class members types are the same.
string4
     Parent Class methods name                          System programmer response: No System
                                                        Programmer response is required.
Example: Fatal error: HPH00838 Declaration of
Bclass::Afunc() should be compatible with that of       Problem determination: No additional information.
Aclass::Afunc() in /home/mytx/debug_php/837.php on
line 11                                                 Source: PHP

System action: Displays the warning and continues       Module: Not applicable.
interpreting the script.                                Routing code: Not applicable.
Operator response: No System Operator response is       Descriptor code: F- A fatal error (PHP exits
required.                                               immediately).
User response: Make sure that Child class’s methods     Automation: Not applicable.
declaration and Parent class’s are the same.
System programmer response: No System                   HPH00840      Access level to string1::$string2 must
Programmer response is required.                                      be string3 (as in class string4)string5
Problem determination: No additional information.       Explanation: Child class method’s access level is
Source: PHP                                             larger than parent class method’s access level.

Module: Not applicable.                                 string1
                                                             Child Class name
Routing code: Not applicable.
                                                        string2
Descriptor code: W- A warning (PHP continues).               Child Class’s Method name
Automation: Not applicable.                             string3
                                                             Parent Class Method’s Acess Level
HPH00839     Cannot redeclare string1                   string4
             string2::$string3 as string4                    Parent Class name
             string5::$string6
                                                        string5
Explanation: PHP encountered that have difference            Parent Class Information
between parent class members types and child class
members types.                                          Example: Fatal error: HPH00840 Access level to
                                                        BClass::setVariable() must be public (as in class
string1                                                 AClass) in /home/mytx/debug_php/840.php on line 15
     Parent Class members types
                                                        System action: PHP immediately stops interpreting
string2                                                 the file (before any statements are run) and exits.
     Parent Class Name
                                                        Operator response: No System Operator response is
string3                                                 required.
     Parent Class members Name
                                                        User response: Make sure that Child class method’s
string4                                                 access level is larger than parent class’s.
     Child Class members types
                                                        System programmer response: No System
                                                        Programmer response is required.

                                                                                 Chapter 6. PHP messages    181
Problem determination: No additional information.               string2
                                                                     Interface name
Source: PHP
                                                                Example: Fatal error: HPH00842 Class AClass could
Module: Not applicable.
                                                                not implement interface AInterface
Routing code: Not applicable.
                                                                System action: PHP immediately stops interpreting
Descriptor code: F- A fatal error (PHP exits                    the file (before any statements are run) and exits.
immediately).
                                                                Operator response: No System Operator response is
Automation: Not applicable.                                     required.
                                                                User response: Make sure not to define an class that
HPH00841      Cannot change initial value of property           implement from interface.
              static protected string1::$string2 in
                                                                System programmer response: No System
              class string3
                                                                Programmer response is required.
Explanation: PHP can not change initial value that
                                                                Problem determination: No additional information.
property of extended class’s members is static and
protected .                                                     Source: PHP
string1                                                         Module: Not applicable.
     Inherited class name
                                                                Routing code: Not applicable.
string2
                                                                Descriptor code: F- A fatal error (PHP exits
     Property Name
                                                                immediately).
string3
                                                                Automation: Not applicable.
     Extended class name
Example: Fatal error: HPH00841 Cannot change initial
                                                                HPH00843       Interface string cannot not implement
value of property static protected Aclass::$var in class
                                                                               itself
Bclass in /home/mytx/debug_php/841.php on line 13
                                                                Explanation: PHP encountered an interface that
System action: PHP immediately stops interpreting
                                                                implements from itself.
the file (before any statements are run) and exits.
                                                                string
Operator response: No System Operator response is
                                                                     Interface name
required.
                                                                Example: Fatal error: HPH00843 Interface AInterface
User response: Make sure not to change initial value
                                                                cannot not implement itself
that property of extended class’s members is static and
protected .                                                     System action: PHP immediately stops interpreting
                                                                the file (before any statements are run) and exits.
System programmer response: No System
Programmer response is required.                                Operator response: No System Operator response is
                                                                required.
Problem determination: No additional information.
                                                                User response: Make sure not to define an interface
Source: PHP
                                                                that implements from itself.
Module: Not applicable.
                                                                System programmer response: No System
Routing code: Not applicable.                                   Programmer response is required.
Descriptor code: F- A fatal error (PHP exits                    Problem determination: No additional information.
immediately).
                                                                Source: PHP
Automation: Not applicable.
                                                                Module: Not applicable.
                                                                Routing code: Not applicable.
HPH00842      Class string1 could not implement
              interface string2                                 Descriptor code: F- A fatal error (PHP exits
                                                                immediately).
Explanation: PHP encountered an class that
implement from interface.                                       Automation: Not applicable.
string1
     Class name




182    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Module: Not applicable.
HPH00844     Interface string1 may not inherit from
             class (string2)                            Routing code: Not applicable.
Explanation: PHP encountered an interface that          Descriptor code: F- A fatal error (PHP exits
inherts from a class.                                   immediately).
string1                                                 Automation: Not applicable.
     Interface name
string2                                                 HPH00846      Cannot inherit previously-inherited
     Class name                                                       constant string1 from interface string2
Example: HPH00845 Interface BInterface may not          Explanation: PHP encountered an object that inherits
inherit from class (AClass)                             a previously inherited constant variable from an object
                                                        interface.
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.     string1
                                                             The inherited constant variable
Operator response: No System Operator response is
required.                                               string2
                                                             The interface
User response: Make sure not to define an interface
that inherts from a class.                              Example: HPH00846 Cannot inherit
                                                        previously-inherited constant con from interface Bface
System programmer response: No System
Programmer response is required.                        System action: PHP immediately stops interpreting
                                                        the file (before any statements are run) and exits.
Problem determination: No additional information.
                                                        Operator response: No System Operator response is
Source: PHP
                                                        required.
Module: Not applicable.
                                                        User response: Change the object so that it has a
Routing code: Not applicable.                           proper constant variable that was not previously
                                                        inherited.
Descriptor code: F- A fatal error (PHP exits
immediately).                                           System programmer response: No System
                                                        Programmer response is required.
Automation: Not applicable.
                                                        Problem determination: No additional information.
HPH00845     Class string1 may not inherit from final   Source: PHP
             class (string2)
                                                        Module: Not applicable.
Explanation: PHP encountered a class that inherts
                                                        Routing code: Not applicable.
from a final class.
                                                        Descriptor code: F- A fatal error (PHP exits
string1
                                                        immediately).
     The extended class name
                                                        Automation: Not applicable.
string2
     The inherited class name
                                                        HPH00847      Internal compiler error. Please report!
Example: HPH00845 Class BClass may not inherit
from final class (AClass)                               Explanation: The PHP compiler encountered an
                                                        internal error.
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.     Example: Fatal error: HPH00847 Internal compiler
                                                        error. Please report!
Operator response: No System Operator response is
required.                                               System action: PHP immediately stops interpreting
                                                        the file (before any statements are run) and exits.
User response: Change the extended class so that it
does not inherit from a final class or change the       Operator response: No System Operator response is
inherited class’s attribute.                            required.
System programmer response: No System                   User response: Use local procedures for error
Programmer response is required.                        reporting. Please report it to php website phpnet.
Problem determination: No additional information.       System programmer response: No System
                                                        Programmer response is required.
Source: PHP

                                                                                 Chapter 6. PHP messages     183
Problem determination: No additional information.               Operator response: No System Operator response is
                                                                required.
Source: PHP
                                                                User response: User should not redeclare function,
Module: Not applicable.
                                                                and user must rename ’redeclare’ function.
Routing code: Not applicable.
                                                                System programmer response: No System
Descriptor code: I- An internal error not caused by             Programmer response is required.
user (a programming error in PHP).
                                                                Problem determination: No additional information.
Automation: Not applicable.
                                                                Source: PHP
                                                                Module: Not applicable.
HPH00848      Cannot redeclare string1() (previously
              declared in string2:integer)                      Routing code: Not applicable.
Explanation: PHP has encountered a function that is             Descriptor code: F- A fatal error (PHP exits
declared more than once.                                        immediately).
string1                                                         Automation: Not applicable.
     The redeclared function’s name
string2                                                         HPH00850       Internal Zend error - Missing class
     The redeclared function’s path                                            information for string
integer                                                         Explanation: PHP missed class information.
     The redeclared function’s line number
                                                                string
Example: HPH00848 Cannot redeclare func()                            Class name
(previously declared in test.php:5)
                                                                Example: Fatal error: HPH00850 Internal Zend error -
System action: PHP immediately stops interpreting               Missing class information for AClass
the file (before any statements are run) and exits.
                                                                System action: PHP immediately stops interpreting
Operator response: No System Operator response is               the file (before any statements are run) and exits.
required.
                                                                Operator response: No System Operator response is
User response: Remove the extraneous function                   required.
declarations, or rename them so that the function is
                                                                User response: Internal Zend error, please report this
declared only once.
                                                                bug on phpnet.
System programmer response: No System
                                                                System programmer response: No System
Programmer response is required.
                                                                Programmer response is required.
Problem determination: No additional information.
                                                                Problem determination: No additional information.
Source: PHP
                                                                Source: PHP
Module: Not applicable.
                                                                Module: Not applicable.
Routing code: Not applicable.
                                                                Routing code: Not applicable.
Descriptor code: F- A fatal error (PHP exits
                                                                Descriptor code: I- An internal error not caused by
immediately).
                                                                user (a programming error in PHP).
Automation: Not applicable.
                                                                Automation: Not applicable.

HPH00849      Cannot redeclare string()
                                                                HPH00851       Cannot redeclare class string
Explanation: PHP can not redeclare function.
                                                                Explanation: PHP encountered a class that is
string                                                          declared more than once.
     function name
                                                                string
Example: Fatal error: HPH00849 Cannot redeclare                      The redeclared class name
func1() (previously declared in /home/mytx/debug_php/
                                                                Example: HPH00851 Cannot redeclare class
849.php:4) in /home/mytx/debug_php/849.php on line 9
                                                                vegetable
System action: PHP immediately stops interpreting
                                                                System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.
                                                                the file (before any statements are run) and exits.


184    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Operator response: No System Operator response is          Operator response: No System Operator response is
required.                                                  required.
User response: Remove the extraneous class                 User response: Internal Zend error, please report this
declarations, or rename them so that the class is          bug on phpnet.
declared only once.
                                                           System programmer response: No System
System programmer response: No System                      Programmer response is required.
Programmer response is required.
                                                           Problem determination: No additional information.
Problem determination: No additional information.
                                                           Source: PHP
Source: PHP
                                                           Module: Not applicable.
Module: Not applicable.
                                                           Routing code: Not applicable.
Routing code: Not applicable.
                                                           Descriptor code: I- An internal error not caused by
Descriptor code: F- A fatal error (PHP exits               user (a programming error in PHP).
immediately).
                                                           Automation: Not applicable.
Automation: Not applicable.
                                                           HPH00856      Class declarations may not be nested
HPH00853      Class string1 cannot extend from
                                                           Explanation: Class declarations may not be nested.
              interface string2
                                                           Example: Fatal error: HPH00856 Class declarations
Explanation: PHP encountered a class that extends
                                                           may not be nested in /home/mytx/debug_php/856.php
from an interface.
                                                           on line 10
string1
                                                           System action: PHP immediately stops interpreting
     The class name
                                                           the file (before any statements are run) and exits.
string2
                                                           Operator response: No System Operator response is
     The interface name
                                                           required.
Example: HPH00853 Class Aclass cannot extend from
                                                           User response: Make sure that class declarations do
interface Atemp
                                                           not be nested, and user can not declaration a class in a
System action: PHP immediately stops interpreting          class methods.
the file (before any statements are run) and exits.
                                                           System programmer response: No System
Operator response: No System Operator response is          Programmer response is required.
required.
                                                           Problem determination: No additional information.
User response: Change the class to implement an
                                                           Source: PHP
interface so that it does not extend from the interface.
                                                           Module: Not applicable.
System programmer response: No System
Programmer response is required.                           Routing code: Not applicable.
Problem determination: No additional information.          Descriptor code: F- A fatal error (PHP exits
                                                           immediately).
Source: PHP
                                                           Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.
                                                           HPH00857      Cannot use ’string’ as class name as it
Descriptor code: F- A fatal error (PHP exits                             is reserved
immediately).
                                                           Explanation: PHP encountered a class whose name
Automation: Not applicable.                                conflicts with a PHP reserved identifier.
                                                           string
HPH00855      Invalid binding type                              The class name
Explanation: PHP encountered invalid binding type.
Example: Fatal error: HPH00855 Invalid binding type        Example: HPH00857 Cannot use ’self’ as class name
                                                           as it is reserved
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.        System action: PHP immediately stops interpreting


                                                                                    Chapter 6. PHP messages   185
the file (before any statements are run) and exits.             Operator response: No System Operator response is
                                                                required.
Operator response: No System Operator response is
required.                                                       User response: Change the parent class name to
                                                                something other than the reserved word ’parent’.
User response: Make sure not to use ″self″ or
″parent″ as class name.                                         System programmer response: No System
                                                                Programmer response is required.
System programmer response: No System
Programmer response is required.                                Problem determination: No additional information.
Problem determination: No additional information.               Source: PHP
Source: PHP                                                     Module: Not applicable.
Module: Not applicable.                                         Routing code: Not applicable.
Routing code: Not applicable.                                   Descriptor code: F- A fatal error (PHP exits
                                                                immediately).
Descriptor code: F- A fatal error (PHP exits
immediately).                                                   Automation: Not applicable.
Automation: Not applicable.
                                                                HPH00860       Constructor string1::string2() cannot be
                                                                               static
HPH00858      Cannot use ’self’ as class name as it is
              reserved                                          Explanation: PHP encountered a class whose
                                                                ″contructor″ function is static.
Explanation: PHP encountered a parent class whose
name is ’self’.                                                 string1
                                                                     The class’s name
Example: HPH00858 Cannot use ’self’ as class name
as it is reserved                                               string2
                                                                     The ″contructor″ function’s name
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.             Example: HPH00860 Constructor
                                                                Constructor_Cart::Constructor_Cart() cannot be static
Operator response: No System Operator response is
required.                                                       System action: PHP immediately stops interpreting
                                                                the file (before any statements are run) and exits.
User response: Change the parent class name to
something other than the reserved word ’self’.                  Operator response: No System Operator response is
                                                                required.
System programmer response: No System
Programmer response is required.                                User response: Change the ″contructor″ function’s
                                                                attribute so that it is not static.
Problem determination: No additional information.
                                                                System programmer response: No System
Source: PHP
                                                                Programmer response is required.
Module: Not applicable.
                                                                Problem determination: No additional information.
Routing code: Not applicable.
                                                                Source: PHP
Descriptor code: F- A fatal error (PHP exits
                                                                Module: Not applicable.
immediately).
                                                                Routing code: Not applicable.
Automation: Not applicable.
                                                                Descriptor code: F- A fatal error (PHP exits
                                                                immediately).
HPH00859      Cannot use ’parent’ as class name as
              it is reserved                                    Automation: Not applicable.
Explanation: PHP encountered an parent class whose
name is ’parent’.                                               HPH00861       Destructor string1::string2() cannot be
                                                                               static
Example: HPH00859 Cannot use ’parent’ as class
name as it is reserved                                          Explanation: PHP encountered a class whose
                                                                ″destructor″ function is static.
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.             string1
                                                                     The class’s name


186    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
string2
                                                       HPH00863     Cannot use ’self’ as interface name as
     The destructor function’s name
                                                                    it is reserved
Example: HPH00861 Destructor A::__destruct()
                                                       Explanation: PHP encountered a class that
cannot be static
                                                       implements an interface whose name is ’self’.
System action: PHP immediately stops interpreting
                                                       Example: HPH00863 Cannot use ’self’ as interface
the file (before any statements are run) and exits.
                                                       name as it is reserved
Operator response: No System Operator response is
                                                       System action: PHP immediately stops interpreting
required.
                                                       the file (before any statements are run) and exits.
User response: Change the ″destructor″ function’s
                                                       Operator response: No System Operator response is
attribute so that it is not static.
                                                       required.
System programmer response: No System
                                                       User response: Change the interface’s name to
Programmer response is required.
                                                       something other than the reserved word ’self’.
Problem determination: No additional information.
                                                       System programmer response: No System
Source: PHP                                            Programmer response is required.
Module: Not applicable.                                Problem determination: No additional information.
Routing code: Not applicable.                          Source: PHP
Descriptor code: F- A fatal error (PHP exits           Module: Not applicable.
immediately).
                                                       Routing code: Not applicable.
Automation: Not applicable.
                                                       Descriptor code: F- A fatal error (PHP exits
                                                       immediately).
HPH00862     Clone method string1::string2() cannot
                                                       Automation: Not applicable.
             be static
Explanation: PHP encountered a class whose ″clone″
                                                       HPH00864     Cannot use ’parent’ as interface name
method is static.
                                                                    as it is reserved
string1
                                                       Explanation: PHP encountered a class that
     The class’s name
                                                       implements an interface whose name is ’parent’.
string2
                                                       Example: HPH00864 Cannot use ’parent’ as interface
     The clone method’s name
                                                       name as it is reserved
Example: HPH00862 Clone method A::__clone()
                                                       System action: PHP immediately stops interpreting
cannot be static
                                                       the file (before any statements are run) and exits.
System action: PHP immediately stops interpreting
                                                       Operator response: No System Operator response is
the file (before any statements are run) and exits.
                                                       required.
Operator response: No System Operator response is
                                                       User response: Change the interface’s name to
required.
                                                       something other than the reserved word ’parent’.
User response: Change the ″clone″ method’s attribute
                                                       System programmer response: No System
so that it is not static.
                                                       Programmer response is required.
System programmer response: No System
                                                       Problem determination: No additional information.
Programmer response is required.
                                                       Source: PHP
Problem determination: No additional information.
                                                       Module: Not applicable.
Source: PHP
                                                       Routing code: Not applicable.
Module: Not applicable.
                                                       Descriptor code: F- A fatal error (PHP exits
Routing code: Not applicable.
                                                       immediately).
Descriptor code: F- A fatal error (PHP exits
                                                       Automation: Not applicable.
immediately).
Automation: Not applicable.



                                                                                Chapter 6. PHP messages   187
HPH00865     Interfaces may not include member                  HPH00867       Cannot declare property
             variables                                                         string1::$string2 final, the final modifier
                                                                               is allowed only for methods
Explanation: PHP encountered an interface that has
member variables.                                               Explanation: PHP encountered a class whose
                                                                member variables are declared final.
Example: HPH00865 Interfaces may not include
member variables                                                string1
                                                                     The class’s name
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.             string2
                                                                     The member variable’s name
Operator response: No System Operator response is
required.                                                       Example: HPH00867 Cannot declare property A::$var
                                                                final, the final modifier is allowed only for methods
User response: Delete the interface’s member
variables.                                                      System action: PHP immediately stops interpreting
                                                                the file (before any statements are run) and exits.
System programmer response: No System
Programmer response is required.                                Operator response: No System Operator response is
                                                                required.
Problem determination: No additional information.
                                                                User response: Change the member variables’
Source: PHP
                                                                properties so that they are not declared final.
Module: Not applicable.
                                                                System programmer response: No System
Routing code: Not applicable.                                   Programmer response is required.
Descriptor code: F- A fatal error (PHP exits                    Problem determination: No additional information.
immediately).
                                                                Source: PHP
Automation: Not applicable.
                                                                Module: Not applicable.
                                                                Routing code: Not applicable.
HPH00866     Properties cannot be declared abstract
                                                                Descriptor code: F- A fatal error (PHP exits
Explanation: PHP encountered a class whose
                                                                immediately).
member variables are declared abstract.
                                                                Automation: Not applicable.
Example: HPH00866 Properties cannot be declared
abstract
                                                                HPH00868       Cannot redeclare string1::$string2
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.             Explanation: PHP encountered a class where a
                                                                member variable is declared more than once.
Operator response: No System Operator response is
required.                                                       string1
                                                                     The class’s name
User response: Change the member variables’
properties so that they are not abstract.                       string2
                                                                     The variable’s name
System programmer response: No System
Programmer response is required.                                Example: HPH00868 Cannot redeclare A::$var
Problem determination: No additional information.               System action: PHP immediately stops interpreting
                                                                the file (before any statements are run) and exits.
Source: PHP
                                                                Operator response: No System Operator response is
Module: Not applicable.
                                                                required.
Routing code: Not applicable.
                                                                User response: Remove the extraneous variable
Descriptor code: F- A fatal error (PHP exits                    declarations, or rename them so that the member
immediately).                                                   variable is declared only once.
Automation: Not applicable.                                     System programmer response: No System
                                                                Programmer response is required.
                                                                Problem determination: No additional information.
                                                                Source: PHP


188    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Module: Not applicable.                                   Problem determination: No additional information.
Routing code: Not applicable.                             Source: PHP
Descriptor code: F- A fatal error (PHP exits              Module: Not applicable.
immediately).
                                                          Routing code: Not applicable.
Automation: Not applicable.
                                                          Descriptor code: F- A fatal error (PHP exits
                                                          immediately).
HPH00869     Arrays are not allowed in class
                                                          Automation: Not applicable.
             constants
Explanation: PHP encountered a class that contains
                                                          HPH00871     Key element cannot be a reference
array constants.
                                                          Explanation: PHP encountered an array where the
Example: HPH00869 Arrays are not allowed in class
                                                          key element is a reference.
constants
                                                          Example: HPH00871 Key element cannot be a
System action: PHP immediately stops interpreting
                                                          reference
the file (before any statements are run) and exits.
                                                          System action: PHP immediately stops interpreting
Operator response: No System Operator response is
                                                          the file (before any statements are run) and exits.
required.
                                                          Operator response: No System Operator response is
User response: Remove the array constants the class
                                                          required.
contains.
                                                          User response: Change the key element from a
System programmer response: No System
                                                          reference to a variable.
Programmer response is required.
                                                          System programmer response: No System
Problem determination: No additional information.
                                                          Programmer response is required.
Source: PHP
                                                          Problem determination: No additional information.
Module: Not applicable.
                                                          Source: PHP
Routing code: Not applicable.
                                                          Module: Not applicable.
Descriptor code: F- A fatal error (PHP exits
                                                          Routing code: Not applicable.
immediately).
                                                          Descriptor code: F- A fatal error (PHP exits
Automation: Not applicable.
                                                          immediately).
                                                          Automation: Not applicable.
HPH00870     Cannot redefine class constant
             string1::string2
                                                          HPH00872     Cannot create references to elements
Explanation: PHP encountered a class that contains
                                                                       of a temporary array expression
constants defined more than once.
                                                          Explanation: PHP can not create references to
string1
                                                          elements of a temporary array expression.
     The class’s name
                                                          Example: HPH00872 Cannot create references to
string2
                                                          elements of a temporary array expression
     The contant’s name
                                                          System action: PHP immediately stops interpreting
Example: HPH00870 Cannot redefine class constant
                                                          the file (before any statements are run) and exits.
A::con
                                                          Operator response: No System Operator response is
System action: PHP immediately stops interpreting
                                                          required.
the file (before any statements are run) and exits.
                                                          User response: Make sure not to create references to
Operator response: No System Operator response is
                                                          elements of a temporary array expression.
required.
                                                          System programmer response: No System
User response: Remove the extraneous constant
                                                          Programmer response is required.
defines, or rename them so that the constant is defined
only once.                                                Problem determination: No additional information.
System programmer response: No System                     Source: PHP
Programmer response is required.
                                                          Module: Not applicable.

                                                                                  Chapter 6. PHP messages   189
Routing code: Not applicable.                                   Automation: Not applicable.
Descriptor code: F- A fatal error (PHP exits
immediately).                                                   HPH00875       Cannot access self:: when no class
                                                                               scope is active
Automation: Not applicable.
                                                                Explanation: PHP encountered a self:: when trying to
                                                                access members or methods from outside the class
HPH00873     Cannot use constants as encoding
                                                                definition.
Explanation: PHP can not use constants as encoding.
                                                                Example: HPH00875 Cannot access self:: when no
Example: Fatal error: HPH00873 Cannot use                       class scope is active
constants as encoding
                                                                System action: PHP immediately stops interpreting
System action: PHP immediately stops interpreting               the file (before any statements are run) and exits.
the file (before any statements are run) and exits.
                                                                Operator response: No System Operator response is
Operator response: No System Operator response is               required.
required.
                                                                User response: Use self:: to access members or
User response: Make sure not to use constants as                methods from inside the class definition.
encoding.
                                                                System programmer response: No System
System programmer response: No System                           Programmer response is required.
Programmer response is required.
                                                                Problem determination: No additional information.
Problem determination: No additional information.
                                                                Source: PHP
Source: PHP
                                                                Module: Not applicable.
Module: Not applicable.
                                                                Routing code: Not applicable.
Routing code: Not applicable.
                                                                Descriptor code: F- A fatal error (PHP exits
Descriptor code: F- A fatal error (PHP exits                    immediately).
immediately).
                                                                Automation: Not applicable.
Automation: Not applicable.
                                                                HPH00876       Cannot access parent:: when no class
HPH00874     Unsupported encoding [string]                                     scope is active
Explanation: PHP does not support current encoding.             Explanation: PHP encountered a parent:: statement
                                                                when accessing members or methods from outside the
string                                                          class definition.
     Encoding Name
                                                                Example: HPH00876 Cannot access parent:: when no
Example: Warning: HPH00874 Unsupported encoding                 class scope is active
[UTF8]
                                                                System action: PHP immediately stops interpreting
System action: Displays the warning and continues               the file (before any statements are run) and exits.
interpreting the script.
                                                                Operator response: No System Operator response is
Operator response: No System Operator response is               required.
required.
                                                                User response: Use parent:: to access members or
User response: Make sure that PHP supported                     methods from inside the extending class definition.
current encoding, user can find right encoding in PHP
manual, phpnet.                                                 System programmer response: No System
                                                                Programmer response is required.
System programmer response: No System
Programmer response is required.                                Problem determination: No additional information.
Problem determination: No additional information.               Source: PHP
Source: PHP                                                     Module: Not applicable.
Module: Not applicable.                                         Routing code: Not applicable.
Routing code: Not applicable.                                   Descriptor code: F- A fatal error (PHP exits
                                                                immediately).
Descriptor code: W- A warning (PHP continues).
                                                                Automation: Not applicable.

190    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Descriptor code: N- An informational notice. Could be
HPH00877      Cannot access parent:: when current
                                                           an error or could be normal behavior.
              class scope has no parent
                                                           Automation: Not applicable.
Explanation: PHP encountered an error that either a
class contains a parent:: statement without extending to
a parent class or parent:: statement is not used inside    HPH00879     SIGSEGV caught on opcode %d on
an object.                                                              opline %d of %s() at %s:%dnn
Example: HPH00877 Cannot access parent:: when              Explanation: --remove--
current class scope has no parent
                                                           Example: HPH00879 SIGSEGV caught on opcode %d
System action: PHP immediately stops interpreting          on opline %d of %s() at %s:%dnn
the file (before any statements are run) and exits.
                                                           System action: Displays the warning and continues
Operator response: No System Operator response is          interpreting the script.
required.
                                                           Operator response: No System Operator response is
User response: Make sure parent:: statement is used        required.
inside an object first. And if the message reoccurs,
either make sure the class has a parent class or           User response: --remove-- It is marked by MACRO
remove the ″parent::″.                                     ZEND_DEBUG.

System programmer response: No System                      System programmer response: No System
Programmer response is required.                           Programmer response is required.

Problem determination: No additional information.          Problem determination: No additional information.

Source: PHP                                                Source: PHP

Module: Not applicable.                                    Module: Not applicable.

Routing code: Not applicable.                              Routing code: Not applicable.

Descriptor code: F- A fatal error (PHP exits               Descriptor code: W- A warning (PHP continues).
immediately).                                              Automation: Not applicable.
Automation: Not applicable.
                                                           HPH00880     Use of undefined constant string -
HPH00878      Constant con already defined                              assumed ’string’

Explanation: PHP encountered a constant that was           Explanation: PHP encountered a constant that was
defined more than once.                                    not previously defined.

con                                                        string
      The constant                                              The constant



Example: HPH00878 Constant a already defined               Example: HPH00880 Use of undefined constant a -
                                                           assumed ’a’
System action: Displays the warning and continues
interpreting the script.                                   System action: Displays the warning and continues
                                                           interpreting the script.
Operator response: No System Operator response is
required.                                                  Operator response: No System Operator response is
                                                           required.
User response: Remove the extraneous constant
defines, or rename them so that the constant is defined    User response: Define the constant before using it.
only once.                                                 System programmer response: No System
System programmer response: No System                      Programmer response is required.
Programmer response is required.                           Problem determination: No additional information.
Problem determination: No additional information.          Source: PHP
Source: PHP                                                Module: Not applicable.
Module: Not applicable.                                    Routing code: Not applicable.
Routing code: Not applicable.                              Descriptor code: N- An informational notice. Could be
                                                           an error or could be normal behavior.

                                                                                   Chapter 6. PHP messages   191
Automation: Not applicable.
                                                                HPH00887       Class ’string’ not found
                                                                Explanation: PHP encountered a class that was not
HPH00882      Corrupted fcall_info provided to
                                                                declared.
              zend_call_function()
                                                                string
Explanation: Corrupted fcall_info provided to
                                                                     The class
zend_call_function()
Example: Fatal error: HPH00882 Corrupted fcall_info
provided to zend_call_function()                                Example: HPH00887 Class ’A’ not found
System action: PHP immediately stops interpreting               System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.             the file (before any statements are run) and exits.
Operator response: No System Operator response is               Operator response: No System Operator response is
required.                                                       required.
User response: Internal error, please report this bug           User response: Remove the usage of the class, or
on phpnet.                                                      define the class so that it can be found.
System programmer response: No System                           System programmer response: No System
Programmer response is required.                                Programmer response is required.
Problem determination: No additional information.               Problem determination: No additional information.
Source: PHP                                                     Source: PHP
Module: Not applicable.                                         Module: Not applicable.
Routing code: Not applicable.                                   Routing code: Not applicable.
Descriptor code: I- An internal error not caused by             Descriptor code: F- A fatal error (PHP exits
user (a programming error in PHP).                              immediately).
Automation: Not applicable.                                     Automation: Not applicable.


HPH00883      Cannot use call_user_function on                  HPH00888       Non-callable array passed to
              objects without a class entry                                    zend_call_function()
Explanation: PHP cannot use call_user_function on               Explanation: Non-callable array passed to
objects without a class entry.                                  zend_call_function().
Example: HPH00883 Cannot use call_user_function                 Example: HPH00888 Non-callable array passed to
on objects without a class entry                                zend_call_function()
System action: Displays the warning and continues               System action: Displays the warning and continues
interpreting the script.                                        interpreting the script.
Operator response: No System Operator response is               Operator response: No System Operator response is
required.                                                       required.
User response: Make sure not to use                             User response: Make sure not to pass non-callable
call_user_function on objects without a class entry.            array to zend_call_function().
System programmer response: No System                           System programmer response: No System
Programmer response is required.                                Programmer response is required.
Problem determination: No additional information.               Problem determination: No additional information.
Source: PHP                                                     Source: PHP
Module: Not applicable.                                         Module: Not applicable.
Routing code: Not applicable.                                   Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                  Descriptor code: N- An informational notice. Could be
                                                                an error or could be normal behavior.
Automation: Not applicable.
                                                                Automation: Not applicable.



192    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Source: PHP
HPH00889     Cannot call method string() or method
             does not exist                           Module: Not applicable.
Explanation: PHP can not call method or method        Routing code: Not applicable.
does not exist.
                                                      Descriptor code: F- A fatal error (PHP exits
string                                                immediately).
     Method Name
                                                      Automation: Not applicable.
Example: HPH00889 Cannot call method func1() or
method does not exist
                                                      HPH00891     Object does not support method calls
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.   Explanation: Object does not support method calls.

Operator response: No System Operator response is     Example: HPH00891 Object does not support method
required.                                             calls

User response: Please do not call current method in   System action: PHP immediately stops interpreting
PHP scripts, or make sure the method exists.          the file (before any statements are run) and exits.

System programmer response: No System                 Operator response: No System Operator response is
Programmer response is required.                      required.

Problem determination: No additional information.     User response: Make sure that current object
                                                      supports method calls.
Source: PHP
                                                      System programmer response: No System
Module: Not applicable.                               Programmer response is required.
Routing code: Not applicable.                         Problem determination: No additional information.
Descriptor code: F- A fatal error (PHP exits          Source: PHP
immediately).
                                                      Module: Not applicable.
Automation: Not applicable.
                                                      Routing code: Not applicable.

HPH00890     Cannot call method string1() of class    Descriptor code: F- A fatal error (PHP exits
             string2 which is not a derived from      immediately).
             string3                                  Automation: Not applicable.
Explanation: PHP can not call a class method which
is not derived from parent class or other scopes.     HPH00892     Cannot call method string1::string2() or
string1                                                            method does not exist
     Method Name                                      Explanation: PHP can not call method or method
string2                                               does not exist.
     Class Name                                       string1
string3                                                    Class Name
     Call Scope Name                                  string2
Example: HPH00890 Cannot call method func1() of            Method Name
class AClass which is not a derived from BClass       Example: HPH00892 Cannot call method
System action: PHP immediately stops interpreting     AClass::AMethod() or method does not exist
the file (before any statements are run) and exits.   System action: PHP immediately stops interpreting
Operator response: No System Operator response is     the file (before any statements are run) and exits.
required.                                             Operator response: No System Operator response is
User response: Make sure not to call a class method   required.
which is not a derived from parent class or other     User response: Make sure either not to call the
scopes.                                               method, or the method exists.
System programmer response: No System                 System programmer response: No System
Programmer response is required.                      Programmer response is required.
Problem determination: No additional information.     Problem determination: No additional information.


                                                                              Chapter 6. PHP messages   193
Source: PHP                                                     Operator response: No System Operator response is
                                                                required.
Module: Not applicable.
                                                                User response: Make sure that __autoload() function
Routing code: Not applicable.
                                                                does not threw an exception.
Descriptor code: F- A fatal error (PHP exits
                                                                System programmer response: No System
immediately).
                                                                Programmer response is required.
Automation: Not applicable.
                                                                Problem determination: No additional information.
                                                                Source: PHP
HPH00893      Non-static method string1::string2()
              cannot be called statically                       Module: Not applicable.
Explanation: Non-static method cannot be called                 Routing code: Not applicable.
statically.
                                                                Descriptor code: F- A fatal error (PHP exits
string1                                                         immediately).
     Class Name
                                                                Automation: Not applicable.
string2
     Method Name
                                                                HPH00895       Maximum execution time of integer
Example: HPH00893 Non-static method                                            second string exceeded
AClass::Func1() cannot be called statically
                                                                Explanation: PHP scripts have been executed
System action: PHP immediately stops interpreting               timeout.
the file (before any statements are run) and exits.
                                                                integer
Operator response: No System Operator response is                    Timeout time
required.
                                                                string
User response: Make sure that only static method                     Single or Plural form
can be called statically.
                                                                Example: HPH00895 Maximum execution time of 30
System programmer response: No System                           seconds exceeded
Programmer response is required.
                                                                System action: PHP immediately stops interpreting
Problem determination: No additional information.               the file (before any statements are run) and exits.
Source: PHP                                                     Operator response: No System Operator response is
                                                                required.
Module: Not applicable.
                                                                User response: Make sure that PHP scripts could not
Routing code: Not applicable.
                                                                be executed timeout when ″max_execution_time″ is
Descriptor code: F- A fatal error (PHP exits                    defined in php.ini.
immediately).
                                                                System programmer response: No System
Automation: Not applicable.                                     Programmer response is required.
                                                                Problem determination: No additional information.
HPH00894      Function string1(string2) threw an
                                                                Source: PHP
              exception of type ’string3’
                                                                Module: Not applicable.
Explanation: __autoload() function can not threw an
exception.                                                      Routing code: Not applicable.
string1                                                         Descriptor code: F- A fatal error (PHP exits
     Function type                                              immediately).
string2                                                         Automation: Not applicable.
     Function Name
string3                                                         HPH00899       Interface ’string’ not found
     Exception Name
                                                                Explanation: Current interface could not be found in
Example: HPH00894 Function __autoload(func1)                    PHP scripts.
threw an exception of type ’AException’
                                                                string
System action: PHP immediately stops interpreting                    Interface Name
the file (before any statements are run) and exits.

194    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Example: HPH00899 Interface ’AInterface’ not found      Automation: Not applicable.
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.     HPH00902       Cannot convert to ordinal value
Operator response: No System Operator response is       Explanation: PHP cannot convert current variable to
required.                                               ordinal value.
User response: Make sure that current interface         Example: HPH00902 Cannot convert to ordinal value
exists.
                                                        System action: Displays the warning and continues
System programmer response: No System                   interpreting the script.
Programmer response is required.
                                                        Operator response: No System Operator response is
Problem determination: No additional information.       required.
Source: PHP                                             User response: Make sure not to convert current
                                                        variable to ordinal value, curret variable’s type maybe is
Module: Not applicable.
                                                        CONSTANT ot CONSTANT ARRAY.
Routing code: Not applicable.
                                                        System programmer response: No System
Descriptor code: F- A fatal error (PHP exits            Programmer response is required.
immediately).
                                                        Problem determination: No additional information.
Automation: Not applicable.
                                                        Source: PHP
                                                        Module: Not applicable.
HPH00901      Class string1 contains integer abstract
              methodstring2 and must therefore be       Routing code: Not applicable.
              declared abstract or implement the
                                                        Descriptor code: W- A warning (PHP continues).
              remaining methods (method )
                                                        Automation: Not applicable.
Explanation: PHP encountered a class that is not
declared abstract but has abstract methods.
                                                        HPH00903       Object of class string could not be
string1
                                                                       converted to int
     The class
                                                        Explanation: PHP could not convert object of class
integer
                                                        into int.
     The abstract method num
                                                        string
string2’s’ or nothing to indicate the abstract method        The class
form, plural or single methodsThe methods to
implement
                                                        Example: HPH00903 Object of class Exception could
Example: HPH00901 Class A contains 2 abstract
                                                        not be converted to int
methods and must therefore be declared abstract or
implement the remaining methods (A::fa, A::fb)          System action: Displays the warning and continues
                                                        interpreting the script.
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.     Operator response: No System Operator response is
                                                        required.
Operator response: No System Operator response is
required.                                               User response: Make sure not to convert an object to
                                                        int. If you really want to convert a class to int, check the
User response: Declare the class abstract or make it
                                                        ze1_compatibility_mode in php.ini and enable it to
implement the remaining methods.
                                                        prevent this message.
System programmer response: No System
                                                        System programmer response: No System
Programmer response is required.
                                                        Programmer response is required.
Problem determination: No additional information.
                                                        Problem determination: No additional information.
Source: PHP
                                                        Source: PHP
Module: Not applicable.
                                                        Module: Not applicable.
Routing code: Not applicable.
                                                        Routing code: Not applicable.
Descriptor code: F- A fatal error (PHP exits
                                                        Descriptor code: N- An informational notice. Could be
immediately).

                                                                                   Chapter 6. PHP messages     195
an error or could be normal behavior.                           Module: Not applicable.
Automation: Not applicable.                                     Routing code: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
HPH00905      Object of class string could not be
                                                                Automation: Not applicable.
              converted to double
Explanation: PHP could not convert object of class
                                                                HPH00907       Array to string conversion
into double.
                                                                Explanation: PHP encountered a conversion from
string
                                                                array to string.
     The object name
                                                                Example: HPH00907 Array to string conversion
                                                                System action: Displays the warning and continues
Example: HPH00905 Object of class Exception could
                                                                interpreting the script.
not be converted to double
                                                                Operator response: No System Operator response is
System action: Displays the warning and continues
                                                                required.
interpreting the script.
                                                                User response: Use ″(string)″ cast to convert an array
Operator response: No System Operator response is
                                                                to string.
required.
                                                                System programmer response: No System
User response: Make sure not to convert an object to
                                                                Programmer response is required.
double.
                                                                Problem determination: No additional information.
System programmer response: No System
Programmer response is required.                                Source: PHP
Problem determination: No additional information.               Module: Not applicable.
Source: PHP                                                     Routing code: Not applicable.
Module: Not applicable.                                         Descriptor code: N- An informational notice. Could be
                                                                an error or could be normal behavior.
Routing code: Not applicable.
                                                                Automation: Not applicable.
Descriptor code: N- An informational notice. Could be
an error or could be normal behavior.
                                                                HPH00908       Object of class string to string
Automation: Not applicable.
                                                                               conversion
                                                                Explanation: PHP encountered a conversion from
HPH00906      Cannot convert to real value
                                                                object of class to string.
              (type=integer)
                                                                string
Explanation: PHP cannot convert current variable to
                                                                     The object name
real value.
integer
     Variable Type                                              Example: HPH00908 Object of class Exception to
                                                                string conversion
Example: HPH00906 Cannot convert to real value
(type=9)                                                        System action: Displays the warning and continues
                                                                interpreting the script.
System action: Displays the warning and continues
interpreting the script.                                        Operator response: No System Operator response is
                                                                required.
Operator response: No System Operator response is
required.                                                       User response: Use ″(string)″ cast to convert object
                                                                of class to string.
User response: Make sure not to convert current
variable to real value, current variable’s type maybe is        System programmer response: No System
CONSTANT ot CONSTANT ARRAY.                                     Programmer response is required.
System programmer response: No System                           Problem determination: No additional information.
Programmer response is required.
                                                                Source: PHP
Problem determination: No additional information.
                                                                Module: Not applicable.
Source: PHP

196    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Routing code: Not applicable.
                                                        HPH00917     Internal zval’s can’t be arrays, objects
Descriptor code: N- An informational notice. Could be                or resources
an error or could be normal behavior.
                                                        Explanation: Property of Internal class can’t be
Automation: Not applicable.                             arrays, objects or resources.
                                                        Example: HPH00917 Internal zval’s can’t be arrays,
HPH00909     Unsupported operand types                  objects or resources
Explanation: PHP encountered operand types that are     System action: PHP immediately stops interpreting
not supported.                                          the file (before any statements are run) and exits.
Example: HPH00909 Unsupported operand types             Operator response: No System Operator response is
                                                        required.
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.     User response: Make sure that property of internal
                                                        class can not be array, object or resource.
Operator response: No System Operator response is
required.                                               System programmer response: No System
                                                        Programmer response is required.
User response: Change the operand types to double,
long or array so that they are supported.               Problem determination: No additional information.
System programmer response: No System                   Source: PHP
Programmer response is required.
                                                        Module: Not applicable.
Problem determination: No additional information.
                                                        Routing code: Not applicable.
Source: PHP
                                                        Descriptor code: F- A fatal error (PHP exits
Module: Not applicable.                                 immediately).
Routing code: Not applicable.                           Automation: Not applicable.
Descriptor code: F- A fatal error (PHP exits
immediately).                                           HPH00919     Object of class %s could not be
                                                                     converted to string
Automation: Not applicable.
                                                        Explanation: --removed--
HPH00912     Division by zero                           Example: HPH00919 Object of class %s could not be
                                                        converted to string
Explanation: PHP encountered an expression that the
denominator is zero.                                    System action: Displays the warning and continues
                                                        interpreting the script.
Example: HPH00912 Division by zero
                                                        Operator response: No System Operator response is
System action: Displays the warning and continues       required.
interpreting the script.
                                                        User response: --removed-- This source code have
Operator response: No System Operator response is       been marked by MACRO #if 0.
required.
                                                        System programmer response: No System
User response: Change the denominator so that it is     Programmer response is required.
not zero.
                                                        Problem determination: No additional information.
System programmer response: No System
Programmer response is required.                        Source: PHP
Problem determination: No additional information.       Module: Not applicable.
Source: PHP                                             Routing code: Not applicable.
Module: Not applicable.                                 Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.                           Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.




                                                                                Chapter 6. PHP messages    197
HPH00921     %s(%d) : Bailed out without a bailout              HPH00923       Wrong parameter count for
             address!                                                          string1string2string3()
Explanation: --removed--                                        Explanation: PHP encountered a function that has
                                                                wrong parameter count.
Example: HPH00921 %s(%d) : Bailed out without a
bailout address!                                                string1
                                                                     The class
System action: Displays the warning and continues
interpreting the script.                                        string2
                                                                     Space or ″::″
Operator response: No System Operator response is
required.                                                       string3
                                                                     The function
User response: --removed-- This is debug message,
marked by MACRO ZEND_DEBUG.
System programmer response: No System                           Example: HPH00923 Wrong parameter count for
Programmer response is required.                                session_save_path()
Problem determination: No additional information.               System action: Displays the warning and continues
                                                                interpreting the script.
Source: PHP
                                                                Operator response: No System Operator response is
Module: Not applicable.
                                                                required.
Routing code: Not applicable.
                                                                User response: Check and change the parameters so
Descriptor code: W- A warning (PHP continues).                  that the function has the right number of parameter
                                                                markers present in the prepared statement.
Automation: Not applicable.
                                                                System programmer response: No System
                                                                Programmer response is required.
HPH00922     Implicit cloning object of class ’string’
             because of                                         Problem determination: No additional information.
             ’zend.ze1_compatibility_mode’
                                                                Source: PHP
Explanation: PHP implicit cloning object of class when
                                                                Module: Not applicable.
’zend.ze1_compatibility_mode’ have been enabled in
php.ini.                                                        Routing code: Not applicable.
string                                                          Descriptor code: W- A warning (PHP continues).
     Class Name
                                                                Automation: Not applicable.
Example: HPH00922 Implicit cloning object of class
’AClass’ because of ’zend.ze1_compatibility_mode’
                                                                HPH00924       Class entry requested for an object
System action: Displays the warning and continues                              without PHP class
interpreting the script.
                                                                Explanation: This problem is due to a problem in PHP
Operator response: No System Operator response is               earlier versions with handling exceptions thrown by
required.                                                       non-PHP objects.
User response: Make sure that current object is                 Example: HPH00924 Class entry requested for an
cloneable object when ’zend.ze1_compatibility_mode’ is          object without PHP class
enabled in php.ini.
                                                                System action: PHP immediately stops interpreting
System programmer response: No System                           the file (before any statements are run) and exits.
Programmer response is required.
                                                                Operator response: No System Operator response is
Problem determination: No additional information.               required.
Source: PHP                                                     User response: This problem have been fixed in
                                                                current version.
Module: Not applicable.
                                                                System programmer response: No System
Routing code: Not applicable.
                                                                Programmer response is required.
Descriptor code: N- An informational notice. Could be
                                                                Problem determination: No additional information.
an error or could be normal behavior.
                                                                Source: PHP
Automation: Not applicable.


198    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Module: Not applicable.
                                                             HPH00926       string1string2string3(): bad type specifier
Routing code: Not applicable.                                               while parsing parameters
Descriptor code: F- A fatal error (PHP exits                 Explanation: PHP encountered bad type specifier
immediately).                                                while parsing parameters.
Automation: Not applicable.                                  string1
                                                                  Class Name
HPH00925      string1string2string3() expects parameter      string2
              integer to be string4, string5 given                If is class output ’::’, else output NULL
Explanation: PHP encountered a function that expects         string3
the parameter to be one kind of type but another type             Methods or Function name
instead.
string1
                                                             Example: Warning: HPH00926
     The class
                                                             SplFileInfo::getFileInfo(): bad type specifier while
string2                                                      parsing parameters in /home/mytx/debug_php/926.php
     Space or ″::″                                           on line 6

string3                                                      System action: Displays the warning and continues
     The function                                            interpreting the script.
integer                                                      Operator response: No System Operator response is
     The offset of the parameter                             required.

string4                                                      User response: Make sure not to use bad type
     The expected type                                       specifier while parsing parameters, please report it on
                                                             PHP web site, phpnet.
                                                             System programmer response: No System
    string5                                                  Programmer response is required.
         The actually passed type
                                                             Problem determination: No additional information.
                                                             Source: PHP
Example: HPH00925 stream_context_get_options()
expects parameter 1 to be resource, integer given            Module: Not applicable.
System action: Displays the warning and continues            Routing code: Not applicable.
interpreting the script.
                                                             Descriptor code: W- A warning (PHP continues).
Operator response: No System Operator response is
                                                             Automation: Not applicable.
required.
User response: Check and change the function’s
                                                             HPH00927       string1string2string3() expects string4
parameter so that its type is consistent with the required
                                                                            integer1 parameterstring5, integer2 given
one.
                                                             Explanation: PHP encountered a function whose
System programmer response: No System
                                                             actually passed parameters’ number is greater than the
Programmer response is required.
                                                             maximun one or less than the minimum one.
Problem determination: No additional information.
                                                             string1
Source: PHP                                                       The class
Module: Not applicable.                                      string2
                                                                  Space or ″::″
Routing code: Not applicable.
                                                             string3
Descriptor code: W- A warning (PHP continues).                    The function
Automation: Not applicable.                                  string4
                                                                  Some extent(exactly/at most/at least)
                                                             integer1
                                                                  The max/min/exact number of parameters
                                                             string5
                                                                  The singular or plural form

                                                                                        Chapter 6. PHP messages   199
integer2
                                                                HPH00929       string1::string2() must be derived from
     The actually passed number
                                                                               string3::string4
                                                                Explanation: Methods should be deriverd from current
Example: HPH00927 proc_open() expects at least 3                class’s.
parameters, 0 given
                                                                string1
System action: Displays the warning and continues                    Class Name
interpreting the script.
                                                                string2
Operator response: No System Operator response is                    Method Name
required.
                                                                string3
User response: Check the parameters passed to the                    This Class Name
function and make sure that its number is consistent
                                                                string4
with the scope.
                                                                     Method Name
System programmer response: No System
                                                                Example: HPH00929 AClass::Func1() must be derived
Programmer response is required.
                                                                from AClass::Func1
Problem determination: No additional information.
                                                                System action: PHP immediately stops interpreting
Source: PHP                                                     the file (before any statements are run) and exits.
Module: Not applicable.                                         Operator response: No System Operator response is
                                                                required.
Routing code: Not applicable.
                                                                User response: Make sure that current methods is
Descriptor code: W- A warning (PHP continues).                  deriverd from current class’s, please report this bug on
Automation: Not applicable.                                     phpnet.
                                                                System programmer response: No System
HPH00928     string(): could not obtain parameters              Programmer response is required.
             for parsing                                        Problem determination: No additional information.
Explanation: PHP encountered a function that needs              Source: PHP
parameters for parsing but could not obtain them
because of no parameters passed.                                Module: Not applicable.
string                                                          Routing code: Not applicable.
     The function name
                                                                Descriptor code: I- An internal error not caused by
                                                                user (a programming error in PHP).
Example: HPH00928 shuffle(): could not obtain                   Automation: Not applicable.
parameters for parsing
System action: Displays the warning and continues               HPH00931       Cannot instantiate string1 string2
interpreting the script.
                                                                Explanation: PHP encountered an object that can not
Operator response: No System Operator response is               be instantiated.
required.
                                                                string1
User response: Add the function’s parameters so that                 The object type
the function can obtain them for parsing.
                                                                string2
System programmer response: No System                                The object name
Programmer response is required.
                                                                Example: HPH00931 Cannot instantiate abstract class
Problem determination: No additional information.               A
Source: PHP                                                     System action: PHP immediately stops interpreting
                                                                the file (before any statements are run) and exits.
Module: Not applicable.
                                                                Operator response: No System Operator response is
Routing code: Not applicable.                                   required.
Descriptor code: W- A warning (PHP continues).                  User response: Make sure that the object type is not
Automation: Not applicable.                                     interface or abstract class.
                                                                System programmer response: No System

200    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Programmer response is required.                       Programmer response is required.
Problem determination: No additional information.      Problem determination: No additional information.
Source: PHP                                            Source: PHP
Module: Not applicable.                                Module: Not applicable.
Routing code: Not applicable.                          Routing code: Not applicable.
Descriptor code: F- A fatal error (PHP exits           Descriptor code: W- A warning (PHP continues).
immediately).
                                                       Automation: Not applicable.
Automation: Not applicable.
                                                       HPH00934     Unable to start string module
HPH00932     add_assoc_function() is no longer
                                                       Explanation: PHP was unable to start this module.
             supported
                                                       string
Explanation: add_assoc_function() is no longer
                                                            Module Name
supported.
                                                       Example: HPH00934 Unable to start Module1 module
Example: HPH00932 add_assoc_function() is no
longer supported                                       System action: PHP immediately stops interpreting
                                                       the file (before any statements are run) and exits.
System action: Displays the warning and continues
interpreting the script.                               Operator response: No System Operator response is
                                                       required.
Operator response: No System Operator response is
required.                                              User response: Make sure that this module exists and
                                                       is available.
User response: Internal notice.
                                                       System programmer response: No System
System programmer response: No System
                                                       Programmer response is required.
Programmer response is required.
                                                       Problem determination: No additional information.
Problem determination: No additional information.
                                                       Source: PHP
Source: PHP
                                                       Module: Not applicable.
Module: Not applicable.
                                                       Routing code: Not applicable.
Routing code: Not applicable.
                                                       Descriptor code: F- A fatal error (PHP exits
Descriptor code: W- A warning (PHP continues).
                                                       immediately).
Automation: Not applicable.
                                                       Automation: Not applicable.

HPH00933     Cannot load module ’string1’ because
                                                       HPH00935     Cannot load module ’string1’ because
             required module ’string2’ is not loaded
                                                                    conflicting module ’string2’ is already
Explanation: PHP cannot load module because                         loaded
required module is not loaded.
                                                       Explanation: PHP cannot load module because
string1                                                conflicting module is already loaded.
     Module Name
                                                       string1
string2                                                     Module Name
     Relationship Module Name
                                                       string2
Example: HPH00933 Cannot load module ’Module1’              Conflicting Module Name
because required module ’Module2’ is not loaded
                                                       Example: HPH00935 Cannot load module ’Module1’
System action: Displays the warning and continues      because conflicting module ’Module2’ is already loaded
interpreting the script.
                                                       System action: Displays the warning and continues
Operator response: No System Operator response is      interpreting the script.
required.
                                                       Operator response: No System Operator response is
User response: Make sure that user should load         required.
required module before loading current module.
                                                       User response: Make sure not to load conflicting
System programmer response: No System                  modules.

                                                                               Chapter 6. PHP messages    201
System programmer response: No System                           Problem determination: No additional information.
Programmer response is required.
                                                                Source: PHP
Problem determination: No additional information.
                                                                Module: Not applicable.
Source: PHP
                                                                Routing code: Not applicable.
Module: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                                Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                                     HPH00938       Destuctor string1::string2() cannot take
                                                                               arguments
HPH00936     Module ’string’ already loaded                     Explanation: PHP encountered a class whose
                                                                destructor cannot but takes arguments.
Explanation: Module has already been loaded.
                                                                string1
string
                                                                     The class name
     Module Name
                                                                string2
Example: HPH00936 Module ’Module1’ already
                                                                     The destructor function
loaded
                                                                Example: HPH00938 Destuctor A::__destruct() cannot
System action: Displays the warning and continues
                                                                take arguments
interpreting the script.
                                                                System action: PHP immediately stops interpreting
Operator response: No System Operator response is
                                                                the file (before any statements are run) and exits.
required.
                                                                Operator response: No System Operator response is
User response: Make sure not to reload the same
                                                                required.
module when it has loaded.
                                                                User response: Remove the arguments of the
System programmer response: No System
                                                                destructor so that it takes no arguments.
Programmer response is required.
                                                                System programmer response: No System
Problem determination: No additional information.
                                                                Programmer response is required.
Source: PHP
                                                                Problem determination: No additional information.
Module: Not applicable.
                                                                Source: PHP
Routing code: Not applicable.
                                                                Module: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Routing code: Not applicable.
Automation: Not applicable.
                                                                Descriptor code: F- A fatal error (PHP exits
                                                                immediately).
HPH00937     string: Unable to register functions,
                                                                Automation: Not applicable.
             unable to load
Explanation: Because PHP was unable to register
                                                                HPH00939       Method string1::string2() cannot accept
functions, PHP was unable to load current module.
                                                                               any arguments
string
                                                                Explanation: PHP encountered a class whose
     Module Name
                                                                __clone() method cannot but accept any arguments.
Example: HPH00937 Module1: Unable to register
                                                                string1
functions, unable to load
                                                                     The class
System action: Displays the warning and continues
                                                                string2
interpreting the script.
                                                                     The method
Operator response: No System Operator response is
                                                                Example: HPH00939 Method A::__clone() cannot
required.
                                                                accept any arguments
User response: Make sure to register module’s entry
                                                                System action: PHP immediately stops interpreting
functions.
                                                                the file (before any statements are run) and exits.
System programmer response: No System
Programmer response is required.

202    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Operator response: No System Operator response is       string1
required.                                                    The class
User response: Remove the arguments so that             string2
__clone() method accepts no arguments.                       The method
System programmer response: No System                   Example: HPH00941 Method Method A::__set() must
Programmer response is required.                        take exactly 2 arguments
Problem determination: No additional information.       System action: PHP immediately stops interpreting
                                                        the file (before any statements are run) and exits.
Source: PHP
                                                        Operator response: No System Operator response is
Module: Not applicable.
                                                        required.
Routing code: Not applicable.
                                                        User response: Change the __set() or __call()
Descriptor code: F- A fatal error (PHP exits            method’s arguments so that it has 2 arguments.
immediately).
                                                        System programmer response: No System
Automation: Not applicable.                             Programmer response is required.
                                                        Problem determination: No additional information.
HPH00940     Method string1::string2() must take
                                                        Source: PHP
             exactly 1 argument
                                                        Module: Not applicable.
Explanation: PHP encountered a class whose __get()
or __unset() or __isset() method must exactly 1         Routing code: Not applicable.
argument but takes more than one.
                                                        Descriptor code: F- A fatal error (PHP exits
string1                                                 immediately).
     The class
                                                        Automation: Not applicable.
string2
     The method
                                                        HPH00945       Invalid access level for string1 string2
Example: HPH00940 Method Foo::__get() must take                        string3() - access must be exactly one
exactly 1 argument                                                     of public, protected or private
System action: PHP immediately stops interpreting       Explanation: PHP encountered invalid access level for
the file (before any statements are run) and exits.     method.
Operator response: No System Operator response is       string1
required.                                                    Class Name
User response: Remove the redundant arguments so        string2
that __get() or __unset() or __isset() method takes 1        Space or ’::’
argument only.
                                                        string3
System programmer response: No System                        Method Name
Programmer response is required.
                                                        Example: HPH00945 Invalid access level for
Problem determination: No additional information.       AClass::func1() - access must be exactly one of public,
                                                        protected or private
Source: PHP
                                                        System action: Displays the warning and continues
Module: Not applicable.
                                                        interpreting the script.
Routing code: Not applicable.
                                                        Operator response: No System Operator response is
Descriptor code: F- A fatal error (PHP exits            required.
immediately).
                                                        User response: Make sure that access should be
Automation: Not applicable.                             exactly one of public, protected or private.
                                                        System programmer response: No System
HPH00941     Method string1::string2() must take        Programmer response is required.
             exactly 2 arguments
                                                        Problem determination: No additional information.
Explanation: PHP encountered a class whose __set()
                                                        Source: PHP
or __call() method must take 2 arguments but does not
in the script.                                          Module: Not applicable.


                                                                                  Chapter 6. PHP messages   203
Routing code: Not applicable.                                    System programmer response: No System
                                                                 Programmer response is required.
Descriptor code: W- A warning (PHP continues).
                                                                 Problem determination: No additional information.
Automation: Not applicable.
                                                                 Source: PHP
HPH00946       Interface string1 cannot contain non              Module: Not applicable.
               abstract method string2()
                                                                 Routing code: Not applicable.
Explanation: Interface cannot contain non abstract
                                                                 Descriptor code: W- A warning (PHP continues).
method.
                                                                 Automation: Not applicable.
string1
     Interface Name
                                                                 HPH00948       Destructor string1::string2() cannot take
string2
                                                                                arguments
     Method Name
                                                                 Explanation: --remove---
Example: HPH00946 Interface AInterface cannot
contain non abstract method Func1()                              Example: HPH00948 Destructor %s::%s() cannot take
                                                                 arguments
System action: Displays the warning and continues
interpreting the script.                                         System action: PHP immediately stops interpreting
                                                                 the file (before any statements are run) and exits.
Operator response: No System Operator response is
required.                                                        Operator response: No System Operator response is
                                                                 required.
User response: Make sure that interface should not
contain non abstract method.                                     User response: It is the same with HPH00938
System programmer response: No System                            System programmer response: No System
Programmer response is required.                                 Programmer response is required.
Problem determination: No additional information.                Problem determination: No additional information.
Source: PHP                                                      Source: PHP
Module: Not applicable.                                          Module: Not applicable.
Routing code: Not applicable.                                    Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).                   Descriptor code: F- A fatal error (PHP exits
                                                                 immediately).
Automation: Not applicable.
                                                                 Automation: Not applicable.
HPH00947       Method string1 string2 string3() cannot
               be a NULL function                                HPH00949       Function registration failed - duplicate
                                                                                name - string1 string2 string3
Explanation: Method cannot be a NULL function.
                                                                 Explanation: Function registration failed, because
string1
                                                                 PHP could not register it again.
     Class Name
                                                                 string1
string2
                                                                      Class Name
     Space or ’::’
                                                                 string2
string3
                                                                      Space or ’::’
     Method Name
                                                                 string3
Example: HPH00947 Method AClass::Func1() cannot
                                                                      Method Name
be a NULL function
                                                                 Example: HPH00949 Function registration failed -
System action: Displays the warning and continues
                                                                 duplicate name - AClass::Func1
interpreting the script.
                                                                 System action: Displays the warning and continues
Operator response: No System Operator response is
                                                                 interpreting the script.
required.
                                                                 Operator response: No System Operator response is
User response: Make sure that method should not be
                                                                 required.
a NULL function.
                                                                 User response: Make sure not to register the function

204     z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
with the name that has already been registered.         Operator response: No System Operator response is
                                                        required.
System programmer response: No System
Programmer response is required.                        User response: Make sure that request_startup()
                                                        fuction is called successfully.
Problem determination: No additional information.
                                                        System programmer response: No System
Source: PHP
                                                        Programmer response is required.
Module: Not applicable.
                                                        Problem determination: No additional information.
Routing code: Not applicable.
                                                        Source: PHP
Descriptor code: W- A warning (PHP continues).
                                                        Module: Not applicable.
Automation: Not applicable.
                                                        Routing code: Not applicable.
                                                        Descriptor code: W- A warning (PHP continues).
HPH00953      Method string1::string2() cannot be
              static                                    Automation: Not applicable.
Explanation: PHP encountered a class whose method
cannot but is static.                                   HPH00959      string() has been disabled for security
                                                                      reasons
string1
     The class                                          Explanation: Function display_disabled_function() has
                                                        been disabled for security reasons, or current class has
string2
                                                        been disabled for security reasons.
     The method
                                                        string
Example: HPH00953 Method A::__clone() cannot be
                                                             Function Name or Class Name
static
                                                        Example: HPH00959 display_disabled_function() has
System action: PHP immediately stops interpreting
                                                        been disabled for security reasons
the file (before any statements are run) and exits.
                                                        System action: Displays the warning and continues
Operator response: No System Operator response is
                                                        interpreting the script.
required.
                                                        Operator response: No System Operator response is
User response: Change the method’s attribute so that
                                                        required.
it is not static.
                                                        User response: Make sure that function
System programmer response: No System
                                                        display_disabled_function() or current class has not
Programmer response is required.
                                                        been disabled for security reasons.
Problem determination: No additional information.
                                                        System programmer response: No System
Source: PHP                                             Programmer response is required.
Module: Not applicable.                                 Problem determination: No additional information.
Routing code: Not applicable.                           Source: PHP
Descriptor code: F- A fatal error (PHP exits            Module: Not applicable.
immediately).
                                                        Routing code: Not applicable.
Automation: Not applicable.
                                                        Descriptor code: W- A warning (PHP continues).
                                                        Automation: Not applicable.
HPH00958      request_startup() for string module
              failed
                                                        HPH00962      Non-static method string1::string2()
Explanation: PHP encountered calling
                                                                      cannot be called statically, assuming
request_startup() function for module unsuccessfully.
                                                                      $this from compatible context string3
string
                                                        Explanation: Non-static method cannot be called
     Module Name
                                                        statically while PHP assuming $this from a compatible
Example: HPH00958 request_startup() for Module1         context.
module failed
                                                        string1
System action: Displays the warning and continues            Class Name
interpreting the script.


                                                                                 Chapter 6. PHP messages       205
string2
                                                                HPH00964       Property string1 of class string2 cannot
     Method Name
                                                                               be updated
string3
                                                                Explanation: Property of current class cannot be
     Context Name
                                                                rewrote.
Example: HPH00962 Non-static method
                                                                string1
AClass::Func1() cannot be called statically, assuming
                                                                     Property Name
$this from compatible context AClass
                                                                string2
System action: Displays the warning and continues
                                                                     Class Name
interpreting the script.
                                                                Example: HPH00964 Property AVar of class AClass
Operator response: No System Operator response is
                                                                cannot be updated
required.
                                                                System action: PHP immediately stops interpreting
User response: Make sure that non-static method
                                                                the file (before any statements are run) and exits.
should not be called statically while PHP assuming $this
from a compatible context.                                      Operator response: No System Operator response is
                                                                required.
System programmer response: No System
Programmer response is required.                                User response: Make sure that property of current
                                                                class can be rewrote.
Problem determination: No additional information.
                                                                System programmer response: No System
Source: PHP
                                                                Programmer response is required.
Module: Not applicable.
                                                                Problem determination: No additional information.
Routing code: Not applicable.
                                                                Source: PHP
Descriptor code: N- An informational notice. Could be
                                                                Module: Not applicable.
an error or could be normal behavior.
                                                                Routing code: Not applicable.
Automation: Not applicable.
                                                                Descriptor code: F- A fatal error (PHP exits
                                                                immediately).
HPH00963      Non-static method %s::%s() %s be
              called statically, assuming $this from            Automation: Not applicable.
              compatible context %s
Explanation: --removed--                                        HPH00965       Property string1 of class string2 cannot
                                                                               be read
Example: HPH00963 Non-static method %s::%s() %s
be called statically, assuming $this from compatible            Explanation: Property of current class cannot be read.
context %s
                                                                string1
System action: Displays the warning and continues                    Property Name
interpreting the script.
                                                                string2
Operator response: No System Operator response is                    Class Name
required.
                                                                Example: HPH00965 Property AVar of class AClass
User response: noy find this message in source code.            cannot be read
System programmer response: No System                           System action: PHP immediately stops interpreting
Programmer response is required.                                the file (before any statements are run) and exits.
Problem determination: No additional information.               Operator response: No System Operator response is
                                                                required.
Source: PHP
                                                                User response: Make sure that property of current
Module: Not applicable.
                                                                class can be read.
Routing code: Not applicable.
                                                                System programmer response: No System
Descriptor code: W- A warning (PHP continues).                  Programmer response is required.
Automation: Not applicable.                                     Problem determination: No additional information.
                                                                Source: PHP
                                                                Module: Not applicable.


206    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Routing code: Not applicable.
                                                      HPH00968     %s doesn’t appear to be a valid Zend
Descriptor code: F- A fatal error (PHP exits                       extensionn
immediately).
                                                      Explanation: --removed--
Automation: Not applicable.
                                                      Example: HPH00968 %s doesn’t appear to be a valid
                                                      Zend extensionn
HPH00966     Failed loading %s: %sn
                                                      System action: Displays the warning and continues
Explanation: --removed--                              interpreting the script.
Example: HPH00966 Failed loading %s: %sn             Operator response: No System Operator response is
                                                      required.
System action: Displays the warning and continues
interpreting the script.                              User response: --removed-- cannot find this message
                                                      in source code
Operator response: No System Operator response is
required.                                             System programmer response: No System
                                                      Programmer response is required.
User response: --removed-- cannot find this message
in source code                                        Problem determination: No additional information.
System programmer response: No System                 Source: PHP
Programmer response is required.
                                                      Module: Not applicable.
Problem determination: No additional information.
                                                      Routing code: Not applicable.
Source: PHP
                                                      Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                      Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).        HPH00969     %s requires Zend Engine API version
                                                                   %d.n
Automation: Not applicable.
                                                      Explanation: --removed--
HPH00967     Failed loading %sn                      Example: HPH00969 %s requires Zend Engine API
                                                      version %d.n
Explanation: --removed--
                                                      System action: Displays the warning and continues
Example: HPH00967 Failed loading %sn                 interpreting the script.
System action: Displays the warning and continues     Operator response: No System Operator response is
interpreting the script.                              required.
Operator response: No System Operator response is     User response: --removed-- cannot find this message
required.                                             in source code
User response: --removed-- cannot find this message   System programmer response: No System
in source code                                        Programmer response is required.
System programmer response: No System                 Problem determination: No additional information.
Programmer response is required.
                                                      Source: PHP
Problem determination: No additional information.
                                                      Module: Not applicable.
Source: PHP
                                                      Routing code: Not applicable.
Module: Not applicable.
                                                      Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                      Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                           HPH00971     Cannot load %s - it %s thread safe,
                                                                   whereas Zend %sn
                                                      Explanation: --removed--
                                                      Example: HPH00971 Cannot load %s - it %s thread
                                                      safe, whereas Zend %sn


                                                                             Chapter 6. PHP messages   207
System action: Displays the warning and continues              System programmer response: No System
interpreting the script.                                       Programmer response is required.
Operator response: No System Operator response is              Problem determination: No additional information.
required.
                                                               Source: PHP
User response: --removed-- cannot find this message
                                                               Module: Not applicable.
in source code
                                                               Routing code: Not applicable.
System programmer response: No System
Programmer response is required.                               Descriptor code: W- A warning (PHP continues).
Problem determination: No additional information.              Automation: Not applicable.
Source: PHP
                                                               HPH00974       Loaded %s, version %sn
Module: Not applicable.
                                                               Explanation: --removed--
Routing code: Not applicable.
                                                               Example: HPH00974 Loaded %s, version %sn
Descriptor code: W- A warning (PHP continues).
                                                               System action: Displays the warning and continues
Automation: Not applicable.
                                                               interpreting the script.
                                                               Operator response: No System Operator response is
HPH00972     Cannot load %s - it %s debug
                                                               required.
             information, whereas Zend %sn
                                                               User response: --removed-- cannot find this message
Explanation: --removed--
                                                               in source code
Example: HPH00972 Cannot load %s - it %s debug
                                                               System programmer response: No System
information, whereas Zend %sn
                                                               Programmer response is required.
System action: Displays the warning and continues
                                                               Problem determination: No additional information.
interpreting the script.
                                                               Source: PHP
Operator response: No System Operator response is
required.                                                      Module: Not applicable.
User response: --removed-- cannot find this message            Routing code: Not applicable.
in source code
                                                               Descriptor code: W- A warning (PHP continues).
System programmer response: No System
Programmer response is required.                               Automation: Not applicable.

Problem determination: No additional information.
                                                               HPH00975       Nesting level too deep - recursive
Source: PHP                                                                   dependency?
Module: Not applicable.                                        Explanation: PHP encountered nesting level too deep.
Routing code: Not applicable.                                  Example: HPH00975 Nesting level too deep -
                                                               recursive dependency?
Descriptor code: W- A warning (PHP continues).
                                                               System action: PHP immediately stops interpreting
Automation: Not applicable.
                                                               the file (before any statements are run) and exits.
                                                               Operator response: No System Operator response is
HPH00973     Extensions are not supported on this
                                                               required.
             platform.n
                                                               User response: Make sure that nesting level is less
Explanation: --removed--
                                                               than 3.
Example: HPH00973 Extensions are not supported on
                                                               System programmer response: No System
this platform.n
                                                               Programmer response is required.
System action: Displays the warning and continues
                                                               Problem determination: No additional information.
interpreting the script.
                                                               Source: PHP
Operator response: No System Operator response is
required.                                                      Module: Not applicable.
User response: --removed-- cannot find this message            Routing code: Not applicable.
in source code

208   z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Descriptor code: F- A fatal error (PHP exits           System action: Displays the warning and continues
immediately).                                          interpreting the script.
Automation: Not applicable.                            Operator response: No System Operator response is
                                                       required.
HPH00982       string1 string2 string3(): no string4   User response: Check and change the function’s
               resource supplied                       argument so that it is a valid resource.
Explanation: Class method or function have not         System programmer response: No System
resource supplied.                                     Programmer response is required.
string1                                                Problem determination: No additional information.
     Class Name
                                                       Source: PHP
string2
                                                       Module: Not applicable.
     Space or ’::’
                                                       Routing code: Not applicable.
string3
     Method or Function Name                           Descriptor code: W- A warning (PHP continues).
string4                                                Automation: Not applicable.
     Resource Type Name
Example: HPH00982 func1(): no File-Handle resource     HPH00984       string1 string2 string3(): integer is not a
supplied                                                              valid string4 resource
System action: Displays the warning and continues      Explanation: Argument of class method or function is
interpreting the script.                               not a valid resource.
Operator response: No System Operator response is      string1
required.                                                   Class Name
User response: Make sure that class method or          string2
function have resource supplied.                            Space or ’::’
System programmer response: No System                  string3
Programmer response is required.                            Method or Function Name
Problem determination: No additional information.      integer
                                                            Resource Handle
Source: PHP
                                                       string4
Module: Not applicable.
                                                            Resource Type Name
Routing code: Not applicable.
                                                       Example: HPH00984 func1(): 1033333 is not a valid
Descriptor code: W- A warning (PHP continues).         File-Handle resource
Automation: Not applicable.                            System action: Displays the warning and continues
                                                       interpreting the script.
HPH00983       %s%s%s(): supplied argument is not a    Operator response: No System Operator response is
               valid %s resource                       required.
Explanation: PHP encountered a function whose          User response: Make sure that argument of class
argument should be but not a valid resource.           method or function is a valid resource.
string1                                                System programmer response: No System
     The class                                         Programmer response is required.
string2                                                Problem determination: No additional information.
     Space or ″::″
                                                       Source: PHP
string3
                                                       Module: Not applicable.
     The function
                                                       Routing code: Not applicable.
string4
     The resource type name                            Descriptor code: W- A warning (PHP continues).
Example: HPH00983 readdir(): supplied argument is      Automation: Not applicable.
not a valid Directory resource


                                                                                  Chapter 6. PHP messages     209
Source: PHP
HPH00985      string1string2string3(): supplied resource
              is not a valid string4 resource                   Module: Not applicable.
Explanation: PHP encountered a function whose                   Routing code: Not applicable.
supplied resource is not a valid one.
                                                                Descriptor code: W- A warning (PHP continues).
string1
     The class                                                  Automation: Not applicable.

string2
     Space or ″::″                                              HPH00987       Unknown persistent list entry type in
                                                                               module shutdown (integer)
string3
     The function                                               Explanation: PHP encountered unknown persistent
                                                                list entry type when one module shutdown.
string4
     The resource type name                                     integer
                                                                     Shutdown Type
Example: HPH00985 fopen(): supplied resource is not
a valid Stream-Context resource                                 Example: HPH00987 Unknown persistent list entry
                                                                type in module shutdown (1)
System action: Displays the warning and continues
interpreting the script.                                        System action: Displays the warning and continues
                                                                interpreting the script.
Operator response: No System Operator response is
required.                                                       Operator response: No System Operator response is
                                                                required.
User response: Check the function’s argument so that
it is a valid resource.                                         User response: Make sure that persistent list entry
                                                                type is correct when one module shutdown.
System programmer response: No System
Programmer response is required.                                System programmer response: No System
                                                                Programmer response is required.
Problem determination: No additional information.
                                                                Problem determination: No additional information.
Source: PHP
                                                                Source: PHP
Module: Not applicable.
                                                                Module: Not applicable.
Routing code: Not applicable.
                                                                Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).
                                                                Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.
                                                                Automation: Not applicable.

HPH00986      Unknown list entry type in request
              shutdown (integer)                                HPH00988       func_num_args(): Can’t be used as a
                                                                               function parameter
Explanation: PHP encountered unknown list entry
type when one request shutdown.                                 Explanation: Current argument cannot be used as a
                                                                parameter of function func_num_args().
integer
     Shutdown Type                                              Example: HPH00988 func_num_args(): Can’t be used
                                                                as a function parameter
Example: HPH00986 Unknown list entry type in
request shutdown (1)                                            System action: PHP immediately stops interpreting
                                                                the file (before any statements are run) and exits.
System action: Displays the warning and continues
interpreting the script.                                        Operator response: No System Operator response is
                                                                required.
Operator response: No System Operator response is
required.                                                       User response: Make sure this argument is correct.

User response: Make sure that list entry type is                System programmer response: No System
correct when one request shutdown.                              Programmer response is required.

System programmer response: No System                           Problem determination: No additional information.
Programmer response is required.                                Source: PHP
Problem determination: No additional information.               Module: Not applicable.


210    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Routing code: Not applicable.                              Automation: Not applicable.
Descriptor code: I- An internal error not caused by
user (a programming error in PHP).                         HPH00991      func_get_arg(): Can’t be used as a
                                                                         function parameter
Automation: Not applicable.
                                                           Explanation: Current argument can not be used as a
                                                           parameter of function func_get_arg().
HPH00989      func_num_args(): Called from the
              global scope - no function context           Example: HPH00991 func_get_arg(): Can’t be used
                                                           as a function parameter
Explanation: PHP can not use func_num_args()
outside of a user-defined function.                        System action: PHP immediately stops interpreting
                                                           the file (before any statements are run) and exits.
Example: HPH00989 func_num_args(): Called from
the global scope - no function context                     Operator response: No System Operator response is
                                                           required.
System action: Displays the warning and continues
interpreting the script.                                   User response: Make sure this argument is correct.
Operator response: No System Operator response is          System programmer response: No System
required.                                                  Programmer response is required.
User response: Use func_num_args() inside a                Problem determination: No additional information.
user-defined function so that it will be not called from
                                                           Source: PHP
the global scope.
                                                           Module: Not applicable.
System programmer response: No System
Programmer response is required.                           Routing code: Not applicable.
Problem determination: No additional information.          Descriptor code: I- An internal error not caused by
                                                           user (a programming error in PHP).
Source: PHP
                                                           Automation: Not applicable.
Module: Not applicable.
Routing code: Not applicable.
                                                           HPH00992      func_get_arg(): Called from the global
Descriptor code: W- A warning (PHP continues).                           scope - no function context
Automation: Not applicable.                                Explanation: PHP encountered func_get_arg() that is
                                                           called from outside of a function definition.
HPH00990      func_get_arg(): The argument number          Example: HPH00992 func_get_arg(): Called from the
              should be >= 0                               global scope - no function context
Explanation: PHP encountered func_get_arg() that its       System action: Displays the warning and continues
argument number is less than zero.                         interpreting the script.
Example: HPH00990 func_get_arg(): The argument             Operator response: No System Operator response is
number should be >= 0                                      required.
System action: Displays the warning and continues          User response: Use func_get_arg() inside a
interpreting the script.                                   user-defined function so that it will be not called from
                                                           the global scope.
Operator response: No System Operator response is
required.                                                  System programmer response: No System
                                                           Programmer response is required.
User response: Change the argument number so that
it is >= 0.                                                Problem determination: No additional information.
System programmer response: No System                      Source: PHP
Programmer response is required.
                                                           Module: Not applicable.
Problem determination: No additional information.
                                                           Routing code: Not applicable.
Source: PHP
                                                           Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                           Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).


                                                                                     Chapter 6. PHP messages      211
user (a programming error in PHP).
HPH00993      func_get_arg(): Argument integer not
              passed to function                                Automation: Not applicable.
Explanation: PHP encountered the function,
func_get_arg(), to whom the argument isn’t passed at            HPH00995       func_get_args(): Called from the global
the given offset into a user-defined function’s argument                       scope - no function context
list because the offset is greater than the total number
of arguments actually passed.                                   Explanation: PHP encountered func_get_args() that is
                                                                called from outside of a function definition.
integer
     The given offset                                           Example: HPH00995 func_get_args(): Called from the
                                                                global scope - no function context
                                                                System action: Displays the warning and continues
Example: HPH00993 func_get_arg(): Argument 2 not                interpreting the script.
passed to function
                                                                Operator response: No System Operator response is
System action: Displays the warning and continues               required.
interpreting the script.
                                                                User response: Use func_get_args() inside a
Operator response: No System Operator response is               user-defined function so that it will be not called from
required.                                                       the global scope.
User response: Check the argument of func_get_arg()             System programmer response: No System
so that its value is not greater than the number of             Programmer response is required.
arguments actually passed to the user-defined function.
                                                                Problem determination: No additional information.
System programmer response: No System
Programmer response is required.                                Source: PHP

Problem determination: No additional information.               Module: Not applicable.

Source: PHP                                                     Routing code: Not applicable.

Module: Not applicable.                                         Descriptor code: W- A warning (PHP continues).

Routing code: Not applicable.                                   Automation: Not applicable.

Descriptor code: W- A warning (PHP continues).
                                                                HPH00996       Variable passed to each() is not an
Automation: Not applicable.                                                    array or object
                                                                Explanation: PHP encountered zend function each
HPH00994      func_get_args(): Can’t be used as a               that variable passed to is not an array or object.
              function parameter
                                                                Example: HPH00996 Variable passed to each() is not
Explanation: Current argument can not be used as a              an array or object
parameter of function func_get_args().
                                                                System action: Displays the warning and continues
Example: HPH00994 func_get_args(): Can’t be used                interpreting the script.
as a function parameter
                                                                Operator response: No System Operator response is
System action: PHP immediately stops interpreting               required.
the file (before any statements are run) and exits.
                                                                User response: Change the variable passed to each()
Operator response: No System Operator response is               so that it is an array or object.
required.
                                                                System programmer response: No System
User response: Make surce this argument is correct.             Programmer response is required.
System programmer response: No System                           Problem determination: No additional information.
Programmer response is required.
                                                                Source: PHP
Problem determination: No additional information.
                                                                Module: Not applicable.
Source: PHP
                                                                Routing code: Not applicable.
Module: Not applicable.
                                                                Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                                Automation: Not applicable.
Descriptor code: I- An internal error not caused by


212    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
HPH00997     Constants may only evaluate to scalar       HPH00999      Unknown class passed as parameter
             values
                                                         Explanation: PHP encountered unknown class.
Explanation: PHP encountered function, define(), that
                                                         Example: HPH00999 Unknown class passed as
defines a constant with nonscalar values.
                                                         parameter
Example: HPH00997 Constants may only evaluate to
                                                         System action: Displays the warning and continues
scalar values
                                                         interpreting the script.
System action: Displays the warning and continues
                                                         Operator response: No System Operator response is
interpreting the script.
                                                         required.
Operator response: No System Operator response is
                                                         User response: Make sure this class exists.
required.
                                                         System programmer response: No System
User response: Check the value so that it is one of
                                                         Programmer response is required.
the types among long, double, string, bool, resource
and NULL.                                                Problem determination: No additional information.
System programmer response: No System                    Source: PHP
Programmer response is required.
                                                         Module: Not applicable.
Problem determination: No additional information.
                                                         Routing code: Not applicable.
Source: PHP
                                                         Descriptor code: W- A warning (PHP continues).
Module: Not applicable.
                                                         Automation: Not applicable.
Routing code: Not applicable.
Descriptor code: W- A warning (PHP continues).           HPH01000      is_a(): Deprecated. Please use the
                                                                       instanceof operator
Automation: Not applicable.
                                                         Explanation: function is_a() have been deprecated.
                                                         Please use the instanceof operator.
HPH00998     get_class() called without object from
             outside a class                             Example: HPH01000 is_a(): Deprecated. Please use
                                                         the instanceof operator
Explanation: PHP encountered function, get_class(),
that is called without an object from outside a class.   System action: Displays the warning and continues
                                                         interpreting the script.
Example: HPH00998 get_class() called without object
from outside a class                                     Operator response: No System Operator response is
                                                         required.
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.      User response: function is_a() have been deprecated.
                                                         Please use the instanceof operator.
Operator response: No System Operator response is
required.                                                System programmer response: No System
                                                         Programmer response is required.
User response: Add the object as parameter if
get_class() is called from outside a class.              Problem determination: No additional information.
System programmer response: No System                    Source: PHP
Programmer response is required.
                                                         Module: Not applicable.
Problem determination: No additional information.
                                                         Routing code: Not applicable.
Source: PHP
                                                         Descriptor code: N- An informational notice. Could be
Module: Not applicable.                                  an error or could be normal behavior.
Routing code: Not applicable.                            Automation: Not applicable.
Descriptor code: F- A fatal error (PHP exits
immediately).                                            HPH01001      First parameter must either be an
                                                                       object or the name of an existing class
Automation: Not applicable.
                                                         Explanation: PHP encountered zend function,
                                                         property_exists() whose first parameter is neither an
                                                         object nor the name of an existing class.


                                                                                  Chapter 6. PHP messages    213
Example: HPH01001 First parameter must either be                 System action: Displays the warning and continues
an object or the name of an existing class                       interpreting the script.
System action: Displays the warning and continues                Operator response: No System Operator response is
interpreting the script.                                         required.
Operator response: No System Operator response is                User response: Change the callback argument so that
required.                                                        it is a valid one.
User response: Change the first parameter so that it             System programmer response: No System
is either an object or the name of an existing class.            Programmer response is required.
System programmer response: No System                            Problem determination: No additional information.
Programmer response is required.
                                                                 Source: PHP
Problem determination: No additional information.
                                                                 Module: Not applicable.
Source: PHP
                                                                 Routing code: Not applicable.
Module: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                                 Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                                      HPH01006       Cannot add internal functions to return
                                                                                value from get_defined_functions()
HPH01002       Invalid error type specified                      Explanation: PHP cannot add internal functions to
                                                                 return value from get_defined_functions().
Explanation: PHP encountered zend function,
trigger_error() that has an invalid error type specified.        Example: HPH01006 Cannot add internal functions to
                                                                 return value from get_defined_functions()
Example: HPH01002 Invalid error type specified
                                                                 System action: Displays the warning and continues
System action: Displays the warning and continues
                                                                 interpreting the script.
interpreting the script.
                                                                 Operator response: No System Operator response is
Operator response: No System Operator response is
                                                                 required.
required.
                                                                 User response: Make sure not to add internal
User response: Modify the second parameter so that
                                                                 functions to return value from get_defined_functions().
it is a valid error type specified.
                                                                 System programmer response: No System
System programmer response: No System
                                                                 Programmer response is required.
Programmer response is required.
                                                                 Problem determination: No additional information.
Problem determination: No additional information.
                                                                 Source: PHP
Source: PHP
                                                                 Module: Not applicable.
Module: Not applicable.
                                                                 Routing code: Not applicable.
Routing code: Not applicable.
                                                                 Descriptor code: W- A warning (PHP continues).
Descriptor code: W- A warning (PHP continues).
                                                                 Automation: Not applicable.
Automation: Not applicable.

                                                                 HPH01007       Cannot add user functions to return
HPH01004       string1() expects the argument (string2)
                                                                                value from get_defined_functions()
               to be a valid callback
                                                                 Explanation: PHP cannot add user functions to return
Explanation: PHP encountered function ″set-handler″
                                                                 value from get_defined_functions().
whose callback argument is not a valid one.
                                                                 Example: HPH01007 Cannot add user functions to
string1
                                                                 return value from get_defined_functions()
     The set-handler function
                                                                 System action: Displays the warning and continues
string2
                                                                 interpreting the script.
     The callback argument
                                                                 Operator response: No System Operator response is
Example: HPH01004 set_error_handler() expects the
                                                                 required.
argument (myErrorHandler) to be a valid callback

214     z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
User response: Make sure not to add user functions        System programmer response: No System
to return value from get_defined_functions().             Programmer response is required.
System programmer response: No System                     Problem determination: No additional information.
Programmer response is required.
                                                          Source: PHP
Problem determination: No additional information.
                                                          Module: Not applicable.
Source: PHP
                                                          Routing code: Not applicable.
Module: Not applicable.
                                                          Descriptor code: W- A warning (PHP continues).
Routing code: Not applicable.
                                                          Automation: Not applicable.
Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                               HPH01010       Couldn’t find implementation for
                                                                         method string1 string2 string3
HPH01008     Unexpected inconsistency in                  Explanation: PHP could not find implementation for
             create_function()                            this method.
Explanation: PHP encountered unexpected                   string1
inconsistency in create_function().                            Class Name
Example: HPH01008 Unexpected inconsistency in             string2
create_function()                                              Space or ’::’
System action: PHP immediately stops interpreting         string3
the file (before any statements are run) and exits.            Method or Function Name
Operator response: No System Operator response is         Example: HPH01010 Couldn’t find implementation for
required.                                                 method func1
User response: Internal error, please report it to PHP    System action: PHP immediately stops interpreting
website phpnet.                                           the file (before any statements are run) and exits.
System programmer response: No System                     Operator response: No System Operator response is
Programmer response is required.                          required.
Problem determination: No additional information.         User response: Make sure that user find
                                                          implementation for this method.
Source: PHP
                                                          System programmer response: No System
Module: Not applicable.
                                                          Programmer response is required.
Routing code: Not applicable.
                                                          Problem determination: No additional information.
Descriptor code: I- An internal error not caused by
                                                          Source: PHP
user (a programming error in PHP).
                                                          Module: Not applicable.
Automation: Not applicable.
                                                          Routing code: Not applicable.
HPH01009     Supplied argument is not a valid             Descriptor code: I- An internal error not caused by
             resource handle                              user (a programming error in PHP).
Explanation: PHP encountered function,                    Automation: Not applicable.
get_resource_type() that the supplied argument is not a
valid resource.
                                                          HPH01011       Couldn’t execute method string1 string2
Example: HPH01009 Supplied argument is not a valid                       string3
resource handle
                                                          Explanation: PHP could not execute this method.
System action: Displays the warning and continues
                                                          string1
interpreting the script.
                                                               Class Name
Operator response: No System Operator response is
                                                          string2
required.
                                                               Space or ’::’
User response: Change the argument so that it is a
                                                          string3
valid resource handle.
                                                               Method or Function Name


                                                                                   Chapter 6. PHP messages   215
Example: HPH01011 Couldn’t execute method func1                  Example: HPH01013 Illegal type returned from
                                                                 MyClass::key()
System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.              System action: Displays the warning and continues
                                                                 interpreting the script.
Operator response: No System Operator response is
required.                                                        Operator response: No System Operator response is
                                                                 required.
User response: Make sure that this method can be
executed.                                                        User response: Check the script and use the data
                                                                 type allowed by the PHP syntax.
System programmer response: No System
Programmer response is required.                                 System programmer response: No System
                                                                 Programmer response is required.
Problem determination: No additional information.
                                                                 Problem determination: No additional information.
Source: PHP
                                                                 Source: PHP
Module: Not applicable.
                                                                 Module: Not applicable.
Routing code: Not applicable.
                                                                 Routing code: Not applicable.
Descriptor code: I- An internal error not caused by
user (a programming error in PHP).                               Descriptor code: W- A warning (PHP continues).
Automation: Not applicable.                                      Automation: Not applicable.


HPH01012       Nothing returned from string::key()               HPH01014       Class string1 must implement interface
                                                                                string2 as part of either string3 or string4
Explanation: Key() function of current class returned
nothing.                                                         Explanation: When ZEND engine detects that PHP
                                                                 script defines one traversable class entity which is
string
                                                                 neither Iterator type nor aggregate type. It reports this
     Class Name
                                                                 error.
Example: HPH01012 Nothing returned from %s::key()
                                                                 string1
System action: Displays the warning and continues                     The user defined class
interpreting the script.
                                                                 string2
Operator response: No System Operator response is                     the traversable interface name
required.
                                                                 string3
User response: Make sure that key() function of                       Iterator class name
current class can not returned nothing.
                                                                 string4
System programmer response: No System                                 aggregate class name
Programmer response is required.
                                                                 Example: HPH01014 Class MyClass must implement
Problem determination: No additional information.                interface MyTraversable as part of either IteratorClass
                                                                 or AggregateClass
Source: PHP
                                                                 System action: PHP immediately stops interpreting
Module: Not applicable.                                          the file (before any statements are run) and exits.
Routing code: Not applicable.                                    Operator response: No System Operator response is
Descriptor code: W- A warning (PHP continues).                   required.

Automation: Not applicable.                                      User response: User needs to modify the PHP script
                                                                 according to the error message hints or consult with
                                                                 PHP manual at www.php.net.
HPH01013       Illegal type returned from string ::key()
                                                                 System programmer response: No System
Explanation: When ZEND engine receives the data                  Programmer response is required.
type (e.g. string, long etc.) from hash keys generated
from the PHP script parser, and if it finds any illegal          Problem determination: No additional information.
types for the data type of hash keys, it will report this        Source: PHP
error.
                                                                 Module: Not applicable.
string
     The name of class which has key() method                    Routing code: Not applicable.


216     z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Descriptor code: F- A fatal error (PHP exits               script according to the error message hints or consult
immediately).                                              with PHP manual at www.php.net.
Automation: Not applicable.                                System programmer response: No System
                                                           Programmer response is required.
HPH01015      Objects returned by string::getIterator()    Problem determination: No additional information.
              must be traversable or implement
                                                           Source: PHP
              interface Iterat
                                                           Module: Not applicable.
Explanation: It will report this error when class object
defined by PHP script calls getIterator() method but the   Routing code: Not applicable.
returned object is not traversable or doesn’t implement
Iterator interface.                                        Descriptor code: F- A fatal error (PHP exits
                                                           immediately).
string
     class name                                            Automation: Not applicable.

Example: HPH01015 Objects returned by
MyClass::getIterator() must be traversable or implement    HPH01017      Exception thrown without a stack
interface Iterator                                                       frame

System action: PHP immediately stops interpreting          Explanation: It will report this error when ZEND
the file (before any statements are run) and exits.        engine throws exception but can not find the run-time
                                                           data stack frame associated with this exception.
Operator response: No System Operator response is
required.                                                  Example: HPH01017 Exception thrown without a
                                                           stack frame
User response: User needs to modify the PHP script
according to the error message hints or consult with       System action: PHP immediately stops interpreting
PHP manual at www.php.net.                                 the file (before any statements are run) and exits.

System programmer response: No System                      Operator response: No System Operator response is
Programmer response is required.                           required.

Problem determination: No additional information.          User response: It is an internal error of PHP ZEND
                                                           engine. User can inspect on the PHP script according to
Source: PHP                                                the error message or contact with vendor or PHP online
                                                           bugfix support at bugs.php.net.
Module: Not applicable.
                                                           System programmer response: No System
Routing code: Not applicable.
                                                           Programmer response is required.
Descriptor code: F- A fatal error (PHP exits
                                                           Problem determination: No additional information.
immediately).
                                                           Source: PHP
Automation: Not applicable.
                                                           Module: Not applicable.
HPH01016      name::serialize() must return a string       Routing code: Not applicable.
              or NULL
                                                           Descriptor code: F- A fatal error (PHP exits
Explanation: It will report this error when class object   immediately).
defined by PHP script calls ″serialize()″ method of this
object and the method returns the value with data type     Automation: Not applicable.
other than NULL or STRING type.
name                                                       HPH01018      Wrong parameters for
   class name                                                            Exception([string $exception [, long
                                                                         $code ]])
Example: HPH01016 MyClass::serialize() must return
a string or NULL                                           Explanation: It will report this error when ZEND
                                                           engine detects that PHP script constructs an Exception
System action: PHP immediately stops interpreting          object without the correct parameters types. The first
the file (before any statements are run) and exits.        paramter requires string type data and the second
                                                           parameter requires long type data. The second
Operator response: No System Operator response is
                                                           parameter is optional.
required.
                                                           Example: HPH01018 Wrong parameters for
User response: User shall inspect on the data type
                                                           Exception([string $exception [, long $code ]])
she/he tries to serialize. User needs to modify the PHP

                                                                                    Chapter 6. PHP messages    217
System action: PHP immediately stops interpreting
                                                                HPH01020       Exceptions must be derived from the
the file (before any statements are run) and exits.
                                                                               Exception base class
Operator response: No System Operator response is
                                                                Explanation: It will report this error when ZEND
required.
                                                                engine detects PHP script derives an sub-class object
User response: User needs to modify the PHP script              of Exception without taking Exception class as parent
according to the error message hints or consult with            class type.
PHP manual at www.php.net.
                                                                Example: HPH01020 Exceptions must be derived from
System programmer response: No System                           the Exception base class
Programmer response is required.
                                                                System action: Displays the warning and continues
Problem determination: No additional information.               interpreting the script.
Source: PHP                                                     Operator response: No System Operator response is
                                                                required.
Module: Not applicable.
                                                                User response: User needs to modify the PHP script
Routing code: Not applicable.                                   according to the error message hints or consult with
Descriptor code: F- A fatal error (PHP exits                    PHP manual at www.php.net.
immediately).                                                   System programmer response: No System
Automation: Not applicable.                                     Programmer response is required.
                                                                Problem determination: No additional information.
HPH01019      Wrong parameters for                              Source: PHP
              ErrorException([string $exception [,
              long $code, [ long $severity, [ string            Module: Not applicable.
              $filename, [ long $lineno ]]]]])
                                                                Routing code: Not applicable.
Explanation: It will report this error when ZEND
                                                                Descriptor code: W- A warning (PHP continues).
engine detects that PHP script constructs an
ErrorException object without the correct parameters            Automation: Not applicable.
types. The first parameter requires string type data. The
second and the third require long type. The fourth
                                                                HPH01021       name ::__toString() must return a
requires string type and the fifth parameter requires long
                                                                               string
type data. Only the first parameter is necessary and all
the others are optional.                                        Explanation: It will report this error when ZEND
                                                                engine detects PHP script doesn’t use string type as
Example: HPH01019 Wrong parameters for
                                                                parameter data type for exception object. Or
ErrorException([string $exception [, long $code, [ long
                                                                ″__toString()″ method does not return a string data type
$severity, [ string $filename, [ long $lineno ]]]]])
                                                                from exception object’s parameter.
System action: Displays the warning and continues
                                                                name
interpreting the script.
                                                                   class name
Operator response: No System Operator response is
                                                                Example: HPH01021 MyClass::__toString() must
required.
                                                                return a string
User response: User needs to modify the PHP script
                                                                System action: Displays the warning and continues
to construct one ErrorException Object with correct
                                                                interpreting the script.
parameter data types.
                                                                Operator response: No System Operator response is
System programmer response: No System
                                                                required.
Programmer response is required.
                                                                User response: User can inspect if she/he constructs
Problem determination: No additional information.
                                                                an Exception object with the string type parameter in
Source: PHP                                                     PHP script.
Module: Not applicable.                                         System programmer response: No System
                                                                Programmer response is required.
Routing code: Not applicable.
                                                                Problem determination: No additional information.
Descriptor code: F- A fatal error (PHP exits
immediately).                                                   Source: PHP
Automation: Not applicable.                                     Module: Not applicable.
                                                                Routing code: Not applicable.

218    z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
Descriptor code: W- A warning (PHP continues).            Problem determination: No additional information.
Automation: Not applicable.                               Source: PHP
                                                          Module: Not applicable.
HPH01022      Uncaught exception in exception
                                                          Routing code: Not applicable.
              handling during call to
              name::__tostring()                          Descriptor code: F- A fatal error (PHP exits
                                                          immediately).
Explanation: It will report this error when ZEND
engine detects there is an uncaught exception when        Automation: Not applicable.
calling member function ″__toString()″ of one exception
object.
                                                          HPH01024      Uncaught exception ’name ’
exception
    exception defined in script                           Explanation: It will report the error when PHP script
                                                          does not catch one exception thrown by ZEND engine.
name
   class name                                             name
                                                             exception class entity name
Example: HPH01022 Uncaught My Customized Error
in exception handling during call to                      Example: HPH01024 Uncaught exception
MyClass::__tostring()                                     ’ExceptionEntity

System action: Displays the warning and continues         System action: PHP immediately stops interpreting
interpreting the script.                                  the file (before any statements are run) and exits.

Operator response: No System Operator response is         Operator response: No System Operator response is
required.                                                 required.

User response: This is a ZEND engine internal error       User response: User needs to modify the PHP script
message.                                                  in order to catch the thrown exception.

System programmer response: No System                     System programmer response: No System
Programmer response is required.                          Programmer response is required.

Problem determination: No additional information.         Problem determination: No additional information.

Source: PHP                                               Source: PHP

Module: Not applicable.                                   Module: Not applicable.

Routing code: Not applicable.                             Routing code: Not applicable.

Descriptor code: W- A warning (PHP continues).            Descriptor code: F- A fatal error (PHP exits
                                                          immediately).
Automation: Not applicable.
                                                          Automation: Not applicable.

HPH01023      Uncaught exception n thrown
                                                          HPH01025      Need to supply an object when
Explanation: It will report this error when PHP script                  throwing an exception
does not catch one exception thrown by ZEND engine.
                                                          Explanation: It will report this error when ZEND
exception                                                 engine detects an exception is not a class object data
    exception content                                     type.
Example: HPH01023 Uncaught my exception n                Example: HPH01025 Need to supply an object when
thrown                                                    throwing an exception
System action: PHP immediately stops interpreting         System action: PHP immediately stops interpreting
the file (before any statements are run) and exits.       the file (before any statements are run) and exits.
Operator response: No System Operator response is         Operator response: No System Operator response is
required.                                                 required.
User response: User need to modify the PHP script in      User response: This is a ZEND engine internal error
order to catch the thrown exception.                      message. User can report this bug to www.php.net.
System programmer response: No System                     System programmer response: No System
Programmer response is required.                          Programmer response is required.


                                                                                   Chapter 6. PHP messages    219
Problem determination: No additional information.               Programmer r
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference

More Related Content

PDF
IBM Ported Tools for z/OS: Perl for z/OS Feature User's Guide and Reference
PDF
IBM Ported Tools for z/OS User’s Guide
PDF
IBM Ported Tools for z/OS: Perl for z/OS Feature User’s Guide and Reference
PDF
Sbt tutorial
PDF
Db2 deployment guide
PDF
Ibm midrange system storage hardware guide sg247676
PDF
Flask docs
PDF
Windows_Server_2016_Virtualization White Paper By Veeam
IBM Ported Tools for z/OS: Perl for z/OS Feature User's Guide and Reference
IBM Ported Tools for z/OS User’s Guide
IBM Ported Tools for z/OS: Perl for z/OS Feature User’s Guide and Reference
Sbt tutorial
Db2 deployment guide
Ibm midrange system storage hardware guide sg247676
Flask docs
Windows_Server_2016_Virtualization White Paper By Veeam

What's hot (20)

PDF
Document Object Model (DOM) Level 1 Specification
PDF
Tivoli and web sphere application server on z os sg247062
PDF
Ad Ch.1 8 (1)
PDF
File Format Specification V9(Swf&Flv)
PDF
Ibm tivoli storage manager for databases data protection for oracle for windo...
PDF
The Total Book Developing Solutions With EPiServer 4
PDF
R admin
PDF
A Gentle Introduction to ROS Jason M. O’Kane ~hmftj
PDF
Print Preview - C:\DOCUME~1\fogleman\LOCALS~1\Temp\.aptcache ...
PDF
Flash File Format Specification
PDF
Ebay News 1998 10 27 Earnings
PDF
Pragmatic Agile Web Development With Rails.3rd Edition.2009
 
PDF
Ibm tivoli storage manager for databases data protection for oracle for unix ...
PDF
programación en prolog
PDF
Ibm tivoli storage manager for databases data protection for oracle for unix ...
PDF
C++ annotations version
PDF
Auth Auth Ident v3.2
PDF
Swi prolog-6.2.6
PDF
Manual cpmd
Document Object Model (DOM) Level 1 Specification
Tivoli and web sphere application server on z os sg247062
Ad Ch.1 8 (1)
File Format Specification V9(Swf&Flv)
Ibm tivoli storage manager for databases data protection for oracle for windo...
The Total Book Developing Solutions With EPiServer 4
R admin
A Gentle Introduction to ROS Jason M. O’Kane ~hmftj
Print Preview - C:\DOCUME~1\fogleman\LOCALS~1\Temp\.aptcache ...
Flash File Format Specification
Ebay News 1998 10 27 Earnings
Pragmatic Agile Web Development With Rails.3rd Edition.2009
 
Ibm tivoli storage manager for databases data protection for oracle for unix ...
programación en prolog
Ibm tivoli storage manager for databases data protection for oracle for unix ...
C++ annotations version
Auth Auth Ident v3.2
Swi prolog-6.2.6
Manual cpmd
Ad

Similar to IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference (20)

PDF
Deploying rational applications with ibm tivoli configuration manager redp4171
PDF
Deploying rational applications with ibm tivoli configuration manager redp4171
PDF
Vista deployment using tivoli provisioning manager for os deployment redp4295
PDF
IBMRedbook
PDF
Pspice userguide ingles
PDF
Gary test
PDF
Integrating ibm db2 with the ibm system storage n series sg247329
PDF
Integrating ibm db2 with the ibm system storage n series sg247329
PDF
Extending sap solutions to the mobile enterprise with ibm mobile first platfo...
PDF
Program Directory for IBM Ported Tools for z/OS
PDF
User Guide
PDF
Ibm system storage ds storage manager copy services guide sg247822
PDF
IBM Workload Deployer
PDF
HRpM_UG_731_HDS_M2
PDF
Implementing Linux With Ibm Disk Storage Ibm Redbooks
PDF
Integrating tivoli products sg247757
PDF
Ibm tivoli monitoring v5.1.1 implementation certification study guide redp3935
PDF
Ms Patch Man Ch8
PDF
Pc 811 troubleshooting_guide
PDF
Ibm tivoli storage manager for hsm for windows administration guide version 5.5
Deploying rational applications with ibm tivoli configuration manager redp4171
Deploying rational applications with ibm tivoli configuration manager redp4171
Vista deployment using tivoli provisioning manager for os deployment redp4295
IBMRedbook
Pspice userguide ingles
Gary test
Integrating ibm db2 with the ibm system storage n series sg247329
Integrating ibm db2 with the ibm system storage n series sg247329
Extending sap solutions to the mobile enterprise with ibm mobile first platfo...
Program Directory for IBM Ported Tools for z/OS
User Guide
Ibm system storage ds storage manager copy services guide sg247822
IBM Workload Deployer
HRpM_UG_731_HDS_M2
Implementing Linux With Ibm Disk Storage Ibm Redbooks
Integrating tivoli products sg247757
Ibm tivoli monitoring v5.1.1 implementation certification study guide redp3935
Ms Patch Man Ch8
Pc 811 troubleshooting_guide
Ibm tivoli storage manager for hsm for windows administration guide version 5.5
Ad

More from IBM India Smarter Computing (20)

PDF
Using the IBM XIV Storage System in OpenStack Cloud Environments
PDF
All-flash Needs End to End Storage Efficiency
PDF
TSL03104USEN Exploring VMware vSphere Storage API for Array Integration on th...
PDF
IBM FlashSystem 840 Product Guide
PDF
IBM System x3250 M5
PDF
IBM NeXtScale nx360 M4
PDF
IBM System x3650 M4 HD
PDF
IBM System x3300 M4
PDF
IBM System x iDataPlex dx360 M4
PDF
IBM System x3500 M4
PDF
IBM System x3550 M4
PDF
IBM System x3650 M4
PDF
IBM System x3500 M3
PDF
IBM System x3400 M3
PDF
IBM System x3250 M3
PDF
IBM System x3200 M3
PDF
IBM PowerVC Introduction and Configuration
PDF
A Comparison of PowerVM and Vmware Virtualization Performance
PDF
IBM pureflex system and vmware vcloud enterprise suite reference architecture
PDF
X6: The sixth generation of EXA Technology
Using the IBM XIV Storage System in OpenStack Cloud Environments
All-flash Needs End to End Storage Efficiency
TSL03104USEN Exploring VMware vSphere Storage API for Array Integration on th...
IBM FlashSystem 840 Product Guide
IBM System x3250 M5
IBM NeXtScale nx360 M4
IBM System x3650 M4 HD
IBM System x3300 M4
IBM System x iDataPlex dx360 M4
IBM System x3500 M4
IBM System x3550 M4
IBM System x3650 M4
IBM System x3500 M3
IBM System x3400 M3
IBM System x3250 M3
IBM System x3200 M3
IBM PowerVC Introduction and Configuration
A Comparison of PowerVM and Vmware Virtualization Performance
IBM pureflex system and vmware vcloud enterprise suite reference architecture
X6: The sixth generation of EXA Technology

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Big Data Technologies - Introduction.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
KodekX | Application Modernization Development
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPT
Teaching material agriculture food technology
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
MYSQL Presentation for SQL database connectivity
Big Data Technologies - Introduction.pptx
Empathic Computing: Creating Shared Understanding
Network Security Unit 5.pdf for BCA BBA.
Diabetes mellitus diagnosis method based random forest with bat algorithm
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
KodekX | Application Modernization Development
Building Integrated photovoltaic BIPV_UPV.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
MIND Revenue Release Quarter 2 2025 Press Release
Review of recent advances in non-invasive hemoglobin estimation
Mobile App Security Testing_ A Comprehensive Guide.pdf
Understanding_Digital_Forensics_Presentation.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Teaching material agriculture food technology
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference

  • 1. z/OS IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference SA23-2210-00
  • 3. z/OS IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference SA23-2210-00
  • 4. Note Before using this information and the product it supports, be sure to read the general information under “Notices” on page 289. First Edition, May 2007 This edition applies to Version 1 Release 1 of IBM Ported Tools for z/OS: PHP for z/OS Feature (5655-M23) and to all subsequent releases and modifications until otherwise indicated in new editions. IBM welcomes your comments. A form for readers’ comments may be provided at the back of this document, or you may address your comments to the following address: International Business Machines Corporation Department 55JA, Mail Station P384 2455 South Road Poughkeepsie, NY 12601-5400 United States of America FAX (United States & Canada): 1+845+432-9405 FAX (Other Countries): Your International Access Code +1+845+432-9405 IBMLink™ (United States customers only): IBMUSM10(MHVRCFS) Internet e-mail: mhvrcfs@us.ibm.com World Wide Web: www.ibm.com/servers/eserver/zseries/zos/webqs.html If you would like a reply, be sure to include your name, address, telephone number, or FAX number. Make sure to include the following in your comment or note: v Title and order number of this document v Page number or topic related to your comment When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. © Copyright International Business Machines Corporation 2006. All rights reserved. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  • 5. Contents Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . v About this document . . . . . . . . . . . . . . . . . . . . . . vii Who should use this document? . . . . . . . . . . . . . . . . . . vii Where to find more information . . . . . . . . . . . . . . . . . . . vii Softcopy publications . . . . . . . . . . . . . . . . . . . . . . vii IBM Systems Center publications . . . . . . . . . . . . . . . . . vii Using LookAt to look up message explanations . . . . . . . . . . . . viii Using IBM Health Checker for z/OS . . . . . . . . . . . . . . . . viii Chapter 1. Introduction . . . . . . . . . . . . . . . . . . . . . . 1 Finding more information . . . . . . . . . . . . . . . . . . . . . . 1 Script engine support . . . . . . . . . . . . . . . . . . . . . . . 1 Restrictions and limitations . . . . . . . . . . . . . . . . . . . . . 3 Chapter 2. Installing PHP for z/OS . . . . . . . . . . . . . . . . . 5 Pre-installation planning . . . . . . . . . . . . . . . . . . . . . . 5 File-System Allocation . . . . . . . . . . . . . . . . . . . . . . 5 Files and directory structure . . . . . . . . . . . . . . . . . . . 5 Migrating from previous versions of PHP . . . . . . . . . . . . . . . 5 Post-installation setup . . . . . . . . . . . . . . . . . . . . . . . 7 Adding symbolic link for man page . . . . . . . . . . . . . . . . . 7 Adding symbolic link to php in /usr/bin . . . . . . . . . . . . . . . . 7 Chapter 3. Considerations for porting or writing PHP scripts . . . . . . . 9 The location of php on your system . . . . . . . . . . . . . . . . . . 9 Using application servers . . . . . . . . . . . . . . . . . . . . . 9 Enabling CGI applications for use with IHS . . . . . . . . . . . . . 10 Bootstrap statement not required . . . . . . . . . . . . . . . . . . 10 Calls to UNIX commands and utilities . . . . . . . . . . . . . . . . 10 Message numbers . . . . . . . . . . . . . . . . . . . . . . . . 11 EBCDIC versus ASCII . . . . . . . . . . . . . . . . . . . . . . 11 Sort order differences . . . . . . . . . . . . . . . . . . . . . 11 Characters versus code points . . . . . . . . . . . . . . . . . . 12 Non-contiguous character ranges . . . . . . . . . . . . . . . . . 13 Iconv function . . . . . . . . . . . . . . . . . . . . . . . . . 13 Handling Unicode and multi-byte characters . . . . . . . . . . . . . . 13 System functions . . . . . . . . . . . . . . . . . . . . . . . . 14 Floating point . . . . . . . . . . . . . . . . . . . . . . . . . 15 Floating point special values . . . . . . . . . . . . . . . . . . . 15 Floating point precision issues . . . . . . . . . . . . . . . . . . 16 Converting between float and other types . . . . . . . . . . . . . . 16 Heap management . . . . . . . . . . . . . . . . . . . . . . . 16 Hash functions . . . . . . . . . . . . . . . . . . . . . . . . . 17 Random number generator . . . . . . . . . . . . . . . . . . . . 17 Using XML with PHP for z/OS . . . . . . . . . . . . . . . . . . . 17 Chapter 4. PHP application development with z/OS DB2 . . . . . . . . 19 Overview of the relationship between PHP and DB2 . . . . . . . . . . . 19 Requirements for using z/OS DB2 with PHP applications . . . . . . . . . 20 The PDO extension . . . . . . . . . . . . . . . . . . . . . . . 21 How to access z/OS DB2 from PHP sample code . . . . . . . . . . . . 22 More examples for using PHP with database applications . . . . . . . . . 23 © Copyright IBM Corp. 2006 iii
  • 6. Tips for avoiding common z/OS DB2 problems . . . . . . . . . . . . . 24 Tips for porting PHP applications from a MySQL database to z/OS DB2 . . . . 26 Chapter 5. PHP command reference . . . . . . . . . . . . . . . . 29 Synopsis . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Description . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Chapter 6. PHP messages . . . . . . . . . . . . . . . . . . . . 31 Appendix A. Known problems . . . . . . . . . . . . . . . . . . 271 Appendix B. Code pages . . . . . . . . . . . . . . . . . . . . 273 Appendix C. DateTime functions . . . . . . . . . . . . . . . . . 275 Appendix D. Accessibility . . . . . . . . . . . . . . . . . . . . 287 Using assistive technologies . . . . . . . . . . . . . . . . . . . 287 Keyboard navigation of the user interface. . . . . . . . . . . . . . . 287 z/OS information . . . . . . . . . . . . . . . . . . . . . . . . 287 Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . 289 Trademarks. . . . . . . . . . . . . . . . . . . . . . . . . . 290 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291 iv z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 7. Tables 1. CGI and FastCGI environment variables. . . . . . . . . . . . . . . . . . . . . . . 1 2. Supported hash functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3. PDO_ODBC supported and non-supported methods . . . . . . . . . . . . . . . . . . 21 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275 © Copyright IBM Corp. 2006 v
  • 8. vi z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 9. About this document This document presents the information you need to set up and use IBM Ported Tools for z/OS: PHP for z/OS Feature. Who should use this document? This document is for the system programmers who run a z/OS system with z/OS UNIX System Services (z/OS® UNIX®), and for their users who use IBM Ported Tools for z/OS: PHP for z/OS Feature. On other open systems, some system programmer tasks may be done by an administrator. This document assumes the readers are familiar with z/OS systems and with the information for z/OS and its accompanying products. Where to find more information Where necessary, this document references information in other documents about the elements and features of z/OS. For complete titles and order numbers for all z/OS documents, see z/OS Information Roadmap. Direct your request for copies of any IBM publication to your IBM representative or to the IBM branch office serving your locality. There is also a toll-free customer support number (1-800-879-2755) available Monday through Friday from 6:30 a.m. through 5:00 p.m. Mountain Time. You can use this number to: v Order or inquire about IBM publications v Resolve any software manufacturing or delivery concerns v Activate the program reorder form to provide faster and more convenient ordering of software updates Softcopy publications The z/OS library is available on the z/OS Collection Kit, SK2T-6700. This softcopy collection contains a set of z/OS and related unlicensed product documents. The CD-ROM collection includes the IBM® Library Reader™, a program that enables customers to read the softcopy documents. Softcopy z/OS publications are available for web-browsing and PDF versions of the z/OS publications for viewing or printing using Adobe Acrobat Reader. Visit the z/OS library at www.ibm.com/servers/eserver/zseries/zos/bkserv/. IBM Systems Center publications IBM Systems Centers produce Redbooks that can be helpful in setting up and using z/OS. You can order these publications through normal channels, or you can view them with a Web browser. See the IBM Redbooks site at www.ibm.com/redbooks. These documents have not been subjected to any formal review nor have they been checked for technical accuracy, but they represent current product understanding (at the time of their publication) and provide valuable information on a wide range of z/OS topics. You must order them separately. © Copyright IBM Corp. 2006 vii
  • 10. Using LookAt to look up message explanations LookAt is an online facility that lets you look up explanations for most of the IBM messages you encounter, as well as for some system abends and codes. Using LookAt to find information is faster than a conventional search because in most cases LookAt goes directly to the message explanation. You can use LookAt from the following locations to find IBM message explanations for z/OS elements and features, z/VM®, VSE/ESA™, and Clusters for AIX® and Linux: v The Internet. You can access IBM message explanations directly from the LookAt Web site at http://www.ibm.com/eserver/zseries/zos/bkserv/lookat/. v Your z/OS TSO/E host system. You can install code on your z/OS or z/OS.e systems to access IBM message explanations, using LookAt from a TSO/E command line (for example, TSO/E prompt, ISPF, or z/OS UNIX System Services). v Your Microsoft® Windows® workstation. You can install code to access IBM message explanations on the z/OS Collection (SK3T-4269), using LookAt from a Microsoft Windows command prompt (also known as the DOS command line). v Your wireless handheld device. You can use the LookAt Mobile Edition with a handheld device that has wireless access and an Internet browser (for example, Internet Explorer for Pocket PCs, Blazer, or Eudora for Palm OS, or Opera for Linux handheld devices). Link to the LookAt Mobile Edition from the LookAt Web site. You can obtain code to install LookAt on your host system or Microsoft Windows workstation from a disk on your z/OS Collection (SK3T-4269), or from the LookAt Web site (click Download, and select the platform, release, collection, and location that suit your needs). More information is available in the LOOKAT.ME files available during the download process. Using IBM Health Checker for z/OS IBM Health Checker for z/OS is a z/OS component that installations can use to gather information about their system environment and system parameters to help identify potential configuration problems before they impact availability or cause outages. Individual products, z/OS components, or ISV software can provide checks that take advantage of the IBM Health Checker for z/OS framework. This book may refer to checks or messages associated with this component. For additional information about checks and about IBM Health Checker for z/OS, see IBM Health Checker for z/OS: User’s Guide. z/OS V1R4, V1R5, and V1R6 users can obtain the IBM Health Checker for z/OS from the z/OS Downloads page at http://www.ibm.com/servers/eserver/zseries/zos/downloads/. SDSF also provides functions to simplify the management of checks. See z/OS SDSF Operation and Customization for additional information. viii z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 11. Chapter 1. Introduction PHP, which stands for ″PHP: Hypertext Preprocessor″, is an open source general-purpose scripting language that is particularly suited for Web development and can be embedded into HTML. IBM Ported Tools for z/OS: PHP for z/OS Feature (PHP for z/OS) is a ported version of the PHP scripting language (version 5.1.2) available from php.net. PHP for z/OS has been tested and packaged for use on z/OS. This document is designed specifically for users of the PHP for z/OS product, and assumes the user has working knowledge of PHP. For more information on the IBM Ported Tools for z/OS product, go to the following site: http://www.ibm.com/ servers/eserver/zseries/zos/unix/port_tools.html Finding more information Information specific to the z/OS UNIX implementation of PHP can be found in this document. For general information about the PHP language including links to additional reference sources, refer to the PHP Web site: http://www.php.net The official online source for PHP core user documentation can be found on the PHP Web site: http://www.php.net/docs.php There are also mailing lists that may prove useful. To subscribe to these mailing lists, go to the following site: http://www.php.net/mailing-lists.php And finally, there is the MVS-OE forum which provides general discussions on z/OS UNIX topics. Go here to subscribe: http://www-03.ibm.com/servers/eserver/zseries/zos/unix/bpxa1dis.html Note: IBM is not responsible for content or examples provided by non-IBM Web sites or other non-IBM resources. Script engine support PHP for z/OS contains support for two versions of the PHP script engine: Web scripting and command-line scripting. The Web scripting engine (php_cgi) supports both CGI and FastCGI environments. php_cgi is the default engine and is invoked via the symbolic link /usr/lpp/php/5.1.2/bin/php. The command-line scripting engine (php_cli) supports the command-line environment. The following table displays the environment variables required for both CGI and FastCGI support: Table 1. CGI and FastCGI environment variables Environment variable CGI FAST_CGI SCRIPT_FILENAME /docroot/info.php /path/to/php/bin/php/php-cgi SCRIPT_NAME /info.php /php/php-cgi REQUEST_URI /info.php /info.php © Copyright IBM Corp. 2006 1
  • 12. For information on how to enable CGI functions by installing IBM HTTP Server, see IBM HTTP Server for WebSphere Application Server, Version 6.1 on the Websphere Information Center. Restriction: mod_php is incompatible and cannot be used with IBM HTTP Server. For configuration information not related to Websphere, see Apache HTTP Server Version 2.0 Documentation To enable FastCGI functions, add the statements below to the httpd.conf file. Note: Some statements will need to be modified according to your system configurations, for example /fastcgi-bin /u/USER293/fastcgi-bin/. # Home of php wrappers which are the only thing directly run by fastcgi ScriptAlias /fastcgi-bin /u/USER293/fastcgi-bin/ # Ths php wrapper referred to above: ##!/bin/sh # #PHP_FCGI_CHILDREN=1 #PHP_FCGI_MAX_REQUESTS=2000 # # #export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS # ## The real php binary #exec /u/USER293/bin/php $* <Location> SetHandler fastcgi-script</Location> # User scripts run as CGI ScriptAlias /php-cgi/ /u/USER293/cgi-bin/ # User scripts run as fastcgi using dynamic servewr ScriptAlias /php-fastcgi/ /u/USER293/cgi-bin/ # User scripts run via the statically defined FastCGIServer ScriptAlias /php-fastcgi-static/ /u/USER293/cgi-bin/ <Location> Options FollowSymLinks AllowOverride None CharsetSourceEnc IBM-1047 CharsetDefault ISO8859-1</Location> # Apache will dynamically start the PHP interpreter via the wrapper when it’s required AddHandler php4-script .php <Location> Action php4-script /fastcgi-bin/php</Location> # This is the same as the other PHP wrapper, but with a different name # It will be started at initialization time FastCGIServer /u/USER293/fastcgi-bin/php-static -processes 2 <Location> Action php4-script /fastcgi-bin/php-static</Location> # Valid URLs are # http://foo/php-cgi/info.php # http://foo/php-fastcgi/info.php # http://foo/php-fastcgi-static/info.php 2 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 13. Restrictions and limitations The below restrictions and limitations apply to PHP for z/OS: v Custom extensions are not supported. v The following functions have restrictions in their use: mail (string to, string subject, string message [, string additional_headers [, string additional_parameters]]) PHP implements mail() by calling the system function mailx directly. The parameters additional_headers and additional_parameters should not be used in PHP for z/OS. If they are used, the paramerters will function as follows: 1. Any input for the parameter additional_headers will be used as the mail body. 2. Any input for the parameter additional_parameters will generate warning messages, such as the following: FSUMA930 /bin/mailx: Unknown option -w error_log (string message [, int message_type [, string destination [, string extra_headers]]]) If the input for the parameter message_type is equal to 1, then this function will call mailx. This will have the same restrictions as the PHP mail() function. v mod_php cannot be used with IBM HTTP Server. Chapter 1. Introduction 3
  • 14. 4 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 15. Chapter 2. Installing PHP for z/OS This chapter should be read before installing PHP for z/OS. It consists of the following sections which provide pre-installation planning information and additional post-installation steps. v Pre-installation Planning. This section provides information for file-system allocation and help on locating and relocating or removing previous versions of PHP that may reside on your system. v Post-installation setup. This section provides required and optional post-installation steps such as providing symbolic links to PHP for z/OS. Pre-installation planning The following sections provide you with information that will be helpful in planning to install PHP for z/OS. File-System Allocation PHP for z/OS will installed into /usr/lpp/php/5.1.2. The Program Directory for IBM Ported Tools for z/OS describes that an HFS file-system of 265 tracks of 3390 DASD is required. This is approximately 12.5MB (assuming 15 tracks/cyl and 737,280 bytes/cylinder for a 3390 device). Files and directory structure PHP for z/OS will be installed into the following directories and files as follows: /usr/lpp/php/5.1.2 Parent directory for PHP for z/OS /usr/lpp/php/5.1.2/bin Directory for PHP executable files /usr/lpp/php/5.1.2/bin/php PHP executeable (symbolic link to php_cgi) /usr/lpp/php/5.1.2/bin/php_cli PHP executeable for command line scripting /usr/lpp/php/5.1.2/bin/php_cgi PHP executeable for CGI scripting /usr/lpp/php/5.1.2/ini PHP sample configuration files /usr/lpp/php/5.1.2/man Directory for PHP man page Note: The files php.ini-dist and php.ini-recommended are available in the ini directory. Both of these files are identical to what you would find in a typical PHP package. For more information on the php.ini file, see http://www.php.net/ini.core. The following symbolic links are not automatically created by the installation process, and therefore need to be created during post installation. (See “Post-installation setup” on page 7 for more information on defining these links): /usr/bin/php -> /usr/lpp/php/5.1.2/bin/php /usr/man/C/man1/hphza200.book -> /usr/lpp/php/5.1.2/man/C/man1/hphza200.book Migrating from previous versions of PHP Before installing PHP for z/OS, you should check if a previous version of PHP acquired from another source has already been installed. Because these versions are not supported, you may wish to remove them. However, PHP for z/OS can co-exist with previous versions, so if you choose to retain them, you will need to make sure that the location of the previous PHP module and PHP utilities does not conflict. Although PHP for z/OS is functionally equivalent to other available versions of PHP at the same level or earlier, PHP itself has occasionally introduced changes © Copyright IBM Corp. 2006 5
  • 16. between versions which are not compatible with previous versions and so your user community may need access to the previous version until those version-related migration issues are resolved. Therefore, you should retain any previous versions until your user community has transitioned to PHP for z/OS . The PHP application consists of two different versions of the PHP interpreter: one designed primarily for command-line scripting, and one designed for web-based scripting. The command-line scripting version is named ″php_cli″, while the web-based version is named ″php_cgi″. For convenience, the latter version has a symbolic link named ″php″ pointing to it. PHP for z/OS will be installed into directories in /usr/lpp/php/5.1.2. This is a unique directory specific to PHP for z/OS and so during the installation into these directories there should be no risk of conflict with other versions of PHP. It is customary, however, for the PHP executable or links to it, to be located in /usr/bin, and/or /usr/local/bin (and sometimes /bin). A symbolic link to php should be defined in one of these directories. This is the point at which a conflict with a previous version of PHP may occur. So, if you have a previous version, you will need to make sure to remove or rename these executables or symbolic links. Tips for finding previous versions of PHP As stated in “Migrating from previous versions of PHP” on page 5, the only conflict during the installation of PHP for z/OS and a previous version of PHP may be in the /usr/bin/ or /usr/local/bin/ directories where the executables are typically installed. So, this section will focus on providing tips for finding the executables. v Use the whence command. If php is located in a directory which is defined in $PATH, then the whence command will indicate which directory it is in. From the UNIX command line, enter: whence php v Check common directories. Typically, the php module, or a link to it, is installed in one or more of the following directories: /usr/bin /usr/local/bin /bin (although not typical) Do an ″ls -ld php*″ in each of these directories. v Use the find command. The find command is the most thorough method as it performs a search on all directories. However, it can take several minutes to run on systems with heavily populated file-systems. Also, to check all paths, it will most likely need to be run as a superuser. You may wish to restrict the find to system directories such as /usr or /bin. Examples: find /usr -type f -name "php*" find /bin -type f -name "php*" If you run this command as a non-superuser, you may wish to redirect all error messages for directories you do not have access to to /dev/null. To do so, add ″ 2> /dev/null″ to the end of the above find commands. Removing or relocating previous versions of PHP If you have determined that you have a previous version of PHP, you need to determine whether you should remove it or relocate it. It is advisable that you initially relocate previous versions-- rather than remove them-- until you are satisfied that your user community has no dependencies on them. Some other considerations: 6 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 17. v php executables from previous versions which have been installed in the common locations should be relocated or removed to avoid conflict with executables provided with PHP for z/OS. The complete list of these potential extensions follows (however, not all of these are supported in PHP for z/OS): php php5.*.* Analyzing existing PHP scripts If you have a previous version of PHP installed, then there are probably user-written PHP scripts on the system as well. While PHP does not guarantee that it is upwardly compatible, it is rare to encounter problems due to this. So, there is a high likelihood that existing scripts will work fine with PHP for z/OS without modification. If you have mission-critical PHP applications, you should test them with PHP for z/OS before making it the default version of PHP on your system. This can be done by installing PHP for z/OS but not creating the symbolic links in the standard directories such as /usr/bin. This way, you can continue to use the previous version while directing specific test scripts to the new PHP for z/OS php installed as /usr/lpp/php/5.1.2/bin/php. Post-installation setup This section describes the post-installation steps. Adding symbolic link for man page The PHP for z/OS man page file is hphza200.book and is located in the directory /usr/lpp/php/5.1.2/man/C/man1/. In order to view this with the command man php, the directory /usr/lpp/php/5.1.2/man/C (without the ″/man1/″) needs to be added to the default MANPATH environment variable defined in /etc/profile. Alternately, you can create a symbolic link to hphza200.book in the /usr/man/C/man1/ directory which is typically defined as the default path of MANPATH in /etc/profile. To do this: cd /usr/man/C/man1 ln -s /usr/lpp/php/5.1.2/man/C/man1/hphza200.book hphza200.book Adding symbolic link to php in /usr/bin php is typically installed into /usr/bin (and sometimes also /usr/local/bin or /bin although these are less often done). A symbolic link for php can be created in /usr/bin which points to /usr/lpp/php/5.1.2/bin/php. For example: cd /usr/bin ln -s /usr/lpp/php/5.1.2/bin/php php You may also wish to create a symbolic link in /usr/local/bin which is less typical than /usr/bin although reasonably common. It is not advisable to create a link in /bin although that can be found on some systems. Chapter 2. Installing PHP for z/OS 7
  • 18. 8 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 19. Chapter 3. Considerations for porting or writing PHP scripts The purpose of this chapter is to familiarize you with those aspects of PHP which may differ on z/OS UNIX as compared with other platforms. While every effort has been made to ensure that the behavior of PHP for z/OS is consistent with PHP on other platforms, each platform has its unique characteristics that can affect how PHP operates. When writing a new PHP script, particularly one that might be used on other platforms, or when porting a PHP script from another platform to z/OS UNIX, you should keep in mind the issues discussed in this chapter. The following topics are discussed: v “The location of php on your system” v “Using application servers” v “EBCDIC versus ASCII” on page 11 v “Bootstrap statement not required” on page 10 v “Calls to UNIX commands and utilities” on page 10 v “Message numbers” on page 11 v “EBCDIC versus ASCII” on page 11 v “Iconv function” on page 13 v “System functions” on page 14 v “Handling Unicode and multi-byte characters” on page 13 v “Floating point” on page 15 v “Heap management” on page 16 v “Hash functions” on page 17 v “Random number generator” on page 17 v “Using XML with PHP for z/OS” on page 17 The location of php on your system It is standard practice to define the location of php on the first line of a PHP script. For example: #!/usr/bin/php The default installation path of the php module is /usr/lpp/php/5.1.2/bin/php, however, /usr/bin/php should be created as a symbolic link to /usr/lpp/php/5.1.2/bin/php so that no changes are required to your PHP scripts. Your system administrator may have purposely or accidentally overlooked creating this link, so if your PHP script fails, verify that the location of php on your sytem matches that defined in your script. Using application servers IBM HTTP Server (IHS) is supported by PHP. This section will describe how CGI applications can be made to work with IHS, along with any environment variables that would need to be configured. © Copyright IBM Corp. 2006 9
  • 20. Enabling CGI applications for use with IHS To enable IHS to execute a CGI application, a directory must be configured to allow for execution. This is done by adding a line to the httpd.conf configuration file for IHS. The line would look something like the following: Exec /cgi-bin/* /usr/lpp/internet/server_root/cgi-bin/* This will allow scripts in the cgi-bin directory to be properly run. If this is not set, then the script files will just be displayed as normal files. After setting up IHS to allow for CGI execution, you can test it by creating a small script in the cgi-bin directory like the following: #!/bin/sh printf "Content-type: text/htmlnn" printf "<html><body>The test.sh cgi-bin script is working</body></html>n"; You should then set the permissions on the script to 0755 to allow for execution. You should then be able to load the file through your Web browser, and see the script output as a Web page. If you see the raw contents of the script file, then you need to check your configuration. Now you need to set the PHPRC environment variable. This will make the php.ini file accessible to the PHP CGI script thats running on the IHS server (for information on the php.ini file, see http://www.php.net/ini.core). This environment variable is set in the IHS configuration file, httpd.envvars. The PHPRC environment variable will indicate where the php.ini file can be found by PHP engine while running on the IHS server. Once found, all the php.ini file directives can then act on the PHP CGI script based on the IHS server. The following example shows how to set the PHPRC environment variable in httpd.envvars. After setting the environment variable, you will need to re-start the IHS server for the changes to take effect. PHPRC=/etc Note: The default location for the php.ini configuration file is the /etc directory. If this is not the case on your system, make sure to replace /etc with the actual location of the php.ini file. Bootstrap statement not required Prior to OS/390 V2R8, the shell did not support the shbang ( ″#!...″, ″pound bang″, or ″Magic Number″), so the ″#!/usr/bin/php″ statement was not recognized. In order to get PHP scripts to run, you had to insert the following statement at the beginning of the script: eval ’exec /usr/bin/php -S $0 ${1+"$@"}’ if 0; If you have these in your scripts, they should be removed and the proper shbang statement used. If you leave them in, your scripts will still work fine (presuming you’ve installed php in the same location), but they will probably cause unnecessary confusion to new developers as well as reducing performance. Calls to UNIX commands and utilities When porting scripts from other platforms that contain calls to UNIX system commands or utilities, be aware that the syntax or behavior of these commands may vary. Two examples to illustrate this: 10 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 21. v The sort utility (not to be confused with the PHP sort() function although this issue applies to it as well), can sort data in a different order depending on the platform. For more details, refer to “Sort order differences.” v The date command, while a standard utility on UNIX systems, may vary from platform to platform and an option supported by date on other platforms may not be supported on z/OS UNIX, or vice-versa. The following examples show date commands that would not execute on other platforms: z/OS: date -c linux: date -d "12/31/03 23:59" "+%s" FreeBSD: date "-j -f "%Y%m%d_%H:%M" 20031231_23:59 "+%s" Message numbers To enhance serviceability, IBM assigns a unique message number to each informational, warning and error message generated by PHP. These message numbers are of the form HPH0xxxx where xxxx is a unique four digit number. If your script or process needs to compare these messages against an expected message, the presence of the message number can cause the message to not match. For this reason, message numbering can be disabled by setting the _PHP_NOMSGID environment variable to 1 prior to running the script. For example: export _PHP_NOMSGID=1 EBCDIC versus ASCII EBCDIC, which stands for Extended Binary-Coded-Decimal Interchange Code, is the code set used on z/OS UNIX. By contrast, ASCII is the dominant code set on almost all other platforms. Scripts written for ASCII platforms without an awareness of code set independent coding practices, can run incorrectly on z/OS UNIX. The following sections discuss some of these issues. It can be helpful to visualize the differences between the code pages. To facilitate this, graphical representations of the EBCDIC (IBM-1047) and ASCII (ISO8859-1) code pages have been provided in Appendix B, “Code pages,” on page 273. For a general overview of character sets and code pages, refer to National Language Support Reference Manual, Volume 2, SE09-8002. Sort order differences The default sort order for text differs between ASCII and EBCDIC platforms. When using the PHP sort() function or the UNIX sort utility, you should be aware of these differences. They can cause unexpected behavior in your scripts. The following table demonstrates how the sort order for text varies. The ″Orig″ column shows a random assortment of characters. The following columns show the different sort orders generated by the PHP sort() function and the UNIX sort utility on both z/OS UNIX and Linux platforms: ---- ------------ ------------ z/OS Linux Orig sort() sort sort() sort ---- ------ ---- ------ ---- = A : 0 0 = 0 = 9 9 : Z a : : 0 : z = = 9 Chapter 3. Considerations for porting or writing PHP scripts 11
  • 22. A A A a z Z Z Z A 9 0 a a z a 9 z z Z Characters versus code points One of the most common problems when porting scripts from other platforms to z/OS is caused by the technique of referring to characters using their codepoint (ordinal) value rather than their symbolic value. For example, consider the following code: $x=ord(’A’); if ($x == 0x41) { print "x is ’A’ n"; } else { print "x is not ’A’ n"; } The if statement would only be true on an ASCII platform where the ordinal value of the character A is 0x41. If this code were run on z/OS UNIX, it would print x is not ’A’ because the ordinal value of ’A’ on an EBCDIC codepage is 0xC1. Newline (″n″) The ordinal value of the newline (″n″) character is different between EBCDIC and ASCII. So, the symbolic representation of this character should always be used rather than the ordinal values. The following are incorrect and correct examples: print "Hello World 012"; # incorrect print "Hello World n"; # correct The following table shows the ordinal value of the newline character in both EBCDIC and ASCII: Dec Octal Hex EBCDIC 21 025 0x15 ASCII 10 012 0xA PHP pack() and unpack() functions When using the pack and unpack functions, keep in mind that the length value is taken from the character code point. Because of this, the behavior of these functions will differ when used on an EBCDIC platform as compared to an ASCII or other character set platform. The following is an example code fragment containing the unpack function: my $b = "Xt01234567n" x 100; my @a = unpack("(a1 c/a)*", $b); In the above code fragment, the unpack function is attempting to unpack $b into an array with a resulting size of 200 with each value alternating between ″X″ and ″01234567n″; for example, ($a[0] = ″X″; $a[1] = ″01234567n″;), where a1 refers to the X value (a one character long string item) and c/a refers to ″01234567n″. However, this does not occur as expected on the EBCDIC system. The reason is in how ″″ works in the unpack function. The value before the ″″ is the length-item and the value after is the string-item. The length-item dictates the number of string-items to retrieve. In this case, the length-item is ″t″ (tab) which on an ASCII system has the ordinal value of 9, indicating that a nine character long string item should to be retrieved next. (The ()* part indicates that this should be done repetitively until the end of $b is encountered.) However, on the EBCDIC system, the ordinal value for t may not be 9. On some EBCDIC systems it is 5. Because of this discrepancy in code points, the results of running the pack and unpack functions will differ if you are running in on EBCDIC platform as compared to an 12 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 23. ASCII or other platform. Because the z/OS environment is EBCDIC, you will need to be aware of this when using the pack and unpack functions in this environment. Non-contiguous character ranges EBCDIC does not have the alphabet in a contiguous manner - there are gaps. For example, the character ’>>’ that lies between ’i’ and ’j’ will not be translated by the tr/i-j/X. This works in the other direction too, if either of the range endpoints is numeric, tr/x89-x91/X will translate x8b, even though ’x89’ is ’i’ and ’x91’ is ’j’ and ’x8b’ are gapped characters from the alphabetic viewpoint. Thus, knowledge of these gapped characters on the z/OS platform is required to write scripts. Iconv function According to the PHP manual, iconv ″Performs a character set conversion on the string str from in_charset to out_charset. Returns the converted string or FALSE on failure.″ On z/OS platform, the default character set is IBM-1047. Issue the command iconv –l from a shell prompt to find out which character sets are supported on z/OS UNIX. Following examples show the difference between Linux and z/OS UNIX: z/OS UNIX: IBM-1046 IBM-1047 IBM-1089 Linux: IBM1046 IBM1047 IBM1089 Handling Unicode and multi-byte characters Since the default character set in z/OS UNIX is EBCDIC, some consideration is needed when working with Unicode and multi-byte character related functions. The following figures help illustrate the differences of running these functions on z/OS UNIX, an EBCDIC based platform, to other platforms, which are ASCII based. Even though you may not encounter such a scenario in PHP programming, it is still a good example: Figure 1. Example Unicode scenario The following figure shows the expected result: Chapter 3. Considerations for porting or writing PHP scripts 13
  • 24. Figure 2. Unicode scenario results from running on non-z/OS UNIX platforms However, if it is run on z/OS UNIX, the expected result is as follows: Figure 3. Unicode scenario results from running on z/OS UNIX On z/OS UNIX, the multi-byte characters ^47^63 represent different characters as compared to an ASCII platform. This prevents them from being converted to &aring;&Auml; System functions PHP calls system functions to implement some of the basic functions, such as mkdir(), fopen(), popen() and so on. Because z/OS UNIX is a UNIX standard compatible system, you should not encounter problems when using these functions except for EBCDIC to ASCII situations. It is possible, however, that you may encounter some difficulties if you attempt to implement some programming tricks. The following is an example: #include <unistd.h> int main(int argc, char *argv[]){ int c; extern char *optarg; while((c=getopt(argc,argv,"d:m:j:vht"))!=-1){ printf("%c-%sn",c,optarg); } } Compile this program in Linux and z/OS UNIX and ensure that Tgetopt is the name of executable file: Linux: ./Tgetopt -d 1 -m 2 -h 3 d-1 m-2 h-(null) z/OS UNIX: ./Tgetopt -d 1 -m 2 -h 3 d-1 m-2 h-2 14 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 25. The difference is due to the different implementation of the system function getopt(); You may get the same result when you try to use PHP function getopt(). Floating point PHP on z/OS UNIX supports the IEEE 754 floating point standard. The IEEE (Institute of Electrical and Electronics Engineers) has produced a standard for floating point arithmetic. This standard specifies how single precision (32 bit) and double precision (64 bit) floating point numbers are to be represented, as well as how arithmetic should be carried out on them. Floating point special values On z/OS UNIX, double-precision floating point numbers have some special values: positive infinity(INF), negative infinity(-INF), and not-a-number (NAN). The IEEE standard defines two classes of NaN: quiet NaNs (NaNQ) and signaling NaNs (NaNS). A NaNQ is a NaN with the most significant fraction bit set; an NaNS is a NaN with the most significant fraction bit clear. NaNQ are allowed to propagate through most arithmetic operations without signaling an exception. NaNS generally signal an invalid-operation exception whenever they appear as operands in arithmetic operations. Currently, the handling of IEEE 754 special values in PHP depends on the underlying C library. Unfortunately, there is little consistency between C libraries in how or whether these values are handled. There is one difference between the special values on z/OS and other operating systems. On z/OS, ″not-a-number″ was named as NaNQ, but on other general operating systems, ″not-a-number″ was named as NAN. Note: Some mathematical functions on z/OS UNIX return different results than would be expected on a generic platform. The following is an example: <?php print_r(acos(1.01));echo "n"; print_r(log(0));echo "n"; var_dump(acos(1.01)); var_dump(log(0)); ?> On other operating systems, the result might be: NAN -INF float(NAN) float(-INF) But on z/OS UNIX , the result is: NaNQ(1) -INF float(NAN) float(-INF) Chapter 3. Considerations for porting or writing PHP scripts 15
  • 26. Floating point precision issues The last digit of a floating point number may be represented differently in different operating systems. The following is the output string representation for an IEEE 754 special value: <? print_r(atan(log(0))); echo "n"; ?> On other operating systems, the result is: -1.5707963267949 But on z/OS UNIX , the result is: -1.57079632679 Converting between float and other types PHP does not require (or support) explicit type definitions in variable declarations; a variable’s type is determined by the context in which that variable is used. For example, if you assign a string value to variable $var, $var becomes a string. If you then assign an integer value to $var, it becomes an integer. When converting a variable from float to other types, or converting a variable from other types to float, the results will vary between PHP for z/OS and generic platforms. For example: <? print_r(base_convert(NAN, 16, 2)); echo "n"; ?> On other operating systems, the result is: 1010 But on z/OS UNIX , the result is: 10100001 Normally, PHP first converts NAN from type string to type float, and after deleting all non-alphanumeric characters, ″NAN″ is converted to ″A″, and ″A″ is equal to ″1010″. But on z/OS UNIX, NAN is expressed a ″NaNQ(1)″. This is because after PHP removes all non-alphanumeric characters, ″NaNQ(1)″ is converted to ″A1″, which is equal to ″10100001″. Heap management While using PHP, you may encounter a situation where the user heap is exhuasted. This can be caused by certain code paths in PHP making repeated use of the realloc() function to incrementally grow the user heap. If this is done rapidly, the heap can grow so large that future heap allocation requests can fail. If you should encounter this problem, you can set the following environment variable while invoking the PHP interpreter: _CEE_RUNOPTS=’HEAP(,,,FREE)’ This will instruct Language Environment to free all unused storage after a call to realloc(). This makes it much less likely that the user heap will be exhausted during 16 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 27. normal use, albeit at a cost of reduced application performance. For more information about Language Environment heap tuning, see the z/OS Language Environment Programming Reference. Hash functions PHP supports many hash functions. Some examples include MD5, SHA1, BASE64, CRC32, among others. For more information on these hash functions, consult the following RFCs: Table 2. Supported hash functions Function name Corresponding RFC file MD5 RFC 1321 - The MD5 Message-Digest Algorithm SHA1 RFC 3174 - US Secure Hash Algorithm 1 (SHA1) CRC32 BASE64 RFC 2045 - Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies PHP for z/OS UNIX transfers the code page of encrypting string from EBCDIC to ASCII. The following is an example: <?php $str = ’apple’; var_dump(sha1($str)); ?> On a Linux system, the result is: string(40) "d0be2dc421be4fcd0172e5afceea3970e2f3d940" On z/OS UNIX , the result is the same: string(40) "d0be2dc421be4fcd0172e5afceea3970e2f3d940" As mentioned before, the binary value of the string on z/OS UNIX is not equal to what it would be on a generic ASCII platform. If you want to use the binary value, keep in mind that it is in EBCDIC. Random number generator One important difference between PHP for z/OS and other versions of PHP is the implementations of the php_mt_rand() and php_mt_srand() functions. In PHP for z/OS, the implementation of the Mersenne Prime twister random number generator (RNG) in these functions has been replaced. If these functions are called on a machine that has the Integrated Cryptographic Service Facility (ICSF) installed, then random number data generated by the system hardware RNG will be returned. If the ICSF is not available, then the functions will simply call the Language Environment functions rand() and srand(). See z/OS V1R8.0 XL C/C++ Run-Time Library Reference and z/OS V1R8.0 ICSF Overview for more information. Using XML with PHP for z/OS XML inline statements <?xml ?> can be confused with the short form of PHP’s open tag (<? ?> during interpretation. Fortunately, there is an option which can be disabled that will allow the use of the XML inline statements. This option is changed in the php.ini file by using the short_open_tag directive, which controls the use of short open tags. For more information on this option, see http://us3.php.net/ini.core. Chapter 3. Considerations for porting or writing PHP scripts 17
  • 28. 18 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 29. Chapter 4. PHP application development with z/OS DB2 This chapter describes the following: v An overview of the relationship between PHP and DB2 v Requirements for using z/OS DB2 with a PHP application v The PDO extension v Accessing DB2 from PHP sample code v Tips for avoiding common DB2 problems v Tips for porting PHP applications from MySQL to z/OS DB2 Any experience with PHP application development using databases via PDO_ODBC will benefit you when utilizing z/OS DB2. Overview of the relationship between PHP and DB2 The following diagram shows the relationship between PHP and DB2: Figure 4. Control flow of PHP for z/OS DB2 connection PHP provides a wrapper (PDO and PDO_ODBC) for DB2 ODBC and makes it easier for you to access DB2. DB2 ODBC serves as an interface between DB2 and PHP. PDO provides a data-access abstraction layer, which means that, regardless of which database you’re using, you use the same functions to issue queries and retrieve data. PDO does not provide a database abstraction; it does not rewrite SQL or emulate missing features. If you have any experience on PHP database functions, you may be familiar with these PDO drivers: PDO_DBLIB, © Copyright IBM Corp. 2006 19
  • 30. PDO_FIREBIRD, PDO_INFORMIX, PDO_MYSQL, PDO_OCI, PDO_ODBC, PDO_PGSQL, PDO_SQLITE. PDO_ODBC is the one PHP for z/OS uses to connect DB2 on z/OS. General information about DB2 UDB for z/OS is available from the DB2 UDB for z/OS Web page: http://www.ibm.com/software/data/db2/zos/. Requirements for using z/OS DB2 with PHP applications A comparison between z/OS DB2 ODBC and ODBC on other platforms can be found in the DB2 Universal Database for z/OS ODBC -ODBC Guide and Reference. z/OS DB2 Version 8.1 is the recommended version since the PHP for z/OS database connection has been fully tested on this version. Make sure that DB2 ODBC environment is ready before you begin. You can ask a DB2 administrator (who can subsequently reference the DB2 Universal Database for z/OS ODBC) to obtain the correct settings for the DB2 INI file. The following is an example format of the INI file: [COMMON] MVSDEFAULTSSID=DB2L [DB2L] MVSATTACHTYPE=CAF PLANNAME=DSNACLI If you have encountered problems in the DB2 setting and want to have a quick reference, see the following diagnostic routine: Note: The following steps are provided as a quick reference, in case you encounter problems with the DB2 ODBC settings. 1. Double check with the DB2 administrator regarding Chapter3 of DB2 Universal Database for z/OS ODBC -ODBC Guide and Reference. The more critical steps are provided below; others can be found in the guide. a. Binding DBRMs to create packages b. Binding the application plan c. Grant execute on PLAN. To do this, GRANT EXECUTE ON PLAN PLANNAME TO USERID. If you still have problems in connecting DB2 via the PHP script, please try the next routine: 2. Run the following AMBLIST job once on the system. The modifications you have to make are in bold text: // EXEC PGM=AMBLIST //SYSPRINT DD SYSOUT=* //SYSLIB DD DSN=DSNxxx.SDSNLOAD,DISP=SHR //SYSIN DD * LISTIDR MEMBER=(DSNAOCLI) // You can find the data in the output of the following: LISTIDR FOR PROGRAM OBJECT DSNAOCLI. Check to make sure you have the most recent update of the ODBC maintenance level (PTF UK20888 was tested to support most of the PDO_ODBC functions). If your ODBC maintenance level is lower than PTF UK20888, update the maintenance level. 3. Only if you have worked through the previous steps and still have problems with DB2 ODBC, try changing the .ini file to the following (in other words, modify the settings in INI to fit your system): 20 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 31. [COMMON] MVSDEFAULTSSID=DB2L MAXCONN=10 APPLTRACE=1 APPLT RACEFIDIAGTRACE=/tracelog DIAGTRACE_NO_WRAP=1 DIAGTRACE_BUFFER_SIZE=2000000 [DB2L] MVSATTACHTYPE=CAF PLANNAME=DSNACLI After you run an experimental PHP script, you should receive two log files. You can find the files in /tracelog, and under the running path of the script with the name DD DSNAOTRC . Then save DD.DSNAOTRC as a binary file. Finally, evaluate the logs or send the logs to the DB2 administrator for further assistance. The PDO extension PDO_ODBC is an implementation of PDO interface to ODBC. PHP for z/OS supports z/OS DB2 access via the PDO_ODBC extension. The following table shows which methods are supported by PDO_ODBC of PHP, and which ones are not: Table 3. PDO_ODBC supported and non-supported methods Methods Supported? Comments PDO::beginTransaction Yes PDO::commit Yes PDO::__construct Yes PDO::errorCode Yes PDO::errorInfo Yes PDO::exec Yes PDO::getAttribute Yes PDO::getAvailableDrivers Yes PDO::lastInsertId No PDO::prepare Yes PDO::query Yes PDO::quote No Use prepare instead PDO::rollBack Yes PDO::setAttribute Yes PDOStatement::bindColumn Yes PDOStatement::bindParam Yes PDOStatement::bindValue Yes PDOStatement::closeCursor No z/OS DB2 does not require close cursor PDOStatement::columnCount Yes PDOStatement::errorCode Yes PDOStatement::errorInfo Yes PDOStatement::execute Yes PDOStatement::fetch Yes PDOStatement::fetchAll Yes Chapter 4. PHP application development with z/OS DB2 21
  • 32. Table 3. PDO_ODBC supported and non-supported methods (continued) Methods Supported? Comments PDOStatement::fetchColumn Yes PDOStatement::fetchObject Yes PDOStatement::getAttribute Yes PDOStatement::getColumnMeta No PHP EXPERIMENTAL PDOStatement::nextRowset No PDOStatement::rowCount Yes PDOStatement::setAttribute Yes PDOStatement::setFetchMode Yes How to access z/OS DB2 from PHP sample code This section describes how to access z/OS DB2 from PHP sample code. First, make sure you have set up the following items: v z/OS DB2 userid and password v DSNAINI To set the environment variable DSNAOINI, add the following code to the beginning before creating any connections (This is only one of the ways to set the value of environment variable DSNAOINI): putenv("DSNAOINI=user_dir/DSNAOINI"); user_dir is the directory where you place the DSNAOINI file. Next, you will need to set up the php.ini file. The default path for the php.ini file is /etc/php.ini. Add the following statement: [PDO] pdo.dsn.yourdsnname="odbc:DSN=DBW9LOC1;UID=userid ;PWD=password Modify the italics portions to your z/OS DB2 settings. Also, provide a name for the dsn setting of yourdsnname. Here is an example of how to create a database: <?php try{ $dsn=’yourdsnname’; $dbconn = new PDO($dsn); $dbconn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING); // Create table $dbconn->exec("create table Cust(" ."CustomerID Integer," ."CustomerName varchar(40)," ."CustomerAddr varchar(255)," ."CustomerTel varchar(200)," ."CustomerEmail varchar(100))"); } catch (PDOException $e) { echo "Failed: " . $e->getMessage(); } ?> This example shows how to write records to the newly created database: 22 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 33. <?php try{ $dsn=’yourdsnname’; $dbconn = new PDO($dsn) $dbconn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING) //insert Data $custID=1; $stmt = $dbconn->prepare("insert into Cust values(?,?,?,?,?)"); $stmt->bindParam(1,$custID); $stmt->bindValue(2,"New Company’s name: CompnayName"); $stmt->bindValue(3,"New Company’s address: Adress"); $stmt->bindValue(4,"Telphone:12345"); $stmt->bindValue(5,"abc@abc.com"); $stmt->execute(); $stmt=NULL; $dbconn=NULL; } catch (PDOException $e) { echo "Failed: " . $e->getMessage(); } ?> Here is an example of how to query records: <?php try{ $dsn=’yourdsnname’; $dbconn = new PDO($dsn); $dbconn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING) $stmt = $dbconn->prepare("select * from Cust "); $stmt->execute(); $res = $stmt->fetchAll(); var_dump($res); $stmt=NULL; $dbconn=NULL; } catch (PDOException $e) { echo "Failed: " . $e->getMessage(); } ?> Here is an example of how to update records: <?php try{ $dsn=’yourdsnname’; $dbconn = new PDO($dsn); $dbconn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING) $stmt = $dbconn->prepare("update Cust set CustomerTel=? "); $stmt->bindValue(1,”98765”); $stmt->execute(); $stmt=NULL; $dbconn=NULL; } catch (PDOException $e) { echo "Failed: " . $e->getMessage(); } ?> More examples for using PHP with database applications The following section provides more examples on how to use PHP with database applications. The following example shows how to create a connection: <?php try{ $dsn=’odbc:M05DB2’; $username=’foo’; $passwd=’bar’; $dbh = new PDO($dsn, $username, $passwd, array(‘PDO_ATTR_PERSISTENT’ => false)); Chapter 4. PHP application development with z/OS DB2 23
  • 34. $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch(Exception $e) { echo "Failed: " . $e->getMessage(); exit(0); }?> $dsn is in the format of odbc:db2_location_name. db2_location_name will be provided by the database administrator. In the above example, location name is M05DB2 and the database user name is foo with a password bar. The above code is just an example to show usage. You need to contact your own database administrator to get the actual location name, database user name and password for the application. Note: The odbc in $dsn must be in lower-case. If you are going to create Web applications or CGI scripts with PHP and want to set up z/OS DB2 connections in applications or scripts, then the following code may be added at the beginning before creating any connections: putenv("DSNAOINI=user_dir/DSNAOINI"); user_dir is the directory where you put the DSNAOINI file. The z/OS DB2 connection code can be written as follows: <?php try{ putenv("DSNAOINI=/u/foo/DSNAOINI"); $dsn=’odbc:M05DB2’; $username=’foo’; $passwd=’bar’; $dbh = new PDO($dsn, $username, $passwd, array(PDO_ATTR_PERSISTENT => false)); $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch(Exception $e) { echo "Failed: " . $e->getMessage(); exit(0); }?> A better practice when creating a PHP script is to place the above code into the script. When a z/OS DB2 connection is needed in a PHP application, you can include this script into the application. For example, you can name the above code as a file called pdo_conn.inc. You can then include this file into other scripts using the following code: <?php include “pdo_conn.inc”; $stm t= $dbh->prepare(“SELECT * FROM mydb”); $stmt->execute(); ?> For examples of more standard operations such as select, insert, and query, go to PHP.net . Tips for avoiding common z/OS DB2 problems Tips: The following tips may be useful for avoiding common z/OS DB2 problems: 1. In a single PHP script file, you must avoid using the same PDO statement variable name for different SQL executions. Otherwise, you will end up resetting the PDO statement variables before their execution. See the following example: 1. <?php 2. include "pdo_conn.inc"; 3. $dbh->exec("CREATE TABLE CXL_EMP(NAME VARCHAR(20) NOT NULL, JOB VARCHAR(50), SALARY INT DEFAU 4. try{ 24 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 35. 5. $stmt = $dbh->prepare("INSERT INTO CXL_EMP(NAME, JOB, SALARY) VALUES (?, ?, ?)"); 6. $stmt->bindParam(1, $name, PDO::PARAM_STR); 7. $stmt->bindParam(2, $job, PDO::PARAM_STR); 8. $stmt->bindParam(3, $salary, PDO::PARAM_INT); 9. $name = "AAA_1"; $job = "AAA"; $salary = 100; $stmt->execute(); 10. $name = "AAA_2"; $job = "AAA"; $salary = 150; $stmt->execute(); 11. $name = "AAA_3"; $job = "AAA"; $salary = 200; $stmt->execute(); 12. //----------------LINE A------- 13. $stmt = NULL; //Set $stmt = NULL here 14. //----------------LINE B------- 15. $stmt = $dbh->prepare("select Z.name from TABLE (select * from CXL_EMP where job=?) as Z w 16. $stmt->execute(array(’AAA’, 150)); 17. print_r($stmt->fetchAll(PDO::FETCH_ASSOC)); 18. }catch(Exception $e) 19. { 20. echo "n".$e->getMessage(); 21. } 22. $dbh->exec("drop table CXL_EMP"); 23. ?> In the above example, you must reset the variable $stmt at line 13, whose type is PDOStatement, after the insert operation at line 5 but before the select operation at line 15. Another solution is to use a new variable instead of $stmt in the select operation. 2. z/OS DB2 UDB V8 supports the parameter marker in question mark (?) format (see the DB2 Universal Database for z/OS Version 8 ODBC Guide and Reference, page 314). Parameter marker is the symbol in the SQL prepare statement that is replaced by the value of actual variable when SQL is executed. The PHP online manual introduces another format of parameter marker of SQL prepare as the following code. Remember that the code does not work with PHP on z/OS UNIX and DB2. 1. <?php 2. include “pdo_conn.inc”; 3. $dbh->exec("DROP table REGISTRY"); 4. $dbh->exec("create table REGISTRY (name varchar(32) not null default ’’, value int not null 5. $stmt = NULL; 6. $stmt = $dbh->prepare("INSERT INTO REGISTRY (name, value) VALUES (?, ?)"); 7. $stmt->bindParam(’:name’, $name); 8. $stmt->bindParam(’:value’, $value); 9. // insert one row 10. $name = ’one’; 11. $value = 1; 12. $stmt->execute(); 13. // insert another row with different values 14. $name = ’two’; 15. $value = 2; 16. $stmt->execute(); 17. ?> In line 6, the script uses question mark (?) as parameter instead of :name and :value. $stmt = $dbh->prepare("INSERT INTO REGISTRY (name, value) VALUES (:name, :value)"); The above script will generate the following SQL error and dump information: Fatal error: HPH01023 Uncaught exception ’PDOException’ with message ’SQLSTATE[42618]: <<Unknown error>>: 0 {DB2 FOR OS/390}{ODBC DRIVER}{DSN07011} DSNT408I SQLCODE = -312, ERROR: NAME IS AN UNDEFINED OR UNUSABLE HOST VARIABLE OR IS USED IN A DYNAMIC SQL STATEMENT OR A TRIGGER DEFINITION DSNT418I SQLSTATE = 42618 SQLSTATE RETURN CODE DSNT415I SQLERRP = DSNHSM2V SQL PROCEDURE DETECTING ERROR DSNT416I SQLERRD = 0 0 0 -1 45 0 SQL DIAGNOSTIC INFORMATION Chapter 4. PHP application development with z/OS DB2 25
  • 36. DSNT416I SQLERRD = X’00000000’ X’00000000’ X’00000000’ X’FFFFFFFF’ X’0000002D’ X’00000000’ SQL DIAGNOSTIC INFORMATION ERRLOC=1:13:2 Tips for porting PHP applications from a MySQL database to z/OS DB2 Tips: When porting PHP applications from a MySQL database to a z/OS DB2 database, the following tips may be useful: 1. For the most part, when PHP applications are ported from MySQL to z/OS DB2, the first step is to use PDO_ODBC methods to replace the work done by MySQL functions. The details of the port are dependent on how the PHP application was written. The MySQL functions should be analyzed to see what input they require and what output they generate. This will allow a user to replace them with calls to PDO_ODBC. When PDO_ODBC does not provide a method that directly maps to a MySQL function, you can usually achieve similar functionality with a combination of PDO_ODBC methods. For example, say that in the PHP application to be ported, there is a line of code that performs a database query. This line calls mysql_query(string query [, resource link_identifier]) to perform a database query specified by SQL string query on the database link link_identifier. In PDO_ODBC, there is no single method to do the query, but you can easily implement similar functionality to mysql_query in a function named pdo_query as shown in the following PHP application file: 1. function pdo_query($query, $dbh) 2. { 3. $sth=$dbh->prepare($query); 4. $sth->execute(); 5. return $sth; 6. } $query is the SQL query string and $dbh is the PDO connection object. 2. z/OS DB2 SQL statements differ significantly from MySQL SQL statements. It is a good idea to consult with the z/OS DB2 user manual or a SQL reference book when porting a PHP application. For example, the following is a MySQL SQL statement that queries data from a table named tablename and sorts the result in descending order based on the time column. SELECT * FROM tablename ORDER BY ’time’ DESC However, this SQL statement does not work in z/OS DB2. The following example shows a statement that would work: SELECT * FROM tablename ORDER BY time DESC Another good example of the differences between MySQL and z/OS DB2 is when you use an SQL statement to create a table in a database. In MySQL, you can use the keyword auto_increment to set a table column whose contents automatically increment (starting from 1) for each record. In z/OS DB2, there is no such keyword. In this case, it is better to use the keywords GENERATED ALWAYS AS IDENTITY to create this column. 3. The following situation is often overlooked and can generate false output for PHP applications. In most cases, SQL statements in MySQL and z/OS DB2 can be written without regards to case. For example, the SQL statement CREATE TABLE person ( id int GENERATED ALWAYS AS IDENTITY, name varchar(256) NOT NULL default ’’,age int NOT NULL default 0) 26 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 37. is the same as create table person (id int generated always as identity, name varchar(256) not null default ’’, aga int not null default 0) in both MySQL and z/OS DB2. However, when working with data returned from a database query by an SQL SELECT statement in PDO_ODBC extension, you must make sure that SELECT is in upper case. This is because the array index to retrieve values from the query output data is in array format from the z/OS DB2 database on z/OS UNIX. For example, the following code will query data from a database called fruit and print out the name of the first fruit in the database: 1. <?php 2. include "pdo_conn.inc"; 3. $sth = $dbh->prepare("SELECT name, colour FROM fruit"); 4. $sth->execute(); 5. $data_array = $dbh->fetchAll(); 6. echo "The first fruit name is ".$data_array[0]["NAME"]; 7. ?> In line 6, you must make sure that "NAME" is in uppercase, as it is the array index to get the value. Lower case $data_array[0]["name"] will return nothing from the z/OS DB2 fruit database. Chapter 4. PHP application development with z/OS DB2 27
  • 38. 28 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 39. Chapter 5. PHP command reference Synopsis php [-q] [-h] [-s] [-v] [-i] [-f <file>] php <file> [args...] Description PHP is a widely-used, general-purpose, scripting language that is especially suited for Web development and can be embedded into HTML. For more information on PHP, including links to additional reference sources, refer to the PHP Web site: http://www.php.net/ Options PHP accepts the following command line switches: -a This option specifies PHP to run interactively. -C This option prevents chdir to the script’s directory. -c <path> | <file> This option looks for php.ini file in the directory <path> or use the specified <file>. -n This option specifies that no php.ini file will be used. -d foo[=bar] This option defines INI entry foo with value ’bar’. -e This option generates extended information for the debugger or profiler. -f <file> This option parses and executes <file>. Implies -q. -h This option is for help. -i This option provides PHP information, as well as its configuration. -l This option specifies syntax check only (lint). -m This option shows compiled in extensions. -q This option specifies quiet-mode. Suppress HTTP Header output. -s This option displays color syntax highlighted source. -v This option displays version number. -w This option displays source with stripped comments and whitespace. -z <file> This option loads Zend extension <file>. © Copyright IBM Corp. 2006 29
  • 40. PHP 30 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 41. Chapter 6. PHP messages char HPH00000 This message is for ″%s″ which is The missing delimiter character displayed %04x times. Example: HPH00002 No ending delimiter ’/’ found Explanation: System action: Displays the warning and continues Example: HPH00000 This message is for ″%s″ interpreting the script. which is displayed %04x times. Operator response: No System Operator response is System action: required. Operator response: No System Operator response is User response: Change the regular expression so required. that it has a matched set of delimiters. User response: System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: Automation: Not applicable. Automation: Not applicable. HPH00003 No ending matching delimiter ’char’ HPH00001 Delimiter must not be alphanumeric or found backslash Explanation: PHP encountered a regular expression Explanation: PHP encountered a regular expression that is missing a matching ending delimiter. that is using an incorrect delimiter. char Example: HPH00001 Delimiter must not be The missing delimiter character alphanumeric or backslash Example: HPH00003 No ending matching delimiter ’/’ System action: Displays the warning and continues found interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Replace the delimiter characters with required. valid ones. User response: Change the regular expression so System programmer response: No System that it has a matched set of delimiters. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00002 No ending delimiter ’char’ found Explanation: PHP encountered a regular expression HPH00004 Unknown modifier ’char’ that is missing an ending delimiter. Explanation: PHP encountered a regular expression © Copyright IBM Corp. 2006 31
  • 42. that has an incorrect modifier. HPH00006 Error while studying pattern Example: HPH00004 Unknown modifier ’a’ Explanation: An error occurred while studying the System action: Displays the warning and continues pattern in a regular expression function. interpreting the script. Example: HPH00006 Error while studying pattern Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Replace the incorrect modifier with a Operator response: No System Operator response is correct one. required. System programmer response: No System User response: Check the argument and option bits Programmer response is required. to make sure they are correct. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00005 Compilation failed: ’error text’ at offset Automation: Not applicable. ’offset’ Explanation: PHP encountered a compile error when HPH00007 string: internal pcre_fullinfo() error compiling a regular expression. integer error text Explanation: When running function pcre_fullinfo(), an Error text error occurred. offset string Point offset in pattern where error was detected active function name Example: HPH00005 Compilation failed: ’c’ at end of integer pattern at offset ’2’ error code System action: PHP immediately stops interpreting Example: HPH00007 php_pcre_match: internal the file (before any statements are run) and exits. pcre_fullinfo() error -3 Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Change the regular expression Operator response: No System Operator response is according to the error text. required. System programmer response: No System User response: Make sure the regular expression is Programmer response is required. correct. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: F- A fatal error (PHP exits Module: Not applicable. immediately). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. 32 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 43. System action: Displays the warning and continues HPH00010 Unable to call custom replacement interpreting the script. function Operator response: No System Operator response is Explanation: When doing a regular expression required. replacement, PHP was unable to call the custom replacement function. User response: Change the modifier. Example: HPH00010 Unable to call custom System programmer response: No System replacement function Programmer response is required. System action: Displays the warning and continues Problem determination: No additional information. interpreting the script. Source: PHP Operator response: No System Operator response is required. Module: Not applicable. User response: Ensure that the replacement function Routing code: Not applicable. is correct. Descriptor code: W- A warning (PHP continues). System programmer response: No System Automation: Not applicable. Programmer response is required. Problem determination: No additional information. HPH00014 Matched, but too many substrings Source: PHP Explanation: PHP exceeded its internal substring limit Module: Not applicable. while performing regular expression processing. Routing code: Not applicable. Example: HPH00014 Matched, but too many substrings Descriptor code: W- A warning (PHP continues). System action: Displays the warning and continues Automation: Not applicable. interpreting the script. Operator response: No System Operator response is HPH00011 Extraneous message - remove. required. Explanation: Extraneous message - remove. User response: Alter the regular expression to reduce the number of matches, or reduce the size of the string Example: Extraneous message - remove. being searched. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Change the evaluating code Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. HPH00015 Parameter mismatch, pattern is a Routing code: Not applicable. string while replacement in an array. Descriptor code: W- A warning (PHP continues). Explanation: Parameter mismatch, pattern is a string Automation: Not applicable. while replacement in an array. Example: HPH00015 Parameter mismatch, pattern is HPH00012 /e modifier cannot be used with a string while replacement in an array. replacement callback System action: Displays the warning and continues Explanation: /e modifier cannot be used with the interpreting the script. replacement callback in the preg_replace function. Operator response: No System Operator response is Example: HPH00012 /e modifier cannot be used with required. the replacement callback Chapter 6. PHP messages 33
  • 44. User response: Modify the pattern or replacement so Source: PHP they match Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00020 Second argument to preg_grep() Routing code: Not applicable. should be an array Descriptor code: W- A warning (PHP continues). Explanation: In the preg_grep() function, the second argument should be an array. Automation: Not applicable. Example: HPH00020 Second argument to preg_grep() should be an array HPH00016 Requires second argument, ’string’, to be a valid callback System action: Displays the warning and continues interpreting the script. Explanation: The second parameter of preg_replace_callback() is not valid Operator response: No System Operator response is required. string a callback name User response: Change the second argument of preg_grep() to an array. Example: HPH00016 Requires second argument, ’asdg’, to be a valid callback System programmer response: No System Programmer response is required. System action: Displays the warning and continues interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: Change the callback to a valid one. Routing code: Not applicable. System programmer response: No System Descriptor code: W- A warning (PHP continues). Programmer response is required. Automation: Not applicable. Problem determination: No additional information. Source: PHP HPH00023 Wrong value for fourth parameter in Module: Not applicable. call to string Routing code: Not applicable. Explanation: When calling some function, the fourth parameter is wrong. Descriptor code: W- A warning (PHP continues). string Automation: Not applicable. active function name Example: HPH00023 Wrong value for fourth HPH00019 Unknown error parameter in call to preg_match() Explanation: Unknown error System action: Displays the warning and continues Example: HPH00019 Unknown error interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Correct the fourth parameter. required. System programmer response: No System User response: Make sure that the preg_split() Programmer response is required. function is used properly. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. 34 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 45. Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: N- An informational notice. Could be an error or could be normal behavior. HPH00024 Get subpatterns list failed Automation: Not applicable. Explanation: In a regular expression match, get subpatterns list failed. HPH00026 --Remove Example: HPH00024 Get subpatterns list failed Explanation: System action: Displays the warning and continues Example: HPH00026 We selected ’%s’ for ’%.1f/no interpreting the script. DST’ instead Operator response: No System Operator response is System action: required. Operator response: No System Operator response is User response: Make sure that preg_match() is used required. correctly. User response: System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: I- An internal error not caused by Descriptor code: user (a programming error in PHP). Automation: Not applicable. Automation: Not applicable. HPH00027 --Remove HPH00025 --Removed, because HAVE_TM_ZONE is not defined Explanation: Explanation: Guess the timezone Example: HPH00027 We selected ’%s’ for ’%.1f/DST’ instead string1 time zone id System action: string2 Operator response: No System Operator response is time zone required. float User response: tm_gmtoff / 3600 System programmer response: No System string3 Programmer response is required. DST or no DST Problem determination: No additional information. Example: HPH00025 We selected ’UTC’ for ’UTC/1.0/DST’ instead Source: PHP System action: Displays the warning and continues Module: Not applicable. interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is Descriptor code: required. Automation: Not applicable. User response: N/A System programmer response: No System Programmer response is required. Problem determination: No additional information. Source: PHP Chapter 6. PHP messages 35
  • 46. HPH00028 We had to select ’UTC’ because your HPH00030 idate format is one char platform does not provide functionality Explanation: idate format should be one char. for the guessing algorithm Example: HPH00030 idate format is one char Explanation: PHP cannot guess the timezone by platform, so it returned ’UTC’. System action: Displays the warning and continues interpreting the script. Example: HPH00028 We had to select ’UTC’ because your platform does not provide functionality for the Operator response: No System Operator response is guessing algorithm required. System action: Displays the warning and continues User response: Correct the format. interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: No response required. Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH00031 Unrecognized date format token. Descriptor code: W- A warning (PHP continues). Explanation: The data format of idate() function is not Automation: Not applicable. recognized. Example: HPH00031 Unrecognized date format token. HPH00029 Timezone database is corrupt - this should *never* happen! System action: Displays the warning and continues interpreting the script. Explanation: Timezone database is corrupt. Operator response: No System Operator response is Example: HPH00029 Timezone database is corrupt - required. this should *never* happen! User response: Correct the data format. System action: Displays the warning and continues interpreting the script. System programmer response: No System Programmer response is required. Operator response: No System Operator response is required. Problem determination: No additional information. User response: Submit a bug report to php.net Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00032 You should be using the time() function instead Descriptor code: I- An internal error not caused by user (a programming error in PHP). Explanation: Incorrect function or incorrect number of parameters was used to report the time. The time() Automation: Not applicable. function should be used instead. Example: HPH00032 You should be using the time() function instead System action: Displays the warning and continues interpreting the script. 36 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 47. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: You should use the time() function or Routing code: Not applicable. provide proper parameters. Descriptor code: W- A warning (PHP continues). System programmer response: No System Programmer response is required. Automation: Not applicable. Problem determination: No additional information. HPH00035 Incorrect format Source: PHP Explanation: Parameter number is incorrect. Module: Not applicable. Example: HPH00035 Incorrect format Routing code: Not applicable. System action: Displays the warning and continues Descriptor code: W- A warning (PHP continues). interpreting the script. Automation: Not applicable. Operator response: No System Operator response is required. HPH00033 The is_dst parameter is deprecated User response: Provide the proper number of Explanation: The is_dst parameter is deprecated. parameters, which should be less than 7. Example: HPH00033 The is_dst parameter is System programmer response: No System deprecated Programmer response is required. System action: Displays the warning and continues Problem determination: No additional information. interpreting the script. Source: PHP Operator response: No System Operator response is Module: Not applicable. required. Routing code: Not applicable. User response: No response required. Descriptor code: W- A warning (PHP continues). System programmer response: No System Programmer response is required. Automation: Not applicable. Problem determination: No additional information. HPH00036 Wrong return format given, pick one of Source: PHP SUNFUNCS_RET_TIMESTAMP, Module: Not applicable. SUNFUNCS_RET_STRING or SUNFUNCS_RET_DOUBLE Routing code: Not applicable. Explanation: The return format must be one of Descriptor code: W- A warning (PHP continues). SUNFUNCS_RET_TIMESTAMP, Automation: Not applicable. SUNFUNCS_RET_STRING or SUNFUNCS_RET_DOUBLE. If not, it is wrong. HPH00034 Timezone ID ’string’ is incorrect Example: HPH00036 Wrong return format given, pick one of SUNFUNCS_RET_TIMESTAMP, Explanation: timezone ID is incorrect SUNFUNCS_RET_STRING or string SUNFUNCS_RET_DOUBLE timezone id System action: Displays the warning and continues Example: HPH00034 Timezone ID ’lxl’ is incorrect interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Change the return format to one of required. SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STRING or User response: Correct the timezone ID. SUNFUNCS_RET_DOUBLE System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Chapter 6. PHP messages 37
  • 48. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00037 Unknown hashing algorithm: string HPH00042 Cannot open converter Explanation: The hashing algorithm is unknown Explanation: PHP encountered an error when opening converter. string unknown hashing algorithm Example: HPH00042 Cannot open converter Example: HPH00037 Unknown hashing algorithm: System action: Displays the warning and continues ’aaaa’ interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Make sure the iconv() function is required. used correctly. User response: Provide a correct hashing algorithm. It System programmer response: No System should be one of the following: md4 md5 sha1 sha256 Programmer response is required. sha384 sha512 ripemd128 ripemd160 whirlpool Problem determination: No additional information. tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 Source: PHP haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 Module: Not applicable. haval256,4 haval128,5 haval160,5 haval192,5 Routing code: Not applicable. haval224,5 haval256,5 Descriptor code: W- A warning (PHP continues). System programmer response: No System Programmer response is required. Automation: Not applicable. Problem determination: No additional information. HPH00043 Wrong charset, conversion from Source: PHP `string1’ to `string2’ is not allowed Module: Not applicable. Explanation: PHP cannot convert from ’in charset’ to Routing code: Not applicable. ’out charset’ Descriptor code: W- A warning (PHP continues). string1 in charset Automation: Not applicable. string2 out charset HPH00040 HMAC requested without a key Example: HPH00043 Wrong charset, conversion from Explanation: A key is needed in hash_init() . `IBM-1047’ to `ISO8859-1’ is not allowed Example: HPH00040 HMAC requested without a key System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Correct the value of either ’in charset’ or ’out charset’. User response: Provide a key as the parameter of hash_init() System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP 38 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 49. Module: Not applicable. HPH00046 Run out of buffer Routing code: Not applicable. Explanation: PHP ran out of buffer space in the Descriptor code: W- A warning (PHP continues). iconv() function. Automation: Not applicable. Example: HPH00046 Run out of buffer System action: Displays the warning and continues HPH00044 Detected an incomplete multibyte interpreting the script. character in input string Operator response: No System Operator response is Explanation: The input string is not correct because it required. is an incomplete multibyte character. User response: Make sure the parameters of the Example: HPH00044 Detected an incomplete iconv() functions are correct. multibyte character in input string System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: Make sure the input string is correct. Routing code: Not applicable. System programmer response: No System Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP HPH00047 Malformed string Module: Not applicable. Explanation: Input string is malformed in some iconv Routing code: Not applicable. functions (such as iconv_mime_decode). Descriptor code: W- A warning (PHP continues). Example: HPH00047 Malformed string Automation: Not applicable. System action: Displays the warning and continues interpreting the script. HPH00045 Detected an illegal character in input Operator response: No System Operator response is string required. Explanation: PHP detected an illegal character in the User response: Correct the input string. input string, such as an illegal sequence. System programmer response: No System Example: HPH00045 Detected an illegal character in Programmer response is required. input string Problem determination: No additional information. System action: Displays the warning and continues interpreting the script. Source: PHP Operator response: No System Operator response is Module: Not applicable. required. Routing code: Not applicable. User response: Make sure the input string is correct. Descriptor code: W- A warning (PHP continues). System programmer response: No System Automation: Not applicable. Programmer response is required. Problem determination: No additional information. HPH00048 Unknown error (integer) Source: PHP Explanation: Unknown error Module: Not applicable. integer Routing code: Not applicable. unknown error number Descriptor code: W- A warning (PHP continues). Example: HPH00048 Unknown error (11) Automation: Not applicable. System action: Displays the warning and continues interpreting the script. Chapter 6. PHP messages 39
  • 50. Operator response: No System Operator response is php_iconv_stream_filter_append_bucket() function is required. correct. User response: Make sure the iconv() function is System programmer response: No System used properly. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00051 iconv stream filter (″string1″=>″string2 ″): insufficient buffer HPH00049 Offset not contained in string. Explanation: Buffer is insufficient in the php_iconv_stream_filter_append_bucket() function Explanation: Offset is not specified in the parameters. string1 Example: HPH00049 Offset not contained in string. from charset System action: Displays the warning and continues string2 interpreting the script. to charset Operator response: No System Operator response is Example: HPH00051 iconv stream filter required. (″GB2312″=>″UTF-8″): insufficient buffer User response: Correct the parameter. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Make sure the buffer length parameter of the Module: Not applicable. php_iconv_stream_filter_append_bucket() function is Routing code: Not applicable. correct. Descriptor code: W- A warning (PHP continues). System programmer response: No System Programmer response is required. Automation: Not applicable. Problem determination: No additional information. HPH00050 iconv stream filter (″string1″=>″string2 Source: PHP ″): invalid multibyte sequence Module: Not applicable. Explanation: Multibyte sequence is incorrect in the Routing code: Not applicable. php_iconv_stream_filter_append_bucket() function Descriptor code: W- A warning (PHP continues). string1 from charset Automation: Not applicable. string2 to charset HPH00052 iconv stream filter (″string1″=>″string2 ″): unknown error Example: HPH00050 iconv stream filter (″GB2312″=>″UTF-8″): invalid multibyte sequence Explanation: PHP encountered an unknown error in the php_iconv_stream_filter_append_bucket() function System action: Displays the warning and continues interpreting the script. string1 from charset Operator response: No System Operator response is required. string2 to charset User response: Make sure the parameter of the 40 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 51. Example: HPH00052 iconv stream filter HPH00059 PDO: driver string requires PDO API (″GB2312″=>″UTF-8″): unknown error version long; this is PDO version System action: Displays the warning and continues integer interpreting the script. Explanation: PDO version is not the same as the Operator response: No System Operator response is PDO API version required required. string User response: Make sure all the parameters of PDO driver name php_iconv_stream_filter_append_bucket() are correct. long For more information, please refer to php.net . PDO version required System programmer response: No System integer Programmer response is required. PDO version Problem determination: No additional information. Example: HPH00059 PDO: driver sqlite requires PDO Source: PHP API version 4; this is PDO version 3 Module: Not applicable. System action: Displays the warning and continues interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is Descriptor code: W- A warning (PHP continues). required. Automation: Not applicable. User response: Make sure the PDO API version is correct. HPH00056 iconv stream filter (″string1″=>″string2 System programmer response: No System ″): unexpected octet values Programmer response is required. Explanation: The octet values are not correct in the Problem determination: No additional information. php_iconv_stream_filter_append_bucket() function Source: PHP string1 from charset Module: Not applicable. string2 Routing code: Not applicable. to charset Descriptor code: I- An internal error not caused by Example: HPH00056 iconv stream filter user (a programming error in PHP). (″GB2312″=>″UTF-8″): unexpected octet values Automation: Not applicable. System action: Displays the warning and continues interpreting the script. HPH00060 You MUST load PDO before loading Operator response: No System Operator response is any PDO drivers required. Explanation: PDO module is not registered. User response: Make sure the parameters of the Example: HPH00060 You MUST load PDO before php_iconv_stream_filter_append_bucket() function are loading any PDO drivers correct. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Load the PDO module first when Module: Not applicable. building and running PHP. Routing code: Not applicable. System programmer response: No System Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. Routing code: Not applicable. Chapter 6. PHP messages 41
  • 52. Descriptor code: W- A warning (PHP continues). HPH00064 Failed to register persistent entry Automation: Not applicable. Explanation: Failed to register persistent entry in PDO constructor() function. HPH00061 out of memory while allocating PDO Example: HPH00064 Failed to register persistent entry handle System action: PHP immediately stops interpreting Explanation: Out of memory while allocating PDO the file (before any statements are run) and exits. handle. Operator response: No System Operator response is Example: HPH00061 out of memory while allocating required. PDO handle User response: Make sure the persistent entry is System action: Displays the warning and continues correct. interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Make sure the system has enough memory. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: I- An internal error not caused by Source: PHP user (a programming error in PHP). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH00065 Out of memory while allocating PDO Descriptor code: I- An internal error not caused by methods. user (a programming error in PHP). Explanation: PHP ran out of memory while allocating Automation: Not applicable. PDO methods. Example: HPH00065 Out of memory while allocating HPH00063 Out of memory PDO methods. Explanation: Out of memory in PDO constructor System action: Displays the warning and continues function. interpreting the script. Example: HPH00063 Out of memory Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Make sure that system has enough Operator response: No System Operator response is memory to allocate PHP methods. required. System programmer response: No System User response: Make sure the system has enough Programmer response is required. memory. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: I- An internal error not caused by Module: Not applicable. user (a programming error in PHP). Routing code: Not applicable. Automation: Not applicable. Descriptor code: I- An internal error not caused by user (a programming error in PHP). Automation: Not applicable. 42 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 53. System action: Displays the warning and continues HPH00066 Incorrect data source name interpreting the script. Explanation: The data source name of PDO is not Operator response: No System Operator response is correct. required. Example: HPH00066 Incorrect data source name User response: Correct the URI. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Correct the data source name. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. HPH00069 Incorrect data source name (via URI) Routing code: Not applicable. Explanation: The data source name (via URI) is Descriptor code: W- A warning (PHP continues). incorrect. Automation: Not applicable. Example: HPH00069 Incorrect data source name (via URI) HPH00067 Incorrect data source name (via INI: System action: Displays the warning and continues string) interpreting the script. Explanation: The data source name is incorrect. Operator response: No System Operator response is string required. incorrect data source name User response: Correct the data source name. Example: HPH00067 Incorrect data source name (via System programmer response: No System INI: aaab) Programmer response is required. System action: Displays the warning and continues Problem determination: No additional information. interpreting the script. Source: PHP Operator response: No System Operator response is required. Module: Not applicable. User response: Provide an acceptable data source Routing code: Not applicable. name. Descriptor code: W- A warning (PHP continues). System programmer response: No System Programmer response is required. Automation: Not applicable. Problem determination: No additional information. HPH00070 Could not find driver Source: PHP Explanation: The driver, the first parameter of the Module: Not applicable. PDO constructor function, is not correct. Routing code: Not applicable. Example: HPH00070 Could not find driver Descriptor code: W- A warning (PHP continues). System action: Displays the warning and continues interpreting the script. Automation: Not applicable. Operator response: No System Operator response is required. HPH00068 Incorrect data source URI User response: Correct the driver. Explanation: The URI of data source is incorrect. System programmer response: No System Example: HPH00068 Incorrect data source URI Programmer response is required. Problem determination: No additional information. Chapter 6. PHP messages 43
  • 54. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00073 There is no active transaction Automation: Not applicable. Explanation: A submit or rollback was performed on a nonexist transaction. HPH00071 There is already an active transaction Example: HPH00073 There is no active transaction Explanation: beginTransaction() was called more than once before the end of the transaction. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Example: HPH00071 There is already an active transaction Operator response: No System Operator response is required. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. User response: Start a new transaction before peforming a submit or rollback. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: You can only call beginTransaction() once before it has completed. If you make a call to Problem determination: No additional information. beginTransaction(), make sure not to call it again until Source: PHP the first call has completed. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: F- A fatal error (PHP exits immediately). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00075 The auto-commit mode cannot be Descriptor code: F- A fatal error (PHP exits changed for this driver immediately). Explanation: For a certain database driver, the Automation: Not applicable. auto-commit mode cannot be changed. Example: HPH00075 The auto-commit mode cannot HPH00072 This driver does not support be changed for this driver transactions System action: PHP immediately stops interpreting Explanation: The database driver used in PDO does the file (before any statements are run) and exits. not support transactions. Operator response: No System Operator response is Example: HPH00072 This driver does not support required. transactions User response: For this database driver, you cannot System action: Displays the warning and continues change auto-commit mode to another one. interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Use another driver or do not use Source: PHP transactions. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: F- A fatal error (PHP exits immediately). Source: PHP Automation: Not applicable. Module: Not applicable. 44 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 55. HPH00076 You cannot serialize or unserialize HPH00079 Did not find column name ’%s’ in the PDO instances defined columns; it will not be bound Explanation: PDO instances cannot be serialized or Explanation: PHP cannot find the column name unserialized. string Example: HPH00076 You cannot serialize or column name unserialize PDO instances Example: HPH00079 Did not find column name ’abc’ System action: PHP immediately stops interpreting in the defined columns; it will not be bound the file (before any statements are run) and exits. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Do not serialize or unserialize PDO required. instances. User response: Correct the column name. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits Descriptor code: W- A warning (PHP continues). immediately). Automation: Not applicable. Automation: Not applicable. HPH00080 PHP might crash if you do not call HPH00078 You should not create a PDOStatement $stmt->setFetchMode() to reset to manually defaults on this persistent statement. Explanation: You should not create a PDOStatement This will be fixed in a later release. manually. Explanation: If the statement is set to be persistent, Example: HPH00078 You should not create a PHP might crash if you do not call $stmt- PDOStatement manually >setFetchMode() to reset to defaults. System action: Displays the warning and continues Example: HPH00080 PHP might crash if you do not interpreting the script. call $stmt->setFetchMode() to reset to defaults on this persistent statement. This will be fixed in a later release. Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Make sure not to ’new’ a PDOStatement object. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Call $stmt->setFetchMode() . Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Chapter 6. PHP messages 45
  • 56. HPH00082 This PDORow is not from a writable HPH00085 You cannot serialize or unserialize result set PDOStatement instances Explanation: The PDORow of result set is not Explanation: You cannot serialize or unserialize writable. PDOStatement instances. Example: HPH00082 This PDORow is not from a Example: HPH00085 You cannot serialize or writable result set unserialize PDOStatement instances System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: This PDORow object is read only. For User response: Do not serialize or unserialize more information, refer to PHP.net PDOStatement instances. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00083 Cannot delete properties from a HPH00087 Error in pdo_odbc.connection_pooling PDORow configuration. Value MUST be one of ’strict’, ’relaxed’ or ’off’. Explanation: Cannot delete properties from a PDORow. Explanation: PHP encountered an error in pdo_odbc.connection_pooling configuration. Example: HPH00083 Cannot delete properties from a PDORow Example: HPH00087 Error in pdo_odbc.connection_pooling configuration. Value System action: Displays the warning and continues MUST be one of ’strict’, ’relaxed’ or ’off’. interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Properties from this PDORow cannot required. be deleted. For more information, please refer to PHP.net User response: You should change the pdo_odbc.connection_pooling configuration value to be System programmer response: No System one of ’strict’, ’relaxed’ or ’off’. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. 46 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 57. HPH00088 Expects first argument to be a valid HPH00090 Cannot create a block or character stream resource device, creating a normal file instead Explanation: The first parameter must be a valid Explanation: PHP encountered a problem such that it stream resource when user calls function cannot create a block or character device. posix_ttyname() and posix_isatty(). Example: HPH00090 Cannot create a block or Example: HPH00088 Expects first argument to be a character device, creating a normal file instead valid stream resource System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Not applicable. User response: Make sure the first parameter is a System programmer response: No System valid stream resource. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00091 Unable to convert posix group to array Explanation: PHP encountered a problem such that it HPH00089 For S_IFCHR and S_IFBLK, you need is unable to convert posix group to array, in to pass a major device kernel identifier posix_getgrnam() function. Explanation: In the posix_mknod() function, if the Example: HPH00091 Unable to convert posix group to mode is S_IFCHR or S_IFBLK, an extra parameter, a array major device kernel identifier, is needed. System action: Displays the warning and continues Example: HPH00089 For S_IFCHR and S_IFBLK, you interpreting the script. need to pass a major device kernel identifier Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Not applicable. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Add a parameter, that is, a major device kernel identifier. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: I- An internal error not caused by Module: Not applicable. user (a programming error in PHP). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00092 Unable to convert posix group struct Automation: Not applicable. to array Explanation: PHP encountered a problem such that it is unable to convert posix group struct to array in posix_getgrgid() function. Chapter 6. PHP messages 47
  • 58. Example: HPH00092 Unable to convert posix group System action: PHP immediately stops interpreting struct to array the file (before any statements are run) and exits. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: User should not call the method or required. function statically. User response: Not applicable. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). Descriptor code: I- An internal error not caused by user (a programming error in PHP). Automation: Not applicable. Automation: Not applicable. HPH00096 Internal error: Failed to retrieve the reflection object HPH00093 Unable to convert posix passwd struct to array Explanation: The reflection object cannot be retrieved. For example, the possible reasion is that the object Explanation: PHP encountered a problem such that it does not exist. is unable to convert posix passwd struct to array in the posix_getpwnam() function. Example: HPH00096 Internal error: Failed to retrieve the reflection object Example: HPH00093 Unable to convert posix passwd struct to array System action: PHP immediately stops interpreting the file (before any statements are run) and exits. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Call the correct reflection object. User response: Not applicable. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). Descriptor code: I- An internal error not caused by user (a programming error in PHP). Automation: Not applicable. Automation: Not applicable. HPH00097 Internal error: Cannot find extension function string in global function table HPH00095 string() cannot be called statically Explanation: PHP encountered a problem that it Explanation: Some methods cannot be called cannot find extension function in the global function statically table string string method/function name function name that cannot be found Example: HPH00095 ReflectionFunction::getName() Example: HPH00097 Internal error: Cannot find cannot be called statically extension function aaa in the global function table 48 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 59. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Provide the correct number of required. parameters. User response: Not applicable. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: I- An internal error not caused by Automation: Not applicable. user (a programming error in PHP). Automation: Not applicable. HPH00100 Invocation of string’s constructor failed Explanation: PHP encountered invocation of a zend HPH00098 string::__toString() did not return class entry’s constructor failed anything string Explanation: __toString() of the object did not return zend class entry anything Example: HPH00100 Invocation of %s’s constructor string failed object name System action: Displays the warning and continues Example: HPH00098 ABC::__toString() did not return interpreting the script. anything Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Invocation of a zend class entry’s Operator response: No System Operator response is constructor failed. For more information, please refer to required. PHP.net. User response: Not applicable. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00101 Internal error: Failed to retrieve the argument’s reflection object HPH00099 Invoke() expects at least one parameter, none given Explanation: Internal error: Failed to retrieve the argument’s reflection object when user used Explanation: The parameter given is not correct; isSubclassOf() and implementsInterface() functions of invoke() needs at least one parameter. ReflectionClass. Example: HPH00099 Invoke() expects at least one Example: HPH00101 Internal error: Failed to retrieve parameter, none given the argument’s reflection object System action: Displays the warning and continues System action: PHP immediately stops interpreting interpreting the script. the file (before any statements are run) and exits. Chapter 6. PHP messages 49
  • 60. Operator response: No System Operator response is the file (before any statements are run) and exits. required. Operator response: No System Operator response is User response: PHP fail to retrieve the argument’s required. reflection object. For more information, please refer to User response: PHP cannot determine default value PHP.net. for internal functions. For more information, refer to System programmer response: No System PHP.net. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: I- An internal error not caused by Routing code: Not applicable. user (a programming error in PHP). Descriptor code: I- An internal error not caused by Automation: Not applicable. user (a programming error in PHP). Automation: Not applicable. HPH00103 Internal error: Could not find the property string HPH00108 Parameter is not optional Explanation: The property of an object could not be Explanation: In getDefaultValue() function of class found ReflectionParameter, some parameters have been string treated as optional and therefore not provided. a property that could not be found However, all parameters are required. Example: HPH00103 Internal error: Could not find the Example: HPH00108 Parameter is not optional property length System action: PHP immediately stops interpreting System action: PHP immediately stops interpreting the file (before any statements are run) and exits. the file (before any statements are run) and exits. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure all required parameters User response: Correct the usage of are provided. reflectionProperty to make sure the property matches. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits Descriptor code: F- A fatal error (PHP exits immediately). immediately). Automation: Not applicable. Automation: Not applicable. HPH00109 Internal error HPH00107 Cannot determine default value for Explanation: In the function getDefaultValue() of class internal functions ReflectionParameter, PHP encountered an internal error. Explanation: Cannot determine default value for Example: HPH00109 Internal error internal functions in getDefaultValue() function of ReflectionParameter class. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Example: HPH00107 Cannot determine default value for internal functions Operator response: No System Operator response is required. System action: PHP immediately stops interpreting 50 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 61. User response: Internal error. For more information, ABC::length does not specify a base class of aaa refer to PHP.net System action: PHP immediately stops interpreting System programmer response: No System the file (before any statements are run) and exits. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Make sure that the base class is specified. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: I- An internal error not caused by Problem determination: No additional information. user (a programming error in PHP). Source: PHP Automation: Not applicable. Module: Not applicable. HPH00110 Class string does not exist Routing code: Not applicable. Explanation: When user tries to get a class with Descriptor code: F- A fatal error (PHP exits reflection, the class does not exist immediately). string Automation: Not applicable. class name Example: HPH00110 Class ABC does not exist HPH00113 Access to non-public constructor of class string System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Explanation: Access to non-public constructor of class Operator response: No System Operator response is string required. zend class entry User response: Make sure the class exists. Example: HPH00113 Access to non-public constructor of class abc System programmer response: No System Programmer response is required. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: Make sure that only public Routing code: Not applicable. constructors of the class are accessed. Descriptor code: F- A fatal error (PHP exits System programmer response: No System immediately). Programmer response is required. Automation: Not applicable. Problem determination: No additional information. Source: PHP HPH00112 Fully qualified property name Module: Not applicable. string1::string2 does not specify a base class of string3 Routing code: Not applicable. Explanation: In function getProperty() of class Descriptor code: F- A fatal error (PHP exits ReflectionClass, the base class of the fully qualified immediately). property is not specified. Automation: Not applicable. string1 class name HPH00114 A session is active. You cannot change string2 the session module’s ini settings at property name this time. string3 Explanation: The session module’s ini settings cannot zend class entry be changed when the session is active. Example: HPH00112 Fully qualified property name Example: HPH00114 A session is active. You cannot Chapter 6. PHP messages 51
  • 62. change the session module’s ini settings at this time. Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Make sure that the serialization handler is available. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Do not change the session module’s ini settings when it is active. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: F- A fatal error (PHP exits Module: Not applicable. immediately). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00117 Unknown session.serialize_handler. Automation: Not applicable. Failed to encode session object. Explanation: The session.serialize_handler is HPH00115 Cannot find save handler string unknown. Explanation: When PHP is starting a session or Example: HPH00117 Unknown updating a save handler, the save handler cannot be session.serialize_handler. Failed to encode session found object. string System action: Displays the warning and continues the save handler that cannot be found interpreting the script. Example: HPH00115 Cannot find save handler fff Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Correct the session.serialize_handler. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Correct the name of the save handler. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00118 Cannot encode non-existent session. Automation: Not applicable. Explanation: PHP cannot encode non-existent session (function session_encode()). HPH00116 Cannot find serialization handler string Example: HPH00118 Cannot encode non-existent Explanation: PHP cannot find serialization handler session. string System action: Displays the warning and continues serialization handler interpreting the script. Example: HPH00116 Cannot find serialization handler Operator response: No System Operator response is abc required. System action: PHP immediately stops interpreting User response: Use a correct session when calling the file (before any statements are run) and exits. session_encode(). 52 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 63. System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00121 Incorrect session hash function Descriptor code: W- A warning (PHP continues). Explanation: The session hash function is incorrect. Automation: Not applicable. Example: HPH00121 Incorrect session hash function System action: PHP immediately stops interpreting HPH00119 Unknown session.serialize_handler. the file (before any statements are run) and exits. Failed to decode session object. Operator response: No System Operator response is Explanation: The session.serialize_handler is required. unknown. User response: Correct the session hash function Example: HPH00119 Unknown name. session.serialize_handler. Failed to decode session System programmer response: No System object. Programmer response is required. System action: Displays the warning and continues Problem determination: No additional information. interpreting the script. Source: PHP Operator response: No System Operator response is required. Module: Not applicable. User response: Correct the session.serialize_handler. Routing code: Not applicable. System programmer response: No System Descriptor code: F- A fatal error (PHP exits Programmer response is required. immediately). Problem determination: No additional information. Automation: Not applicable. Source: PHP HPH00122 The ini setting Module: Not applicable. hash_bits_per_character is out of Routing code: Not applicable. range (should be 4, 5, or 6) - using 4 for now Descriptor code: W- A warning (PHP continues). Explanation: The hash_bits_per_character is out of Automation: Not applicable. range. Example: HPH00122 The ini setting HPH00120 Failed to decode session object. hash_bits_per_character is out of range (should be 4, 5, Session has been destroyed. or 6) - using 4 for now Explanation: PHP failed to decode session object. System action: Displays the warning and continues Session has been destroyed. interpreting the script. Example: HPH00120 Failed to decode session object. Operator response: No System Operator response is Session has been destroyed. required. System action: Displays the warning and continues User response: Make sure hash_bits_per_character is interpreting the script. 4, 5 or 6 . Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Since the session has been Problem determination: No additional information. destroyed, PHP failed to decode session object. Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Chapter 6. PHP messages 53
  • 64. Automation: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). HPH00123 No storage module chosen - failed to Automation: Not applicable. initialize session. Explanation: When PHP is initializing session, no HPH00125 The session bug compatibility code storage module is chosen. Thus it failed to initialize the will not try to locate the global variable session. $longunsigned due to its numeric nature. Example: HPH00123 No storage module chosen - failed to initialize session. Explanation: Since the it is numeric, the session bug compatibility code will not try to locate the global System action: PHP immediately stops interpreting variable. the file (before any statements are run) and exits. longunsigned Operator response: No System Operator response is number key required. Example: HPH00125 The session bug compatibility User response: Make sure the storage module is code will not try to locate the global variable 323131434 chosen. due to its numeric nature. System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: It’s an informational notice. Routing code: Not applicable. System programmer response: No System Programmer response is required. Descriptor code: F- A fatal error (PHP exits immediately). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00124 Failed to initialize storage module: Routing code: Not applicable. string1 (path: string2) Descriptor code: N- An informational notice. Could be Explanation: Failed to initialize storage module an error or could be normal behavior. string1 Automation: Not applicable. storage module name string2 HPH00126 Your script possibly relies on a save path session side-effect which existed until Example: HPH00124 Failed to initialize storage PHP 4.2.3. Please be advised that the module: abc (path: /home/lxl/php/php512/php512pdo/ session extension does not consider sapi/cli/test_temp) global variables as a source of data, unless register_globals is enabled. You System action: PHP immediately stops interpreting can disable this functionality and this the file (before any statements are run) and exits. warning by setting Operator response: No System Operator response is session.bug_compat_42 or required. session.bug_compat_warn to off, respectively. User response: Not applicable. Explanation: The script possibly relies on a session System programmer response: No System side-effect which existed until PHP 4.2.3 . Programmer response is required. Example: HPH00126 Your script possibly relies on a Problem determination: No additional information. session side-effect which existed until PHP 4.2.3. Source: PHP Please be advised that the session extension does not consider global variables as a source of data, unless Module: Not applicable. register_globals is enabled. You can disable this Routing code: Not applicable. functionality and this warning by setting 54 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 65. session.bug_compat_42 or session.bug_compat_warn HPH00128 Cannot send session cache limiter - to off, respectively. headers already sent (output started at System action: Displays the warning and continues string:integer) interpreting the script. Explanation: The session cache limiter cannot be Operator response: No System Operator response is sent, possibly because the session has been committed required. string User response: Either disable this functionality or this the script location warning. integer System programmer response: No System line number of the script that output this warning Programmer response is required. Example: HPH00128 Cannot send session cache Problem determination: No additional information. limiter - headers already sent (output started at /home/lxl/php/php512/php512pdo/sapi/cli/ Source: PHP test_temp.php:4) Module: Not applicable. System action: Displays the warning and continues Routing code: Not applicable. interpreting the script. Descriptor code: W- A warning (PHP continues). Operator response: No System Operator response is required. Automation: Not applicable. User response: Correct the use of session functions. HPH00127 Failed to write session data (string). System programmer response: No System Please verify that the current setting of Programmer response is required. session.save_path is correct (string) Problem determination: No additional information. Explanation: The session.save_path is incorrect, so it Source: PHP failed to write session data. Module: Not applicable. string session name Routing code: Not applicable. string Descriptor code: W- A warning (PHP continues). incorrect session.save_path Automation: Not applicable. Example: HPH00127 Failed to write session data (files). Please verify that the current setting of HPH00129 Cannot send session cache limiter - session.save_path is correct (ffdsf) headers already sent System action: Displays the warning and continues Explanation: The session cache limiter cannot be interpreting the script. sent, possibly because the session has been Operator response: No System Operator response is committed. required. Example: HPH00129 Cannot send session cache User response: Correct the session.save path . limiter - headers already sent System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is required. Source: PHP User response: Correct the use of session functions. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Chapter 6. PHP messages 55
  • 66. Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00130 Cannot send session cookie - headers Descriptor code: W- A warning (PHP continues). already sent by (output started at string:integer) Automation: Not applicable. Explanation: The session cookie cannot be sent, possibly because the old session has ended or a new HPH00133 Cannot find unknown save handler session has started Explanation: When starting a session or updating a string save handler, the save handler cannot be found. the script location Example: HPH00133 Cannot find unknown save integer handler line number of the script that output this warning System action: Displays the warning and continues Example: HPH00130 Cannot send session cookie - interpreting the script. headers already sent by (output started at /home/lxl/php/php512/php512pdo/sapi/cli/ Operator response: No System Operator response is test_temp.php:4) required. System action: Displays the warning and continues User response: Correct the name of the save handler. interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Correct the use of the session Source: PHP functions. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. HPH00134 A session had already been started - Routing code: Not applicable. ignoring session_start() Descriptor code: W- A warning (PHP continues). Explanation: A session had already been started, so Automation: Not applicable. this session_start() is ignored. Example: HPH00134 A session had already been HPH00131 Cannot send session cookie - headers started - ignoring session_start() already sent System action: Displays the warning and continues Explanation: The session cookie cannot be sent, interpreting the script. possibly because the old session has ended or a new Operator response: No System Operator response is session has started. required. Example: HPH00131 Cannot send session cookie - User response: Do not run session_start() again until headers already sent the first session has ended. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Correct the use of the session functions. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: N- An informational notice. Could be Problem determination: No additional information. an error or could be normal behavior. Source: PHP Automation: Not applicable. 56 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 67. Operator response: No System Operator response is HPH00135 --removed, because this statement is required. under #if 0 User response: Not applicable. Explanation: System programmer response: No System Example: HPH00135 purged %d expired session Programmer response is required. objects Problem determination: No additional information. System action: Source: PHP Operator response: No System Operator response is required. Module: Not applicable. User response: Routing code: Not applicable. System programmer response: No System Descriptor code: W- A warning (PHP continues). Programmer response is required. Automation: Not applicable. Problem determination: No additional information. Source: PHP HPH00138 Cannot find named PHP session module (string) Module: Not applicable. Explanation: The session module cannot be found Routing code: Not applicable. string Descriptor code: session module that cannot be found Automation: Not applicable. Example: HPH00138 Cannot find named PHP session module (haha) HPH00136 Trying to destroy uninitialized session System action: PHP immediately stops interpreting Explanation: An uninitialized session cannot be the file (before any statements are run) and exits. destroyed. Operator response: No System Operator response is Example: HPH00136 Trying to destroy uninitialized required. session User response: Correct the session module name. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Initialize the session first, or do not destroy it when it is uninitialized. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: F- A fatal error (PHP exits Problem determination: No additional information. immediately). Source: PHP Automation: Not applicable. Module: Not applicable. HPH00139 Argument integer is not a valid callback Routing code: Not applicable. Explanation: The argument is not a callable function. Descriptor code: W- A warning (PHP continues). integer Automation: Not applicable. incorrect argument number Example: HPH00139 Argument 1 is not a valid HPH00137 Session object destruction failed callback Explanation: Session object destruction failed when System action: Displays the warning and continues running function php_session_destory(). interpreting the script. Example: HPH00137 Session object destruction failed Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. Chapter 6. PHP messages 57
  • 68. User response: Correct the callback function or Operator response: No System Operator response is correct the argument. required. System programmer response: No System User response: Correct it according to the error Programmer response is required. message. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00141 The session id contains illegal Automation: Not applicable. characters, valid characters are a-z, A-Z, 0-9 and ’-,’ HPH00143 open(string, O_RDWR) failed: string Explanation: The session id contains illegal (integer) characters. Explanation: Open session file failed Example: HPH00141 The session id contains illegal string characters, valid characters are a-z, A-Z, 0-9 and ’-,’ session file path System action: Displays the warning and continues string interpreting the script. error string Operator response: No System Operator response is integer required. error number User response: Make sure that the session id is Example: HPH00143 open(/u/quans/tmp2/ composed of valid characters. sess_f99942c3fb1ef350e6a5cfb17df8d666, O_RDWR) System programmer response: No System failed: No such file or directory (2) Programmer response is required. System action: Displays the warning and continues Problem determination: No additional information. interpreting the script. Source: PHP Operator response: No System Operator response is required. Module: Not applicable. User response: Correct the path of the session file. Routing code: Not applicable. System programmer response: No System Descriptor code: W- A warning (PHP continues). Programmer response is required. Automation: Not applicable. Problem determination: No additional information. Source: PHP HPH00142 fcntl(integer1, F_SETFD, FD_CLOEXEC) failed: string (integer2) Module: Not applicable. Explanation: Function fcntl() failed. Routing code: Not applicable. integer1 Descriptor code: W- A warning (PHP continues). file descriptor Automation: Not applicable. string error string HPH00144 ps_files_cleanup_dir: opendir(string1) integer2 failed: string2 (integer) error number Explanation: ps_files_cleanup_dir: opendir failed Example: HPH00142 fcntl(6, F_SETFD, string1 FD_CLOEXEC) failed: something is wrong (11) directory name System action: Displays the warning and continues string2 interpreting the script. error string 58 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 69. integer HPH00146 read returned less bytes than error number requested Example: HPH00144 ps_files_cleanup_dir: Explanation: Function read() returned less bytes than opendir(/home/lxl/abc) failed: something is wrong (11) requested. System action: Displays the warning and continues Example: HPH00146 read returned less bytes than interpreting the script. requested Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Correct it according to the error Operator response: No System Operator response is message. required. System programmer response: No System User response: Not applicable. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: N- An informational notice. Could be Routing code: Not applicable. an error or could be normal behavior. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00145 read failed: string (integer) HPH00147 write failed: string (integer) Explanation: Function read() failed. Explanation: Function write() failed string error string string error string integer error number integer error number Example: HPH00145 read failed: something is wrong (11) Example: HPH00147 write failed: something is wrong (11) System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Correct it according to the error message User response: Correct it according to the error message. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. Chapter 6. PHP messages 59
  • 70. HPH00148 write() wrote less bytes than requested HPH00150 Cannot allocate new data segment Explanation: Function write() wrote less bytes than Explanation: PHP cannot allocate new data segment. requested. Example: HPH00150 cannot allocate new data Example: HPH00148 write wrote less bytes than segment requested System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure that mm_malloc() is User response: Not applicable. successful. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00149 mm_malloc() failed, avail integer, err HPH00151 Class string1 does not existstring2 string Explanation: The class does not exist Explanation: mm_malloc() failed string1 integer nonexistant class name string string2 mm error string whether it is autoloaded Example: HPH00149 mm_malloc failed, avail 12, err Example: HPH00151 Class abc does not exist and some error could not be loaded System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Correct it according to the error User response: Provide an existing class name. string. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. 60 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 71. Example: HPH00155 Passed array specifies a non HPH00152 Object or string expected static method but no object Explanation: A wrong argument type was given, but System action: Displays the warning and continues an object or string was expected. interpreting the script. Example: HPH00152 Object or string expected Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Correct the passed array of Operator response: No System Operator response is spl_autoload_register() . required. System programmer response: No System User response: Provide an argument of type object or Programmer response is required. string. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: F- A fatal error (PHP exits Module: Not applicable. immediately). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00156 Passed array does not specify string stringmethod HPH00154 Class string could not be loaded Explanation: The passed array is not correct, because it does not specify a certain method. Explanation: The class could not be loaded string string callable or existing class name that could not be loaded string Example: HPH00154 Class CL could not be loaded static or not System action: PHP immediately stops interpreting Example: HPH00156 Passed array does not specify a the file (before any statements are run) and exits. callable static method Operator response: No System Operator response is System action: PHP immediately stops interpreting required. the file (before any statements are run) and exits. User response: Provide a correct class name. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Correct the passed array of function Problem determination: No additional information. spl_autoload_register() . Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: F- A fatal error (PHP exits immediately). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits HPH00155 Passed array specifies a non static immediately). method but no object Automation: Not applicable. Explanation: The passed array was wrong, because it specifies a non static method of a class which is not instantized. Chapter 6. PHP messages 61
  • 72. HPH00157 Function ’functionname’ not string HPH00160 Method classname::method() does not exist Explanation: Function cannot normally work or is not correctly defined. Explanation: Method does not exist functionname classname Name of the function Name of class string method callable or existing A method of class Example: HPH00157 Function ’abc’ not callable Example: HPH00160 Method foo::foo1() does not exist System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Make sure the function exists and is correctly defined. User response: Make sure the class and the method exists. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00158 Illegal value passed HPH00161 Unable to call classname::method() Explanation: Illegal value passed. Explanation: Unable to call a method. An error Example: HPH00158 Illegal value passed occured when the method was called. System action: Displays the warning and continues classname interpreting the script. Name of the class Operator response: No System Operator response is method required. A method of class User response: Make sure the parameters are the Example: HPH00161 Unable to call foo::foo1() correct types. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Make sure the method is correct. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. 62 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 73. HPH00162 The inner constructor was not HPH00164 An instance of RecursiveIterator or initialized with an iterator instance IteratorAggregate creating it is required Explanation: The inner constructor was not initialized with an iterator instance. Explanation: An instance of RecursiveIterator or IteratorAggregate creating it is required. Example: HPH00162 The inner constructor wasn’t initialized with an iterator instance Example: HPH00164 An instance of RecursiveIterator or IteratorAggregate creating it is required System action: PHP immediately stops interpreting the file (before any statements are run) and exits. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Review the PHP bug report PHP bug 33901 . Make sure to avoid coding PHP in the same User response: Make sure the RecursiveIterator or manner as presented in the example. IteratorAggregate contains an instance. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits Descriptor code: F- A fatal error (PHP exits immediately). immediately). Automation: Not applicable. Automation: Not applicable. HPH00163 Objects returned by HPH00165 Parameter max_depth must be >= -1 RecursiveIterator::getChildren() must Explanation: Parameter max_depth must be >= -1 implement RecursiveIterator Example: HPH00165 Parameter max_depth must be Explanation: Objects returned by >= -1 RecursiveIterator::getChildren() must implement RecursiveIterator. System action: Displays the warning and continues interpreting the script. Example: HPH00163 Objects returned by RecursiveIterator::getChildren() must implement Operator response: No System Operator response is RecursiveIterator required. System action: PHP immediately stops interpreting User response: Make sure the max_depth is not less the file (before any statements are run) and exits. than -1 Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Implement RecursiveIterator if objects Problem determination: No additional information. are returned by RecursiveIterator:getChildren(). Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). Automation: Not applicable. Chapter 6. PHP messages 63
  • 74. Example: HPH00168 Flags must contain only one of HPH00166 Parameter offset must be > 0 CIT_CALL_TOSTRING, CIT_TOSTRING_USE_KEY, Explanation: Parameter offset must be > 0 CIT_TOSTRING_USE_CURRENT Example: HPH00166 Parameter offset must be > 0 System action: PHP immediately stops interpreting the file (before any statements are run) and exits. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Make sure the flags contain only one of CIT_CALL_TOSTRING, CIT_TOSTRING_USE_KEY, User response: Make sure the offset is greater than 0 CIT_TOSTRING_USE_CURRENT System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00167 Parameter count must either be -1 or a HPH00169 Class to downcast to not found or not value greater than or equal 0 base class or does not implement Explanation: Parameter count must either be -1 or a Traversable value greater than or equal to 0 Explanation: Class to downcast to not found or not Example: HPH00167 Parameter count must either be base class or does not implement Traversable -1 or a value greater than or equal 0 Example: HPH00169 Class to downcast to not found System action: Displays the warning and continues or not base class or does not implement Traversable interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Make sure parameter count is -1 or a required. value greater than or equal to 0 User response: Make sure the class to downcast System programmer response: No System exists and is base class and also is implements Programmer response is required. Traversable. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00168 Flags must contain only one of Automation: Not applicable. CIT_CALL_TOSTRING, CIT_TOSTRING_USE_KEY, HPH00170 classname::getIterator() must return an CIT_TOSTRING_USE_CURRENT object that implements Traversable Explanation: Flags must contain only one of Explanation: getIterator() must return an object that CIT_CALL_TOSTRING, CIT_TOSTRING_USE_KEY, implememnts Traversable CIT_TOSTRING_USE_CURRENT 64 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 75. classname HPH00172 Cannot seek to position which is behind Name of class offest offset plus count count Example: HPH00170 foo::getIterator() must return an Explanation: Cannot seek to the position. The position object that implements Traversable is behind offset plus count. System action: Displays the warning and continues position interpreting the script. The number of the position Operator response: No System Operator response is Offset required. The number of the offset User response: Make sure the getIterator() method Count returns an object that implements Traversable. The number of the count System programmer response: No System Example: HPH00172 Cannot seek to 2 which is Programmer response is required. behind offest 3plus count 4 Problem determination: No additional information. System action: Displays the warning and continues Source: PHP interpreting the script. Module: Not applicable. Operator response: No System Operator response is required. Routing code: Not applicable. User response: Make sure the position and offset Descriptor code: W- A warning (PHP continues). parameters are correct in LimitIterator::seek. Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00171 Cannot seek to position which is below Problem determination: No additional information. the offset offset Source: PHP Explanation: Cannot seek to certain position. Module: Not applicable. position The number of position Routing code: Not applicable. offset Descriptor code: W- A warning (PHP continues). The number of offset Automation: Not applicable. Example: HPH00171 Cannot seek to 2 which is below the offset 5 HPH00173 Class does not fetch string value (see System action: Displays the warning and continues CachingIterator::__construct) interpreting the script. Explanation: Class does not fetch string value. Operator response: No System Operator response is class required. Class name User response: Make sure the position and offset Example: HPH00173 Foo does not fetch string value parameters are correct in LimitIterator::seek. (see CachingIterator::__construct) System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: Please refer to PHP official web site for latest information. Since it is possibly a PHP bug if Routing code: Not applicable. you see this message. Descriptor code: W- A warning (PHP continues). System programmer response: No System Automation: Not applicable. Programmer response is required. Problem determination: No additional information. Source: PHP Module: Not applicable. Chapter 6. PHP messages 65
  • 76. Routing code: Not applicable. HPH00176 Internal compiler error, Class is not Descriptor code: I- An internal error not caused by child of ArrayObject or arrayIterator user (a programming error in PHP). Explanation: Internal compiler error, Class is not child Automation: Not applicable. of ArrayObject or arrayIterator Example: HPH00176 Internal compiler error, Class is HPH00174 Accessing the key of an EmptyIterator not child of ArrayObject or arrayIterator Explanation: Accessing the key of an EmptyIterator System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Example: HPH00174 Accessing the key of an EmptyIterator Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Please report a php bug at PHP official web site Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Make sure not to access the key of an EmptyIterator. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: I- An internal error not caused by Module: Not applicable. user (a programming error in PHP). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00177 Array was modified outside object and Automation: Not applicable. is no longer an array Explanation: Array was modified outside object and is HPH00175 Accessing the value of an no longer an array EmptyIterator Example: HPH00177 Array was modified outside Explanation: Accessing the value of an EmptyIterator object and is no longer an array Example: HPH00175 Accessing the value of an System action: Displays the warning and continues EmptyIterator interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Make sure the array is correctly required. modified outside object or do not modify array outside User response: Make sure not to access the value of object. an EmptyIterator System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: N- An informational notice. Could be Descriptor code: W- A warning (PHP continues). an error or could be normal behavior. Automation: Not applicable. Automation: Not applicable. 66 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 77. HPH00178 Cannot append properties to objects, HPH00180 ArrayIterator::valid(): Array was use class::offsetSet() instead modified outside object and is no longer an array Explanation: Can not append properties to objects. Explanation: Array was modified outside object and is class no longer an array Name of class Example: HPH00180 ArrayIterator::valid(): Array was Example: HPH00178 Cannot append properties to modified outside object and is no longer an array objects, use foo::offsetSet() instead System action: Displays the warning and continues System action: PHP immediately stops interpreting interpreting the script. the file (before any statements are run) and exits. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure the array is correctly User response: Use class::offsetSet() instead. modified outside object or do not modify array outside System programmer response: No System object. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: F- A fatal error (PHP exits Routing code: Not applicable. immediately). Descriptor code: N- An informational notice. Could be Automation: Not applicable. an error or could be normal behavior. Automation: Not applicable. HPH00179 Array was modified outside object and internal position is no longer valid HPH00181 ArrayIterator::valid(): Array was Explanation: Array was modified outside object and modified outside object and internal internal position is no longer valid position is no longer valid Example: HPH00179 Array was modified outside Explanation: Array was modified outside object and object and internal position is no longer valid internal position is no longer valid System action: Displays the warning and continues Example: HPH00181 ArrayIterator::valid(): Array was interpreting the script. modified outside object and internal position is no longer valid Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Make sure the array is correctly modified outside object or do not modify array outside Operator response: No System Operator response is object. required. System programmer response: No System User response: Make sure the array is correctly Programmer response is required. modified outside object or do not modify array outside object. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: N- An informational notice. Could be Module: Not applicable. an error or could be normal behavior. Routing code: Not applicable. Automation: Not applicable. Descriptor code: N- An informational notice. Could be an error or could be normal behavior. Chapter 6. PHP messages 67
  • 78. Automation: Not applicable. Descriptor code: N- An informational notice. Could be an error or could be normal behavior. HPH00182 ArrayIterator::current(): Array was Automation: Not applicable. modified outside object and is no longer an array HPH00185 ArrayIterator::next(): Array was Explanation: Array was modified outside object and is modified outside object and internal no longer an array position is no longer valid Example: HPH00182 ArrayIterator::current(): Array Explanation: Array was modified outside object and was modified outside object and is no longer an array internal position is no longer valid System action: Displays the warning and continues Example: HPH00185 ArrayIterator::next(): Array was interpreting the script. modified outside object and internal position is no longer valid Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Make sure the array is correctly modified outside object or do not modify array outside Operator response: No System Operator response is object. required. System programmer response: No System User response: Make sure the array is correctly Programmer response is required. modified outside object or do not modify array outside object. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: N- An informational notice. Could be Module: Not applicable. an error or could be normal behavior. Routing code: Not applicable. Automation: Not applicable. Descriptor code: N- An informational notice. Could be an error or could be normal behavior. HPH00183 ArrayIterator::current(): Array was modified outside object and internal Automation: Not applicable. position is no longer valid Explanation: Array was modified outside object and HPH00186 ArrayIterator::rewind(): Array was internal position is no longer valid modified outside object and is no longer an array Example: HPH00183 ArrayIterator::current(): Array was modified outside object and internal position is no Explanation: Array was modified outside object and is longer valid no longer an array System action: Displays the warning and continues Example: HPH00186 ArrayIterator::rewind(): Array was interpreting the script. modified outside object and is no longer an array Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Make sure the array is correctly Operator response: No System Operator response is modified outside object or do not modify array outside required. object. User response: Make sure the array is correctly System programmer response: No System modified outside object or do not modify array outside Programmer response is required. object. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. 68 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 79. Routing code: Not applicable. HPH00203 Undefined offset: long Descriptor code: N- An informational notice. Could be Explanation: PHP encountered an undefined offset an error or could be normal behavior. long Automation: Not applicable. an offset Example: HPH00203 Undefined offset: %ld HPH00201 Empty regular expression System action: Displays the warning and continues Explanation: System gets to the end without interpreting the script. encountering a delimiter. Operator response: No System Operator response is Example: HPH00201 Empty regular expression required. System action: Displays the warning and continues User response: Make sure the offset has been interpreting the script. defined. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Make sure the regular expression is Problem determination: No additional information. not empty. Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: N- An informational notice. Could be an error or could be normal behavior. Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00204 Illegal offset type Automation: Not applicable. Explanation: PHP encountered an illegal offset type. Example: HPH00204 Illegal offset type HPH00202 Undefined index: string System action: Displays the warning and continues Explanation: PHP encountered an undefined index: interpreting the script. string Operator response: No System Operator response is an index name required. Example: HPH00202 Undefined index: User response: Make sure the offset type is either HTTP_USER_AGENT string, double, bool, resource, or long. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Make sure the index has been defined. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00211 An offset must not begin with 0 or be empty Routing code: Not applicable. Explanation: An offset must not begin with 0 or be Descriptor code: N- An informational notice. Could be empty. an error or could be normal behavior. Example: HPH00211 An offset must not begin with 0 Automation: Not applicable. or be empty Chapter 6. PHP messages 69
  • 80. System action: PHP immediately stops interpreting Operator response: No System Operator response is the file (before any statements are run) and exits. required. Operator response: No System Operator response is User response: Make sure the passed variable is an required. array or object. User response: Make sure the offset is correct.. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). Descriptor code: F- A fatal error (PHP exits immediately). Automation: Not applicable. Automation: Not applicable. HPH00214 Overloaded object of type string1 is not compatible with string2 HPH00212 A class that implements Iterator must be specified Explanation: PHP encountered the overload object, the type of which was not compatible with the origin Explanation: A class that implements Iterator must be specified. string1 an array name Example: HPH00212 A class that implements Iterator must be specified string2 overloaded object name System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Example: HPH00214 Overloaded object of type testa is not compatible with testb Operator response: No System Operator response is required. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. User response: Make sure the class that implements Iterator is specified. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Make sure the overloaded object has the same type with the original object. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: F- A fatal error (PHP exits Module: Not applicable. immediately). Routing code: Not applicable. Automation: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). HPH00213 Passed variable is not an array or object; using empty array instead Automation: Not applicable. Explanation: Passed variable is not an array or object; using empty array instead. HPH00217 Seek position long is out of range Example: HPH00213 Passed variable is not an array Explanation: An error occurred when a result of or object, using empty array instead position is out of range System action: PHP immediately stops interpreting long the file (before any statements are run) and exits. seek position Example: HPH00217 Seek position 5 is out of range 70 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 81. System action: PHP immediately stops interpreting User response: Make sure not to clone an object of the file (before any statements are run) and exits. this class. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Make sure the position is within Problem determination: No additional information. range. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: F- A fatal error (PHP exits Source: PHP immediately). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits HPH00220 Cannot open file string immediately). Explanation: Cannot open file Automation: Not applicable. string a file name HPH00218 Object not initialized Example: HPH00220 Cannot open file test.txt Explanation: The object was not initialized. System action: PHP immediately stops interpreting Example: HPH00218 Object not initialized the file (before any statements are run) and exits. System action: PHP immediately stops interpreting Operator response: No System Operator response is the file (before any statements are run) and exits. required. Operator response: No System Operator response is User response: Make sure the file is available. required. System programmer response: No System User response: Make sure the object is initialized. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: F- A fatal error (PHP exits Routing code: Not applicable. immediately). Descriptor code: F- A fatal error (PHP exits Automation: Not applicable. immediately). Automation: Not applicable. HPH00221 Cannot create SplFileInfo for empty path HPH00219 An object of class string cannot be Explanation: PHP cannot create ’SplFileInfo’ for an cloned empty path. Explanation: An object of a class cannot be cloned Example: HPH00221 Cannot create SplFileInfo for empty path string an offset System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Example: HPH00219 An object of class test_class cannot be cloned Operator response: No System Operator response is required. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. User response: Ensure the given path is correct. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. Chapter 6. PHP messages 71
  • 82. Problem determination: No additional information. Automation: Not applicable. Source: PHP HPH00224 Cannot read from file string Module: Not applicable. Explanation: PHP cannot read from a file. Routing code: Not applicable. string Descriptor code: F- A fatal error (PHP exits a file name immediately). Example: HPH00224 Cannot read from file test.txt Automation: Not applicable. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. HPH00222 Could not open file Operator response: No System Operator response is Explanation: PHP could not open a file. required. Example: HPH00222 Could not open file User response: Make sure the file is correct. System action: PHP immediately stops interpreting System programmer response: No System the file (before any statements are run) and exits. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Make sure the file is correct. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: F- A fatal error (PHP exits immediately). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00226 Cannot rewind file string Descriptor code: F- A fatal error (PHP exits Explanation: PHP cannot rewind a file. immediately). string Automation: Not applicable. a file name Example: HPH00226 Cannot rewind file test2.txt HPH00223 Operation not supported System action: PHP immediately stops interpreting Explanation: PHP encountered a path when looking the file (before any statements are run) and exits. for a file. Operator response: No System Operator response is Example: HPH00223 Operation not supported required. System action: PHP immediately stops interpreting User response: Make sure the file is correct. the file (before any statements are run) and exits. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Make sure the given parameter is a file and not a path. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: F- A fatal error (PHP exits Source: PHP immediately). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). 72 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 83. HPH00227 Maximum line length must be greater HPH00229 Cannot seek file string to negative line than or equal zero long Explanation: The maximum line length was less than Explanation: PHP encountered a negative line zero. number when it seeked a file Example: HPH00227 Maximum line length must be string greater than or equal zero a file name System action: PHP immediately stops interpreting long the file (before any statements are run) and exits. a file line no Operator response: No System Operator response is Example: HPH00229 Can’t seek file test.txt to required. negative line -2 User response: Make sure the maximum line length is System action: PHP immediately stops interpreting greater than or equal to zero. the file (before any statements are run) and exits. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Make sure the line number is not a negative value. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: F- A fatal error (PHP exits Source: PHP immediately). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH00228 Cannot truncate file string Descriptor code: F- A fatal error (PHP exits immediately). Explanation: PHP cannot truncate a file Automation: Not applicable. string a file name HPH00230 -Removed Example: HPH00228 Can’t truncate file test.txt Explanation: -Removed System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Example: -Removed Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Make sure the file is correct. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: -Removed Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). Routing code: Not applicable. Automation: Not applicable. Descriptor code: Automation: Not applicable. Chapter 6. PHP messages 73
  • 84. System action: Displays the warning and continues HPH00231 The argument should be an array interpreting the script. Explanation: The type of an argument should be an Operator response: No System Operator response is array. required. Example: HPH00231 The argument should be an User response: Pass a parameter of type array or array object. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Make sure that the argument is an array. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00242 At least one value should be passed Routing code: Not applicable. Explanation: PHP needs at least one parameter, but none was passed. Descriptor code: W- A warning (PHP continues). Example: HPH00242 At least one value should be Automation: Not applicable. passed System action: Displays the warning and continues HPH00232 Invalid comparison function. interpreting the script. Explanation: PHP encountered an invalid comparison Operator response: No System Operator response is function while trying to compare arrays. required. Example: HPH00232 Invalid comparison function. User response: Pass one or more parameters to the System action: Displays the warning and continues related function. interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Ensure that a valid comparison Source: PHP function is defined before trying to compare arrays. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. HPH00243 Array must contain at least one Routing code: Not applicable. element Descriptor code: W- A warning (PHP continues). Explanation: The parameter type is array, but the Automation: Not applicable. passed array contains no elements. Example: HPH00243 Array must contain at least one HPH00236 Passed variable is not an array or element object System action: Displays the warning and continues Explanation: PHP set the pointer to an incorrect interpreting the script. parameter, whose type is not array or object. Operator response: No System Operator response is Example: HPH00236 Passed variable is not an array required. or object 74 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 85. User response: Add data to the passed array, or use Routing code: Not applicable. another array. Descriptor code: W- A warning (PHP continues). System programmer response: No System Automation: Not applicable. Programmer response is required. Problem determination: No additional information. HPH00248 Unable to call string() - function does Source: PHP not exist Module: Not applicable. Explanation: PHP encountered an invoked function which did not exist. Routing code: Not applicable. string Descriptor code: W- A warning (PHP continues). a function name Automation: Not applicable. Example: HPH00248 Unable to call test_alter1() - function does not exist HPH00246 recursion detected System action: Displays the warning and continues Explanation: PHP encountered recursion interpreting the script. Example: HPH00246 recursion detected Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Make sure the function you invoked exists. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Ensure the function does not have the recursion. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00250 Wrong syntax for function name Automation: Not applicable. Explanation: PHP encountered a function whose parameter should be a function name, or the type of the name is wrong. HPH00247 Unable to call %s() Example: HPH00250 Wrong syntax for function name Explanation: An error occured when a static function was called, and a callback function was expected. System action: Displays the warning and continues interpreting the script. Example: HPH00247 Unable to call %s() Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Correct the type of the function name Operator response: No System Operator response is parameter so that it is a string or array one. required. System programmer response: No System User response: Define a callback function to replace Programmer response is required. the static function. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Chapter 6. PHP messages 75
  • 86. Automation: Not applicable. HPH00255 Unknown extract type Explanation: PHP encountered an extract function HPH00253 Wrong datatype for second argument with an unknown extract type. Explanation: PHP encountered a function that has the Example: HPH00255 Unknown extract type wrong datatype for its second argument. System action: Displays the warning and continues Example: HPH00253 Wrong datatype for second interpreting the script. argument Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Change the parameter to a valid Operator response: No System Operator response is extract type. required. System programmer response: No System User response: Change the second argument so that Programmer response is required. it has the proper datatype. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00256 First argument should be an array Automation: Not applicable. Explanation: PHP encountered an extract function whose first argument is not an array. HPH00254 Prefix expected to be specified Example: HPH00256 First argument should be an Explanation: PHP encountered an extract function array that does not specify its prefix, even though it is required. System action: Displays the warning and continues interpreting the script. Example: HPH00254 Prefix expected to be specified Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Change the extract function’s first Operator response: No System Operator response is argument so that it is a proper array. required. System programmer response: No System User response: Specify the prefix to Programmer response is required. EXTR_OVERWRITE, EXTR_SKIP or EXTR_IF_EXISTS. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00257 Wrong data type for start key Automation: Not applicable. Explanation: PHP encountered an array_fill function that has the wrong data type for the first argument. Example: HPH00257 Wrong data type for start key System action: Displays the warning and continues interpreting the script. 76 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 87. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Change the first argument so that it Problem determination: No additional information. has a proper data type. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00262 The first argument should be an array Descriptor code: W- A warning (PHP continues). Explanation: A function that requires an array as the Automation: Not applicable. first argument was passed some other data type. Example: HPH00262 The first argument should be an HPH00258 Number of elements must be positive array Explanation: PHP encountered an array_fill function System action: Displays the warning and continues where the second argument is a number less than zero. interpreting the script. Example: HPH00258 Number of elements must be Operator response: No System Operator response is positive required. System action: Displays the warning and continues User response: Change the first argument so that it is interpreting the script. an array. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Change the second argument value Problem determination: No additional information. to a number greater than zero. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00266 Argument #integer is not an array Descriptor code: W- A warning (PHP continues). Explanation: PHP encountered a function that Automation: Not applicable. requires certain arguments to be arrays, but at least one of them is not. HPH00259 step exceeds the specified range integer The argument number Explanation: PHP encountered a range function where the step parameter is greater than the range of the elements. Example: HPH00266 Argument #4 is not an array Example: HPH00259 step exceeds the specified System action: Displays the warning and continues range interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Change the specified argument so required. that it is an array. User response: Change the step parameter of the System programmer response: No System range function so that it is smaller than the range of the Programmer response is required. elements. Chapter 6. PHP messages 77
  • 88. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH00275 Can only flip STRING and INTEGER Descriptor code: W- A warning (PHP continues). values! Automation: Not applicable. Explanation: PHP encountered an array_flip function whose array input values are not integers or strings. HPH00270 Can only count STRING and INTEGER Example: HPH00275 Can only flip STRING and values! INTEGER values! Explanation: PHP encountered array_count_values System action: Displays the warning and continues function whose array input values are not integers or interpreting the script. strings. Operator response: No System Operator response is Example: HPH00270 Can only count STRING and required. INTEGER values! User response: Change the array input values so that System action: Displays the warning and continues they are integers or strings. interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Change the array input values so that they are integers or strings. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00278 Not a valid callback string Descriptor code: W- A warning (PHP continues). Explanation: PHP encountered a function that has an incorrect callback. Automation: Not applicable. string The callback function name HPH00273 You may only pad up to 1048576 elements at a time Explanation: PHP encountered an array_pad function Example: HPH00278 Not a valid callback that pads more than 1048576 elements at a time. badfuncname Example: HPH00273 You may only pad up to System action: Displays the warning and continues 1048576 elements at a time interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Change the callback function to a required. valid one. User response: Change the pad_size parameter so System programmer response: No System that it is less than 1048576(0x100000). Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. 78 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 89. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00279 data_compare_type is integer. This Routing code: Not applicable. should never happen. Please report as a bug Descriptor code: W- A warning (PHP continues). Explanation: PHP encountered a strange data type Automation: Not applicable. integer a data type HPH00285 behavior is integer. This should never happen. Please report as a bug Example: HPH00279 data_compare_type is 9. This should never happen. Please report as a bug Explanation: PHP encountered a strange behavior System action: Displays the warning and continues integer interpreting the script. a behavior Operator response: No System Operator response is Example: HPH00285 behavior is 9. This should never required. happen. Please report as a bug User response: This should never happen.If it System action: Displays the warning and continues happens please report as a bug. interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: This should never happen, or please report it as a bug. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00284 data_compare_type is integer1. key_compare_type is integer2. This Descriptor code: W- A warning (PHP continues). should never happen. Please report as a bug. Automation: Not applicable. Explanation: PHP encountered a strange data type and a strange key type HPH00296 Argument #integer is expected to be an array or sorting flag that has not integer1 already been specified a data type Explanation: PHP encountered an array_multisort integer2 function whose argument is an array or sorting flag that a key type has already been specified. Example: HPH00284 data_compare_type is 9. integer key_compare_type is 9. This should never happen. The argument number Please report as a bug. System action: Displays the warning and continues interpreting the script. Example: HPH00296 Argument #1 is expected to be an array or sorting flag that has not already been Operator response: No System Operator response is specified required. System action: Displays the warning and continues User response: This should never happen, or please interpreting the script. report it as a bug. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Change the argument so that it is an Chapter 6. PHP messages 79
  • 90. array or sorting flag that has not already been specified. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Change the argument to be an array or a sort flag. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00298 Argument #integer is an unknown sort flag Automation: Not applicable. Explanation: PHP encountered an array_multisort function whose argument is an unknown sort flag. HPH00300 Array sizes are inconsistent integer Explanation: PHP encountered an array_multisort The argument number function where the input arrays have different number of elements. Example: HPH00300 Array sizes are inconsistent Example: HPH00298 Argument #2 is an unknown sort flag System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Change the input arrays so that they have an equal number of elements. User response: Change the argument so that it is a sort flag PHP can identify. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00301 First argument has to be an array HPH00299 Argument #integer is expected to be an Explanation: PHP encountered an array_rand function array or a sort flag whose first argument is not an array. Explanation: PHP encountered ann array_multisort Example: HPH00301 First argument has to be an function whose argument is not an array or a sort flag. array integer System action: Displays the warning and continues The argument number interpreting the script. Operator response: No System Operator response is required. Example: HPH00299 Argument #2 is expected to be an array or a sort flag User response: Change the first argument so that it is an array. System action: Displays the warning and continues interpreting the script. System programmer response: No System Programmer response is required. 80 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 91. Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00302 Second argument must be between 1 and the number of elements in the HPH00307 An error occurred while invoking the array reduction callback Explanation: PHP encountered an array_rand function Explanation: An error occurred while invoking the whose second argument value is out of the array range. reduction callback Example: HPH00302 Second argument has to be Example: HPH00307 An error occurred while invoking between 1 and the number of elements in the array the reduction callback System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Change the second argument so that User response: Make sure the reduction callback its value is between 1 and the number of elements in function exists and is correct . the array. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00310 An error occurred while invoking the HPH00306 The second argument, ’string’, should filter callback be a valid callback Explanation: An error occurred while invoking the filter Explanation: PHP encountered a function whose callback second argument should be a valid callback, but is not. Example: HPH00310 An error occurred while invoking string the filter callback The callback function name System action: Displays the warning and continues interpreting the script. Example: HPH00306 The second argument, ’no_func’, Operator response: No System Operator response is should be a valid callback required. System action: Displays the warning and continues User response: Ensure the filter callback function interpreting the script. exists and is correct. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Change the second argument so that Problem determination: No additional information. it is a valid callback. Source: PHP System programmer response: No System Chapter 6. PHP messages 81
  • 92. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00311 The first argument, ’string’, should be Automation: Not applicable. either NULL or a valid callback Explanation: PHP encountered array_map function HPH00313 An error occurred while invoking the whose first argument should be but is not NULL or a map callback valid callback. Explanation: An error occurred while invoking the string map callback The first argument Example: HPH00313 An error occurred while invoking the map callback Example: HPH00311 The first argument, ’Array’, System action: Displays the warning and continues should be either NULL or a valid callback interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Ensure the map callback function required. exists and is correct. User response: Change the first argument so that it is System programmer response: No System NULL or a valid callback. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00314 The second argument should be either an array or an object HPH00312 Argument #integer should be an array Explanation: PHP encountered an array_key_exists Explanation: PHP encountered a call to array_map function whose second argument is not an array or an where an argument that is required to be an array is object. something else. Example: HPH00314 The second argument should be integer either an array or an object The argument number System action: Displays the warning and continues interpreting the script. Example: HPH00312 Argument #2 should be an array Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Change the second argument so that it is an array or an object. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Change the specified argument so that it is an array. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. 82 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 93. Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00317 Both parameters should have equal Automation: Not applicable. number of elements Explanation: PHP encountered an array_combine HPH00315 The first argument should be either a function whose both parameters have a different string or an integer number of elements. Explanation: PHP encountered an array_key_exists Example: HPH00317 Both parameters should have function whose first argument is not a string or an equal number of elements integer. System action: Displays the warning and continues Example: HPH00315 The first argument should be interpreting the script. either a string or an integer Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Check both parameters and modify Operator response: No System Operator response is them to have an equal number of elements. required. System programmer response: No System User response: Change the first argument so that it is Programmer response is required. a string or an integer. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00318 Both parameters should have at least 1 Automation: Not applicable. element Explanation: PHP encountered an array_combine HPH00316 Size parameter expected to be greater function whose both parameters are empty arrays. than 0 Example: HPH00318 Both parameters should have at Explanation: PHP encountered an array_chunk least 1 element function whose size parameter is less than or equal to zero. System action: Displays the warning and continues interpreting the script. Example: HPH00316 Size parameter expected to be greater than 0 Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Modify both array parameters to have at least one element. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Modify the size parameter so that it is greater than zero. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Chapter 6. PHP messages 83
  • 94. System action: Displays the warning and continues HPH00319 -Removed interpreting the script. Explanation: -Removed Operator response: No System Operator response is Example: -Removed required. System action: Displays the warning and continues User response: Modify the in_addr to have a valid 32- interpreting the script. or 128-bit binary structure. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: -Removed Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00322 An unknown error occured Automation: Not applicable. Explanation: An unknown error occured. Example: HPH00322 An unknown error occured HPH00320 Couldn’t find constant con System action: Displays the warning and continues Explanation: PHP encountered a constant function interpreting the script. that can not find the constant indicated by name. Operator response: No System Operator response is con required. The constant name User response: To solve this problem, try checking your network. Example: HPH00320 Couldn’t find constant con System programmer response: No System Programmer response is required. System action: Displays the warning and continues interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: Correct the constant name so the Routing code: Not applicable. function can properly locate it. Descriptor code: W- A warning (PHP continues). System programmer response: No System Programmer response is required. Automation: Not applicable. Problem determination: No additional information. HPH00323 Unrecognized address string Source: PHP Explanation: PHP encountered a human readable IP Module: Not applicable. address that can not be recognized. Routing code: Not applicable. string Descriptor code: W- A warning (PHP continues). The IP address Automation: Not applicable. Example: HPH00323 Unrecognized address abc HPH00321 Invalid in_addr value System action: Displays the warning and continues Explanation: PHP encountered an in_addr that has an interpreting the script. invalid value (inappropriate 32-bit binary structure). Operator response: No System Operator response is Example: HPH00321 Invalid in_addr value required. User response: Modify the IP address so that it is a 84 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 95. regular IPv4 or IPv6 address. environment variable ’test’ - it’s not in the allowed list System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is required. Source: PHP User response: Either disable safe mode, or only Module: Not applicable. modify environment variables that are in the allowed list. Routing code: Not applicable. System programmer response: No System Descriptor code: W- A warning (PHP continues). Programmer response is required. Automation: Not applicable. Problem determination: No additional information. Source: PHP HPH00325 Safe Mode warning: Cannot override Module: Not applicable. protected environment variable ’string’ Routing code: Not applicable. Explanation: While safe-mode is enabled, some protected enviroment variables cannot be changed. Descriptor code: W- A warning (PHP continues). string Automation: Not applicable. The enviroment variable HPH00327 Invalid parameter syntax. Example: HPH00325 Safe Mode warning: Cannot Explanation: PHP encountered a call to putenv() with override protected environment variable invalid parameter syntax. ’LD_LIBRARY_PATH’ Example: HPH00327 Invalid parameter syntax. System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Either disable safe mode or do not try User response: Modify the call so that the syntax is to override protected environment variables. valid. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00326 Safe Mode warning: Cannot set HPH00328 No support for long options in this environment variable ’string’ - it’s not in build the allowed list Explanation: PHP encountered a call to getopt() that Explanation: While safe-mode was enabled, PHP does not support for long options. encountered the function putenv() blocked the modification of an environment variable that is not in the Example: HPH00328 No support for long options in allowed list. this build string System action: Displays the warning and continues The environment variable interpreting the script. Operator response: No System Operator response is required. Example: HPH00326 Safe Mode warning: Cannot set Chapter 6. PHP messages 85
  • 96. User response: Use as the function’s option System programmer response: No System parameteres the individual characters and characters Programmer response is required. followed by a colon to indicate an option argument is to Problem determination: No additional information. follow. Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH00331 Argument 1 incorrect Descriptor code: W- A warning (PHP continues). Explanation: Argument 1 incorrect. Automation: Not applicable. Example: HPH00331 Argument 1 incorrect HPH00329 Nanoseconds was not in the range 0 to System action: Displays the warning and continues 999 999 999, or seconds was negative interpreting the script. Explanation: Nanoseconds was not in the range 0 to Operator response: No System Operator response is 999 999 999, or seconds was negative. required. Example: HPH00329 Nanoseconds was not in the User response: Make sure the given argument is range 0 to 999 999 999, or seconds was negative correct. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Make sure that nanoseconds is in the range 0 to 999 999 999. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00332 Incorrect arguments Routing code: Not applicable. Explanation: Incorrect arguments. Descriptor code: W- A warning (PHP continues). Example: HPH00332 Incorrect arguments Automation: Not applicable. System action: Displays the warning and continues interpreting the script. HPH00330 ’Sleep until to time’ is less than Operator response: No System Operator response is ’current time’. required. Explanation: ’Sleep until to time’ is less than ’current User response: Make sure the given arguments are time’. correct. Example: HPH00330 Sleep until to time is less then System programmer response: No System current time. Programmer response is required. System action: Displays the warning and continues Problem determination: No additional information. interpreting the script. Source: PHP Operator response: No System Operator response is Module: Not applicable. required. Routing code: Not applicable. User response: Make sure that the time stamp cannot be less than the ’current time’. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. 86 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 97. System action: Displays the warning and continues HPH00335 Mail option not available interpreting the script. Explanation: Mail option not available. Operator response: No System Operator response is Example: HPH00335 Mail option not available required. System action: Displays the warning and continues User response: Change the first argument so that it is interpreting the script. a valid callback. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: If the second parameter was the Problem determination: No additional information. number one, make sure the third parameter is an email Source: PHP address. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. HPH00338 Unable to call string1(string2,string3) Routing code: Not applicable. Explanation: PHP encountered function, Descriptor code: W- A warning (PHP continues). call_user_func(), that cannot call the user function Automation: Not applicable. whose name is passed as a parameter. string1 HPH00336 TCP/IP option not available The user function Explanation: TCP/IP option not available. string2 The first argument Example: HPH00336 TCP/IP option not available string3 System action: Displays the warning and continues The second argument interpreting the script. Operator response: No System Operator response is required. Example: HPH00338 Unable to call CL::func(hi,hal) User response: If the second parameter was the System action: Displays the warning and continues number two, make sure the third parameter is a host interpreting the script. name or IP address. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Check the function and make sure Problem determination: No additional information. that it can be called. Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH00337 First argument is expected to be a Descriptor code: W- A warning (PHP continues). valid callback Automation: Not applicable. Explanation: PHP encountered the function, call_user_func(), whose first argument is not a valid callback. Example: HPH00337 First argument is expected to be a valid callback Chapter 6. PHP messages 87
  • 98. Routing code: Not applicable. HPH00339 Unable to call string1(string2) Descriptor code: W- A warning (PHP continues). Explanation: PHP encountered a function, call_user_func(), that can not call the user function Automation: Not applicable. whose name is passed as a parameter. string1 HPH00343 -Removed The user function Explanation: -Removed string2 The argument Example: -Removed Example: HPH00339 Unable to call CL::func(a) System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: -Removed User response: Check the user function whose name System programmer response: No System is passed as the parameter, and make sure that it can Programmer response is required. be called. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00344 Second argument is not an object or Automation: Not applicable. class name Explanation: PHP encountered a function, HPH00341 First argument is expected to be a call_user_method() or call_user_method_array(), whose valid callback, ’string’ was given second argument should be an object or class name from which PHP can call the method referred to by the Explanation: PHP encountered a function, first argument. call_user_func_array(), whose first argument is not a valid callback. Example: HPH00344 Second argument is not an object or class name string The invalid callback System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is Example: HPH00341 First argument is expected to be required. a valid callback, ’not_valid’ was given User response: Change the second argument so that System action: Displays the warning and continues it is an object or class name. interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Change the first argument so that it is a valid callback. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. 88 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 99. Automation: Not applicable. HPH00349 (Registered shutdown functions) Unable to call string() - function does not exist HPH00352 Unable to call tick function Explanation: PHP encountered a function which does Explanation: Unable to call tick function not exist Example: HPH00352 Unable to call tick function string a function name System action: Displays the warning and continues interpreting the script. Example: HPH00349 (Registered shutdown functions) Unable to call %s() - function does not exist Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Make sure the tick function is available. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Make sure the function is available. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00353 Invalid shutdown callback ’string’ Automation: Not applicable. passed Explanation: PHP encountered a function, HPH00351 Unable to call string1::string2() - register_shutdown_function(), whose first argument is function does not exist an invalid shutdown callback. Explanation: PHP encountered a function which does string not exist or does not have the called method The invalid shutdown callback string1 a function name Example: HPH00353 Invalid shutdown callback ’22’ string2 passed a method name System action: Displays the warning and continues Example: HPH00351 Unable to call testa::method1() - interpreting the script. function does not exist Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Alter the first argument to a valid Operator response: No System Operator response is callback function that can be executed when script required. processing is complete. User response: Make sure the function and the System programmer response: No System function method are both available. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Chapter 6. PHP messages 89
  • 100. Descriptor code: W- A warning (PHP continues). HPH00354 Unable to find extension ’string’ Automation: Not applicable. Explanation: PHP encountered function, ini_get_all(), whose optional extension parameter can not be found or it is not an invalid extension. HPH00356 Numeric key detected - possible security hazard. string The extension Explanation: PHP encountered the numeric key and it possibly had security hazard. Example: HPH00356 Numeric key detected - possible Example: HPH00354 Unable to find extension security hazard. ’global_value’ System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: You’d better not use the numeric key User response: Change the parameter so that it is a as a hash key. valid extension. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00357 Attempted GLOBALS variable HPH00355 Unable to move ’string1’ to ’string2’ overwrite. Explanation: An error occurred while moving a path to Explanation: If GLOBALS variable was overwritten, a another path warning occurred. string1 Example: HPH00357 Attempted GLOBALS variable a path name overwrite. string2 System action: Displays the warning and continues another path name interpreting the script. Example: HPH00355 Unable to move ’/u/ss’ to Operator response: No System Operator response is ’/u/ss/msg’ required. System action: Displays the warning and continues User response: Make sure tGLOBALS variable interpreting the script. couldnot be overwritten. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Make sure both the two paths are Problem determination: No additional information. available. Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. 90 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 101. HPH00358 No prefix specified - possible security HPH00360 HTTP_USER_AGENT variable is not hazard set, cannot determine user agent name Explanation: PHP encountered the function Explanation: HTTP_USER_AGENT variable is not import_request_variables() that specified an empty set, cannot determine user agent name. string as a prefix, or no prefix at all. Example: HPH00360 HTTP_USER_AGENT variable Example: HPH00358 No prefix specified - possible is not set, cannot determine user agent name security hazard System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure ’HTTP_USER_AGENT’ User response: First check the first parameter type variable has been set. and make sure that it imports GET/POST/Cookie System programmer response: No System variables into the global scope. Second, be sure to Programmer response is required. specify a string as a prefix. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: N- An informational notice. Could be an error or could be normal behavior. HPH00361 Cannot open ’string’ for reading Automation: Not applicable. Explanation: An error occurred when opening ’browscap’ file HPH00359 browscap ini directive not set. string a file name Explanation: PHP encountered the function, get_browser(), whose browscap.ini directive is not set. Example: HPH00361 Cannot open ’browscap.txt’ for reading Example: HPH00359 browscap ini directive not set. System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure the ’browscap’ file exists User response: Set the browscap string with the and is available. name (e.g. browscap.ini) and location of the browser capabilities file in php.ini. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. Chapter 6. PHP messages 91
  • 102. Descriptor code: W- A warning (PHP continues). HPH00362 Unknown source charset: char Automation: Not applicable. Explanation: PHP encountered function, convert_cyr_string(), that can not convert the given string from the source charset to the destination HPH00364 Unable to find my handle property charset. This is because the source charset is unsupported. Explanation: Unable to find my handle property char Example: HPH00364 Unable to find my handle The unknown source charset property System action: Displays the warning and continues interpreting the script. Example: HPH00362 Unknown source charset: o Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Use correct directory handle as the Operator response: No System Operator response is parameter. required. System programmer response: No System User response: Alter the source charset to a Programmer response is required. supported type, for example, ’W’, ’A’, ’D’, ’I’, ’M’, ’K’. For more information, please refer to the PHP Problem determination: No additional information. documentation at http://www.php.net/ . Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00365 %s (errno %d) Descriptor code: W- A warning (PHP continues). Explanation: - remove. Automation: Not applicable. Example: HPH00365 %s (errno %d) System action: - remove. HPH00363 Unknown destination charset: ’char’ Operator response: No System Operator response is Explanation: PHP does not recognize the destination required. charset in the function convert_cyr_string(). User response: - remove. char An uncorrect destination charset System programmer response: No System Programmer response is required. Example: HPH00363 Unknown destination charset: ’z’ Problem determination: No additional information. System action: Displays the warning and continues interpreting the script. Source: PHP Operator response: No System Operator response is Module: Not applicable. required. Routing code: Not applicable. User response: Select a correct destination charset Descriptor code: from the following: k,w,i,a,d,m For more information, refer to the PHP documentation at http://www.php.net/ . Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00368 (errno ’errono’): ’error string’ Problem determination: No additional information. Explanation: This is an operating system error message. Source: PHP errono Module: Not applicable. An error number of operating system Routing code: Not applicable. 92 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 103. error string Example: HPH00370 Dynamically loaded extensions The content of the error are not allowed when running in Safe Mode Example: HPH00368 (errno 153): abc: No such file or System action: Displays the warning and continues directory interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Disable safe mode. required. System programmer response: No System User response: Refer to the z/OS UNIX System Programmer response is required. Services Message and Codes document for a Problem determination: No additional information. description of the error Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH00371 Not supported in multithreaded Web Descriptor code: W- A warning (PHP continues). servers - use extension=’string’ in your Automation: Not applicable. php.ini Explanation: Multithreaded web servers do not HPH00369 Dynamically loaded extensions are not support dll() functions. enabled string Explanation: Dynamically loaded extensions are not Extension name enabled. Example: HPH00371 Not supported in multithreaded Example: HPH00369 Dynamically loaded extensions Web servers - use extension=date in your php.ini are not enabled System action: PHP immediately stops interpreting System action: Displays the warning and continues the file (before any statements are run) and exits. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Use extension=’extension name’ in User response: Make sure the PHP application is not php.ini implementing dynamically loaded extensions or enable System programmer response: No System enable_dl in your php.ini . Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00372 dl() is deprecated - use extension=’extension name’ in your HPH00370 Dynamically loaded extensions are not php.ini allowed when running in Safe Mode Explanation: dl() is deprecated. Explanation: Dynamically loaded extensions are not extension name allowed when running in safe mode. Extension name Chapter 6. PHP messages 93
  • 104. Example: HPH00372 dl() is deprecated - use HPH00374 Incorrect library (maybe not a PHP extension=date in your php.ini library) ’string’ System action: PHP immediately stops interpreting Explanation: Incorrect library (maybe not a PHP the file (before any statements are run) and exits. library) Operator response: No System Operator response is string required. Name of the library User response: Use extension=’extension name’ in Example: HPH00374 Incorrect library (maybe not a php.ini PHP library) ’aaa’ System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: Verify that the library name is correct. Routing code: Not applicable. System programmer response: No System Programmer response is required. Descriptor code: F- A fatal error (PHP exits immediately). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00373 Unable to load dynamic library ’string1’ Routing code: Not applicable. -’string2’ Descriptor code: F- A fatal error (PHP exits Explanation: Unable to load dynamic library. immediately). string1 Automation: Not applicable. Name of dynamic library string2 HPH00375 Unable to initialize module string Error information from operating system Explanation: Unable to initialize module in dl() Example: HPH00373 Unable to load dynamic library function ’php_ldap.dll’ - The operating system cannot run it. string System action: Displays the warning and continues Name of the module interpreting the script. Example: HPH00375 Unable to initialize module date Operator response: No System Operator response is required. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. User response: Ensure that the dynamic library is found in the LIBPATH, and there are no other php.ini Operator response: No System Operator response is files on the system. required. System programmer response: No System User response: Check if the module configuration Programmer response is required. matches the PHP configuration. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. 94 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 105. HPH00376 Cannot dynamically load string - HPH00379 Address is not in a.b.c.d form dynamic modules are not supported Explanation: The given IP address is not in standard Explanation: Cannot dynamically load module. dotted quad form. string Example: HPH00379 Address is not in a.b.c.d form Module name System action: Displays the warning and continues Example: HPH00376 Cannot dynamically load date - interpreting the script. dynamic modules are not supported Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Change the address so it is in dotted Operator response: No System Operator response is quad form. required. System programmer response: No System User response: Make sure the system supports Programmer response is required. dynamic modules. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00380 Type ’string’ not supported Automation: Not applicable. Explanation: The dns_check_record() function was called with an incorrect type. HPH00378 Address is not a valid IPv4 or IPv6 string address record type Explanation: Address is not a valid IPv4 or IPv6 Example: HPH00380 Type ’aaa’ not supported address. System action: Displays the warning and continues Example: HPH00378 Address is not a valid IPv4 or interpreting the script. IPv6 address Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Change the call to use one of the Operator response: No System Operator response is following types: A, NS, MX, PTR, ANY, SOA, CNAME, required. AAAA, SRV, NAPTR, A6 User response: Change the address to a valid IPV4 System programmer response: No System or IPv6 address. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Chapter 6. PHP messages 95
  • 106. Operator response: No System Operator response is HPH00381 Type ’integer’ not supported required. Explanation: This type is not supported in User response: Make sure the operating system dns_get_record(). supports res_nsend(). integer System programmer response: No System record type Programmer response is required. Example: HPH00381 Type ’3’ not supported Problem determination: No additional information. System action: Displays the warning and continues Source: PHP interpreting the script. Module: Not applicable. Operator response: No System Operator response is required. Routing code: Not applicable. User response: Select a supported type. Examples Descriptor code: W- A warning (PHP continues). can be found at www.php.net. Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00384 Unable to parse DNS data received Problem determination: No additional information. Explanation: PHP was unable to parse the DNS data Source: PHP received. The name could not be found by dn_skipname(). Module: Not applicable. Example: HPH00384 Unable to parse DNS data Routing code: Not applicable. received Descriptor code: W- A warning (PHP continues). System action: Displays the warning and continues Automation: Not applicable. interpreting the script. Operator response: No System Operator response is HPH00382 res_nmkquery() failed required. Explanation: A call to res_nmkquery() failed. User response: Ensure that the DNS data is valid. Example: HPH00382 res_nmkquery() failed System programmer response: No System Programmer response is required. System action: Displays the warning and continues interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: Make sure the operating system Routing code: Not applicable. supports res_nmkquery(). Descriptor code: W- A warning (PHP continues). System programmer response: No System Programmer response is required. Automation: Not applicable. Problem determination: No additional information. HPH00385 No ’..’ components allowed in path Source: PHP Explanation: For security reasons, PHP does not Module: Not applicable. allow ’..’ components in a pathname. Routing code: Not applicable. Example: HPH00385 No ’..’ components allowed in Descriptor code: W- A warning (PHP continues). path Automation: Not applicable. System action: Displays the warning and continues interpreting the script. HPH00383 res_nsend() failed Operator response: No System Operator response is required. Explanation: A call to res_nsend() failed. User response: Remove ’..’ components from the Example: HPH00383 res_nsend() failed supplied path string. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. 96 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 107. Problem determination: No additional information. Automation: Not applicable. Source: PHP HPH00388 Cannot execute using backquotes in Module: Not applicable. Safe Mode Routing code: Not applicable. Explanation: PHP cannot execute functions using the Descriptor code: W- A warning (PHP continues). backquote operator while in safe mode. Automation: Not applicable. Example: HPH00388 Cannot execute using backquotes in Safe Mode HPH00386 Unable to fork [cmd] System action: Displays the warning and continues interpreting the script. Explanation: PHP script was not able to fork a command. Operator response: No System Operator response is required. cmd command string User response: Turn off safe mode, or do not use the backquote operator. Example: HPH00386 Unable to fork [cd] System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is required. Source: PHP User response: Make sure you can execute the Module: Not applicable. command outside of PHP. Routing code: Not applicable. System programmer response: No System Descriptor code: W- A warning (PHP continues). Programmer response is required. Automation: Not applicable. Problem determination: No additional information. Source: PHP HPH00389 Unable to execute ’command’ Module: Not applicable. Explanation: PHP script was not able to execute the Routing code: Not applicable. command Descriptor code: W- A warning (PHP continues). command command string Automation: Not applicable. Example: HPH00389 Unable to execute ’aabb’ HPH00387 Cannot execute a blank command System action: Displays the warning and continues interpreting the script. Explanation: PHP can not execute blank commands. Operator response: No System Operator response is Example: HPH00387 Cannot execute a blank required. command User response: First, make sure the command is System action: Displays the warning and continues correct. Then make sure the environment is ready for interpreting the script. the command. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Execute a non-blank command. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Chapter 6. PHP messages 97
  • 108. HPH00390 Only a super user may attempt to HPH00392 Failed to seek to position position in increase the priority of a process. the stream. Explanation: Process priorities cannot be increased Explanation: PHP was unable to seek to the given by normal users. position in the data stream. Example: HPH00390 Only a super user may attempt position to increase the priority of a process. The offset where PHP tried to seek System action: Displays the warning and continues Example: HPH00392 Failed to seek to 18 position in interpreting the script. the stream. Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Change to a superuser id, or grant Operator response: No System Operator response is your id superuser authority. required. System programmer response: No System User response: Make sure the offset is less than the Programmer response is required. length of the source stream. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00391 Illegal operation argument Automation: Not applicable. Explanation: The flock() function in PHP was passed an illegal operation argument. HPH00393 Only num of totalnum bytes written, possibly out of free disk space Example: HPH00391 Illegal operation argument Explanation: The writing operation terminated System action: Displays the warning and continues prematurely - perhaps the disk space is exhausted. interpreting the script. num Operator response: No System Operator response is Number of bytes actually written to disk required. totalnum User response: Ensure that flock() is passed a correct Number of bytes that was supposed to be written to operation argument, like disk LOCK_SH,LOCK_EX,LOCK_UN. Refer to=″phpnet″>www.php.net for more information. Example: HPH00393 Only 20 of 100 bytes written, possibly out of free disk space System programmer response: No System Programmer response is required. System action: Displays the warning and continues interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: Make sure there is enough free disk Routing code: Not applicable. space. Descriptor code: W- A warning (PHP continues). System programmer response: No System Programmer response is required. Automation: Not applicable. Problem determination: No additional information. Source: PHP Module: Not applicable. Routing code: Not applicable. 98 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 109. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00397 ’flag’ flag is not supported HPH00394 Failed to write num bytes to filename Explanation: Flag is not supported in PHP script. Explanation: When trying to write to a file, the flag operation terminated prematurely. flags, such as: PHP_FILEUSE_INCLUDE_PATH;PHP_FILE_IGNORE_NEW_LINES num Number of bytes Example: HPH00397 17 flag is not supported filename System action: Displays the warning and continues File name interpreting the script. Example: HPH00394 Failed to write 20 bytes to foo Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: PHP only supports flags less than 32. Refer to php.net for more information. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Make sure that you have the correct permissions to write to the file, as well as having Problem determination: No additional information. enough disk space to complete the operation. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00404 Unable to locate stream wrapper Descriptor code: W- A warning (PHP continues). Explanation: Unable to locate stream wrapper. Automation: Not applicable. Example: HPH00404 Unable to locate stream wrapper System action: Displays the warning and continues HPH00396 The second parameter should be either interpreting the script. a string or an array Operator response: No System Operator response is Explanation: The parameter is an incorrect type. required. Example: HPH00396 The second parameter should User response: Make sure the wrapper exists. be either a string or an array System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is required. Source: PHP User response: Make sure the second parameter of Module: Not applicable. the call to file_put_contents() is either a string or an array. Routing code: Not applicable. System programmer response: No System Descriptor code: W- A warning (PHP continues). Programmer response is required. Automation: Not applicable. Problem determination: No additional information. Source: PHP HPH00405 string wrapper does not support renaming Module: Not applicable. Explanation: Wrapper does not support renaming Routing code: Not applicable. string Descriptor code: W- A warning (PHP continues). Name of the wrapper Chapter 6. PHP messages 99
  • 110. Example: HPH00405 http wrapper does not support User response: Make sure the wrapper allows renaming unlinking. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Make sure the wrapper supports the Module: Not applicable. rename() function. Routing code: Not applicable. System programmer response: No System Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP HPH00409 Cannot truncate this stream Module: Not applicable. Explanation: Cannot truncate this stream. Routing code: Not applicable. Example: HPH00409 Cannot truncate this stream Descriptor code: W- A warning (PHP continues). System action: Displays the warning and continues Automation: Not applicable. interpreting the script. Operator response: No System Operator response is HPH00406 Cannot rename a file across wrapper required. types User response: Try changing the open mode of the Explanation: PHP script can not rename a file across stream. wrapper types. System programmer response: No System Example: HPH00406 Cannot rename a file across Programmer response is required. wrapper types Problem determination: No additional information. System action: Displays the warning and continues interpreting the script. Source: PHP Operator response: No System Operator response is Module: Not applicable. required. Routing code: Not applicable. User response: Check the definition of the wrapper, and make sure you can rename the file across wrapper Descriptor code: W- A warning (PHP continues). types. Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00411 delimiter must be a character Problem determination: No additional information. Explanation: Delimiter must be a character. Source: PHP Example: HPH00411 delimiter must be a character Module: Not applicable. System action: Displays the warning and continues Routing code: Not applicable. interpreting the script. Descriptor code: W- A warning (PHP continues). Operator response: No System Operator response is required. Automation: Not applicable. User response: Make sure the delimiter is a character. HPH00408 Stringdoes not allow unlinking System programmer response: No System Explanation: Wrapper does not allow unlinking. Programmer response is required. Example: HPH00408 http does not allow unlinking Problem determination: No additional information. System action: Displays the warning and continues Source: PHP interpreting the script. Module: Not applicable. Operator response: No System Operator response is required. Routing code: Not applicable. 100 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 111. Descriptor code: W- A warning (PHP continues). HPH00414 Enclosure must be a single character Automation: Not applicable. Explanation: Enclosure must be a single character. Example: HPH00414 Enclosure must be a single HPH00412 Delimiter must be a single character character Explanation: Delimiter must be a single character. System action: Displays the warning and continues Example: HPH00412 Delimiter must be a single interpreting the script. character Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Make sure the enclosure is a single Operator response: No System Operator response is character. required. System programmer response: No System User response: Make sure the delimiter is one Programmer response is required. character. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: N- An informational notice. Could be Module: Not applicable. an error or could be normal behavior. Routing code: Not applicable. Automation: Not applicable. Descriptor code: N- An informational notice. Could be an error or could be normal behavior. HPH00417 Length parameter may not be negative Automation: Not applicable. Explanation: Length parameter may not be negative. Example: HPH00417 Length parameter may not be HPH00413 Enclosure must be a character negative Explanation: Enclosure must be a character. System action: Displays the warning and continues Example: HPH00413 enclosure must be a character interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Make sure the length parameter is required. positive. User response: Make sure the enclosure is a System programmer response: No System character. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00420 Unable to find gid for groupname Explanation: Unable to find gid groupname The name of the group Example: HPH00420 Unable to find gid for testgroup Chapter 6. PHP messages 101
  • 112. System action: Displays the warning and continues User response: Check that the the permissions are interpreting the script. properly to allow creation of the specified file. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Make sure the group exists. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00426 Utime failed: errorinfo Automation: Not applicable. Explanation: PHP script encountered a ″Utime failed″ error. HPH00422 Unable to find uid for uid erroinfo System erro information Explanation: Unable to find uid Example: HPH00426 Utime failed: EDC5121I Invalid uid User id argument. Example: HPH00422 Unable to find uid for testuser System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure the input time parameters User response: Make sure the user id exists. are correct and refer to the system error information in this message for more hints. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00425 Unable to create file filename because errorinfo HPH00427 state failed for filename Explanation: PHP script was not able to create a file Explanation: State failed filename state File name State or Lstate errorinfo file name System error information The name of a file Example: HPH00425 Unable to create file a because Example: HPH00427 state failed for noexists EDC5129I No such file or directory. System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. 102 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 113. User response: Make sure you can access the file. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00430 Zero is not a valid argument number Routing code: Not applicable. Explanation: Zero is not a valid argument number. Descriptor code: W- A warning (PHP continues). Example: HPH00430 Zero is not a valid argument number Automation: Not applicable. System action: Displays the warning and continues interpreting the script. HPH00428 Unknown file type (integer) Operator response: No System Operator response is Explanation: Unknown file type required. integer User response: The parameter number should be File type greater than zero. Example: HPH00428 Unknown file type (foo) System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: Make sure the file name is correct, or the file type is supported by the operating system. Routing code: Not applicable. System programmer response: No System Descriptor code: W- A warning (PHP continues). Programmer response is required. Automation: Not applicable. Problem determination: No additional information. Source: PHP HPH00431 Too few arguments Module: Not applicable. Explanation: Too few arguments. Routing code: Not applicable. Example: HPH00431 Too few arguments Descriptor code: N- An informational notice. Could be System action: Displays the warning and continues an error or could be normal behavior. interpreting the script. Automation: Not applicable. Operator response: No System Operator response is required. HPH00429 Didn’t understand stat call User response: Provide as many arguments as necessary for print functions. Explanation: Did not understand stat call System programmer response: No System Example: HPH00429 Didn’t understand stat call Programmer response is required. System action: Displays the warning and continues Problem determination: No additional information. interpreting the script. Source: PHP Operator response: No System Operator response is required. Module: Not applicable. User response: Make sure the file name is correct, or Routing code: Not applicable. the file type is supported by the operating system. Descriptor code: W- A warning (PHP continues). System programmer response: No System Automation: Not applicable. Programmer response is required. Problem determination: No additional information. Source: PHP Chapter 6. PHP messages 103
  • 114. Automation: Not applicable. HPH00432 Unable to connect to stream:port (err) Explanation: Unable to connect HPH00434 Cookie values can not contain any of stream the folllowing ’,; trn013014’ The stream you want to connect to (string) port Explanation: Cookie values can not contain any of the port number folllowing ’,; trn013014’ err system err info string cookie value Example: HPH00432 Unable to connect to www.sdfsdg,io:80 (Unknown error) Example: HPH00434 Cookie values can not contain any of the folllowing ’,; trn013014’ (foorn) System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Make sure the network linkage and network functions are normal. Also, make sure the port User response: Correct the cookie value. number and stream are correct. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00435 charset `charset’ not supported, HPH00433 Cookie names can not contain any of assuming iso-8859-1 the folllowing ’=,; trn013014’ () Explanation: charset is not supported; use default Explanation: Cookie names can not contain any of charset iso-8859-1 the folllowing ’=,; trn013014’ charset string charset name cookie name Example: HPH00435 charset `iso=8859-7’ not Example: HPH00433 Cookie names can not contain supported, assuming iso-8859-1 any of the folllowing ’=,; trn013014’ (=foo) System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure the charset is supported. User response: Correct the cookie name. Please issue ″iconv -l″ for a list of valid charsets. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). 104 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 115. Automation: Not applicable. HPH00438 JP2 file has no codestreams at root level HPH00436 Cannot handle MBCS Explanation: JP2 file has no codestreams at root Explanation: Cannot handle the charset in the level. html_entity_decode() function. Example: HPH00438 JP2 file has no codestreams at Example: HPH00436 Cannot handle MBCS root level System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Use an acceptable charset in the User response: Make sure the JP2 file is correct. html_entity_decode() function. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00439 Read error HPH00437 JPEG2000 codestream corrupt Explanation: Read stream error. Cannot open an (Expected SIZ marker not found after image. SOC) Example: HPH00439 Read error Explanation: JPEG2000 codestream corrupted (Expected SIZ marker not found after SOC). Cannot get System action: Displays the warning and continues the single byte that remains after the file type interpreting the script. identification. Operator response: No System Operator response is Example: HPH00437 JPEG2000 codestream required. corrupt(Expected SIZ marker not found after SOC) User response: Make sure the image type is System action: Displays the warning and continues acceptable to PHP. interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Ensure that the JPEG2000 file is not Source: PHP corrupted. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. HPH00441 PNG file corrupted by ASCII Routing code: Not applicable. conversion Descriptor code: W- A warning (PHP continues). Explanation: PNG file corrupted by ASCII conversion. Automation: Not applicable. Example: HPH00441 PNG file corrupted by ASCII conversion Chapter 6. PHP messages 105
  • 116. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Make sure the file exists and is required. accessible. User response: Verify the contents of the PNG file. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00448 Unable to symlink to a URL HPH00444 The image is a compressed SWF file, Explanation: Unable to symlink to a URL. but you do not have a static version of Example: HPH00448 Unable to symlink to a URL the zlib extension enabled. System action: Displays the warning and continues Explanation: The image is a compressed SWF file, interpreting the script. but you do not have a static version of the zlib extension enabled. Operator response: No System Operator response is required. Example: HPH00444 The image is a compressed SWF file, but you do not have a static version of the zlib User response: Make sure you are not creating a extension enabled. symbolic link to the URL. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: SWF files are not supported. Therefore, make sure they are not being used. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00450 Unable to link to a URL Routing code: Not applicable. Explanation: Unable to link to a URL. Descriptor code: W- A warning (PHP continues). Example: HPH00450 Unable to link to a URL Automation: Not applicable. System action: Displays the warning and continues interpreting the script. HPH00445 Unable to open filename Operator response: No System Operator response is required. Explanation: PHP script was unable to open JPEG file User response: Make sure you do not to create a link to the URL. filename file name System programmer response: No System Programmer response is required. Example: HPH00445 Unable to open aa.jpg Problem determination: No additional information. System action: Displays the warning and continues interpreting the script. Source: PHP 106 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 117. Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00452 SAFE MODE Restriction in effect. The HPH00456 Could not execute mail delivery fifth parameter is disabled in SAFE program ’command’ MODE. Explanation: Could not execute mail delivery program Explanation: SAFE MODE Restriction in effect. The command fifth parameter is disabled in SAFE MODE. string of command Example: HPH00452 SAFE MODE Restriction in Example: HPH00456 Could not execute mail delivery effect. The fifth parameter is disabled in SAFE MODE. program ’/usr/sbin/sendmail -t -i’ System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Do not use the fifth parameter, or do User response: Make sure the mail delivery function not enable SAFE MODE in php.ini. of the system is operating normally, and that the path System programmer response: No System specified is correct. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00455 Permission denied: unable to execute shell to run mail delivery binary ’string’ HPH00457 Base must be greater than zero Explanation: Unable to execute shell to run mail Explanation: When using natural logarithm function delivery binary log(), the base must be greater than zero. string Example: HPH00457 Base must be greater than zero command string System action: Displays the warning and continues Example: HPH00455 Permission denied: unable to interpreting the script. execute shell to run mail delivery binary ’/usr/sbin/sendmail -t -i’ Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Make sure the base parameter is greater than zero. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Make sure PHP has the proper privileges to execute shell scripts. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Chapter 6. PHP messages 107
  • 118. Automation: Not applicable. HPH00460 Incorrect `from base’ (from) Explanation: When converting a number between HPH00458 Number ’string’ is too big to fit in long arbitrary bases, PHP encountered an incorrect ″from Explanation: Number is too big to fit in long base″. string from A number string number of from, should be between 2 to 36 Example: HPH00458 Number ’999999999999999’ is Example: HPH00460 Invalid `from base’ (%ld) too big to fit in long. System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Provide a correct value: from 2 to 36. User response: Reduce the size of the number so it System programmer response: No System is less than 2147483647. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00461 Incorrect `to base’ () Explanation: When converting a number between HPH00459 Number too large arbitrary bases, PHP encountered an incorrect ″to base″ Explanation: Number is too large. number Example: HPH00459 Number too large The two base which should be between 2-36 System action: Displays the warning and continues Example: HPH00461 Invalid `to base’ (44) interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Do not try to convert the number to required. +/- infinity. User response: Make sure that the ’to base’ value is System programmer response: No System between 2 and 36. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. 108 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 119. HPH00462 Type char: integer overflow in format HPH00464 Type char: not enough arguments string Explanation: Not enough arguments Explanation: Integer overflow in format string char char type type of the string Example: HPH00464 Type H: not enough arguments Example: HPH00462 Type H: integer overflow in System action: Displays the warning and continues format string interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Ensure a sufficient number of required. arguments are passed. User response: Make sure the integer is less than System programmer response: No System 2147483647. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00465 Type char: too few arguments Explanation: Too few arguments HPH00463 Type char: ’*’ ignored char Explanation: The ’*’ character was ignored. type char Example: HPH00465 Type d: too few arguments type System action: Displays the warning and continues Example: HPH00463 Type @: ’*’ ignored interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Ensure a sufficient number of required. arguments are passed. User response: Make sure that you intended to ignore System programmer response: No System the ’*’. Otherwise, you should correct the type passed to Programmer response is required. the pack() function. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00466 Type char: unknown format code Automation: Not applicable. Explanation: Unknown format code. char type Chapter 6. PHP messages 109
  • 120. Example: HPH00466 Type z: unknown format code Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Verify the parameters to the pack() or unpack() functions. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Correct the type parameter passed to the pack() function. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00469 Type char: not enough characters in string Automation: Not applicable. Explanation: PHP scripts need enough characters in string in function pack(). HPH00467 number arguments unused char Explanation: Arguments unused type number Example: HPH00469 Type H: not enough characters number of arguments in string Example: HPH00467 2 arguments unused System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure the call to the pack() User response: Provide the specified number of function contains enough characters. arguments. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00470 Type char1: illegal hex digit char2 HPH00468 Type char: outside of string Explanation: PHP script encountered illegal hex digit Explanation: PHP encountered a pointer error in in function pack() pack() and unpack() functions. char1 char type type char2 Example: HPH00468 Type X: outside of string hex digit System action: Displays the warning and continues Example: HPH00470 Type H: illegal hex digit G interpreting the script. System action: Displays the warning and continues interpreting the script. 110 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 121. Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Make sure all the hex digits are in the Operator response: No System Operator response is range of 0-9, a-f (or A-F). required. System programmer response: No System User response: Make sure the format string and input Programmer response is required. values match. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00471 Type char: integer overflow Automation: Not applicable. Explanation: PHP script encountered an integer overflow error in funciton pack(). HPH00477 Incorrect Regular Expression to split() char Explanation: PHP script encountered incorrect type Regular Expression to split(). Example: HPH00471 Type A: integer overflow Example: HPH00477 Invalid Regular Expression to split() System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Make sure the integer is less than 2147483647. User response: Correct the regular expression. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00475 Type char: not enough input, need HPH00478 Invalid ’..’-range, no character to the number1, have number2 left of ’..’. Explanation: PHP script needed enough input in Explanation: PHP script encounterd invalid ’..’-range, funciton unpack() no character to the left of ’..’. char Example: HPH00478 Invalid ’..’-range, no character to type the left of ’..’. number1 System action: Displays the warning and continues Number of input needed interpreting the script. number2 Operator response: No System Operator response is Number of input required. Example: HPH00475 Type A: not enough input, need User response: Put a character to the left of the ’..’ 20, have 10 operator. Chapter 6. PHP messages 111
  • 122. System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00481 Incorrect ’..’-range. Descriptor code: W- A warning (PHP continues). Explanation: PHP encounterd incorrect ’..’-range. Automation: Not applicable. Example: HPH00481 Invalid ’..’-range. System action: Displays the warning and continues HPH00479 Invalid ’..’-range, no character to the interpreting the script. right of ’..’. Operator response: No System Operator response is Explanation: PHP script encountered invalid ’..’-range, required. no character to the right of ’..’. User response: Make sure the range operator lies Example: HPH00479 Invalid ’..’-range, no character to between valid characters. the right of ’..’. System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: Put a character at the right of the ’..’ operator. Routing code: Not applicable. System programmer response: No System Descriptor code: W- A warning (PHP continues). Programmer response is required. Automation: Not applicable. Problem determination: No additional information. Source: PHP HPH00482 Cannot force cut when width is zero. Module: Not applicable. Explanation: PHP encountered the wordwrap() function that wraps a string to zero-width strings. Routing code: Not applicable. Example: HPH00482 Can’t force cut when width is Descriptor code: W- A warning (PHP continues). zero. Automation: Not applicable. System action: Displays the warning and continues interpreting the script. HPH00480 Invalid ’..’-range, ’..’-range needs to be Operator response: No System Operator response is incrementing. required. Explanation: PHP encountered invalid ’..’-range, User response: Make sure that the width parameter ’..’-range needs to be incrementing. passed to wordworp() is greater than zero. Example: HPH00480 Invalid ’..’-range, ’..’-range needs System programmer response: No System to be incrementing. Programmer response is required. System action: Displays the warning and continues Problem determination: No additional information. interpreting the script. Source: PHP Operator response: No System Operator response is required. Module: Not applicable. User response: ’..’ -range should be incrementing, Routing code: Not applicable. such like ’a..d’. Descriptor code: W- A warning (PHP continues). System programmer response: No System Programmer response is required. Automation: Not applicable. Problem determination: No additional information. Source: PHP 112 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 123. Operator response: No System Operator response is HPH00483 Empty delimiter. required. Explanation: Empty delimiter. User response: Make sure that implode() function has Example: HPH00483 Empty delimiter. at least one array type of its two parameters. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Make sure the string is not empty. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00491 needle is not a string or an integer. Routing code: Not applicable. Explanation: The second parameter of stripos() is one Descriptor code: W- A warning (PHP continues). of string, integer, bool, long and double types. Automation: Not applicable. Example: HPH00491 needle is not a string or an integer. HPH00484 Argument to implode must be an array. System action: Displays the warning and continues interpreting the script. Explanation: In function implode, argument must be an array. Operator response: No System Operator response is required. Example: HPH00484 Argument to implode must be an array. User response: Make sure the second parameter of stripos() is one of string, integer, bool, long and double System action: Displays the warning and continues types. interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Make sure the argument to the implode function is an array. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00492 Chunk length should be greater than zero. Descriptor code: W- A warning (PHP continues). Explanation: In function chunk_split(), chunk length Automation: Not applicable. should be greater than zero. Example: HPH00492 Chunk length should be greater HPH00485 Bad arguments. than zero. Explanation: PHP encountered implode() function that System action: Displays the warning and continues has two parameters and neither one is of array type. interpreting the script. Example: HPH00485 Bad arguments. Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Make sure the chunk length as the Chapter 6. PHP messages 113
  • 124. second parameter passed to chunk_split() is greater Operator response: No System Operator response is than zero. required. System programmer response: No System User response: Make sure ’from’ and ’len’ have the Programmer response is required. same number of elements. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00493 ’from’ and ’len’ should be of same type Automation: Not applicable. - numerical or array Explanation: PHP encountered the function HPH00495 Functionality of ’from’ and ’len’ as substr_replace() whose third parameter ’from’ and arrays is not implemented. fourthe one ’len’ are not of the same type, either Explanation: Functionality of ’from’ and ’len’ as arrays numerical or array. is not implemented. Example: HPH00493 ’from’ and ’len’ should be of Example: HPH00495 Functionality of ’from’ and ’len’ same type - numerical or array as arrays is not implemented. System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: If the substr_replace() has three User response: Either change the first and second parameters,make sure the third one is of numerical parameters to be of array type or change the third and type. Otherwise make sure the third one and the fourth fourth parameters to be numerical. one are of the same type, either numerical or array. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00496 The second argument is not an array. HPH00494 ’from’ and ’len’ must have the same number of elements Explanation: In function strtr(), the second argument is not an array. Explanation: PHP encountered the function substr_replace() whose third parameter ’from’ and fourth Example: HPH00496 The second argument is not an one ’len’ are of array type but do not have the same array. number of elements. System action: Displays the warning and continues Example: HPH00494 ’from’ and ’len’ should have the interpreting the script. same number of elements Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Called with only two arguments, the second argument of strtr() function is not an array. 114 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 125. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: No user response necessary. Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH00497 Passing locale category name as string Descriptor code: I- An internal error not caused by is deprecated. Use the LC_* -constants user (a programming error in PHP). instead. Automation: Not applicable. Explanation: Passing locale category name as string is deprecated. Use the LC_* -constants instead. HPH00499 Second argument has to be greater Example: HPH00497 Passing locale category name than or equal to 0. as string is deprecated. Use the LC_* -constants Explanation: Second argument has to be greater than instead. or equal to 0. System action: Displays the warning and continues Example: HPH00499 Second argument has to be interpreting the script. greater than or equal to 0. Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Use LC_* -constants, such as Operator response: No System Operator response is LC_ALL LC,_COLLATE, LC_CTYPE ,LC_MESSAGES, required. LC_MONETARY, LC_NUMERIC ,LC_TIME User response: Make sure the second argument is System programmer response: No System greater than or equal to 0. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00498 Incorrect locale category name string, must be one of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, HPH00500 You may not create strings longer than LC_NUMERIC, or LC_TIME. 2147483647 bytes Explanation: Incorrect locale category name Explanation: You may not create strings longer than 2147483647 bytes. string category name Example: HPH00500 You may not create strings longer than 2147483647 bytes Example: HPH00498 Invalid locale category name LC_FOO, must be one of LC_ALL, LC_COLLATE, System action: Displays the warning and continues LC_CTYPE, LC_MONETARY, LC_NUMERIC, or interpreting the script. LC_TIME. Operator response: No System Operator response is System action: PHP immediately stops interpreting required. the file (before any statements are run) and exits. User response: Make sure to create strings less than 2147483647 bytes. Chapter 6. PHP messages 115
  • 126. System programmer response: No System Automation: Not applicable. Programmer response is required. Problem determination: No additional information. HPH00503 Offset should be greater then or equal to 0. Source: PHP Explanation: Offset should be greater then or equal to Module: Not applicable. 0 in function substr_count(). Routing code: Not applicable. Example: HPH00503 Offset should be greater then or Descriptor code: W- A warning (PHP continues). equal to 0. Automation: Not applicable. System action: Displays the warning and continues interpreting the script. HPH00501 Unknown mode. Operator response: No System Operator response is required. Explanation: PHP encountered unknown mode as the second parameter passed to count_chars() function. User response: Make sure offset is greater than or equal to 0. Example: HPH00501 Unknown mode. System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is required. Source: PHP User response: Mode should be 0,1,2,3 or 4. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00504 Offset value integer exceeds string length. Routing code: Not applicable. Explanation: Offset value exceeds string length in Descriptor code: W- A warning (PHP continues). function substr_count(). Automation: Not applicable. integer Offset value HPH00502 Empty substring. Example: HPH00504 Offset value 100 exceeds string Explanation: PHP encountered empty string as the length. second parameter passed to substr_count() function. System action: Displays the warning and continues Example: HPH00502 Empty substring. interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Make sure the offset is less than the required. string length. User response: Make sure you are searching for a System programmer response: No System non-empty string. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). 116 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 127. HPH00505 Length should be greater than 0. HPH00507 Padding string cannot be empty. Explanation: Length should be greater than 0 in Explanation: When called with more than 2 function substr_count(). arguments, the function str_pad() pads a string with an empty string as its third argument. Example: HPH00505 Length should be greater than 0. Example: HPH00507 Padding string cannot be empty. System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Make sure the length is greater than 0. User response: Make sure the padding string is not empty. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00506 Length value integer exceeds string length. HPH00508 Padding type has to be STR_PAD_LEFT, STR_PAD_RIGHT, or Explanation: Length value exceeds string length in STR_PAD_BOTH. function substr_count(). Explanation: Padding type has to be integer STR_PAD_LEFT, STR_PAD_RIGHT, or length value STR_PAD_BOTH in function str_pad(). Example: HPH00506 Length value 200 exceeds string Example: HPH00508 Padding type has to be length. STR_PAD_LEFT, STR_PAD_RIGHT, or System action: Displays the warning and continues STR_PAD_BOTH. interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Make sure the offset plus the length required. is less than the string length. User response: Change the padding type to System programmer response: No System STR_PAD_LEFT, STR_PAD_RIGHT, or Programmer response is required. STR_PAD_BOTH. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Chapter 6. PHP messages 117
  • 128. HPH00509 The length of each segment must be HPH00511 The start position cannot exceed initial greater than zero. string length. Explanation: PHP encountered str_split() function Explanation: PHP encountered substr_compare() called with less-than-zero or zero length as its second function called with offset (the third argument) argument. exceeding initial string length. Example: HPH00509 The length of each segment Example: HPH00511 The start position cannot exceed must be greater than zero. initial string length. System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure the length of each User response: Make sure the start position does not segment is greater than zero. exceed the initial string length. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00510 The character list cannot be empty. HPH00512 Cannot mix ″%″ and ″%n$″ conversion specifiers Explanation: PHP encountered strpbrk() function called with empty character list as its second argument. Explanation: When reading from a string and interpreted it according to the specified format, ″scan″ Example: HPH00510 The character list cannot be function encountered the mixture of XPG3 specs and empty. non-XPG3 specs in the same format string. System action: Displays the warning and continues Example: HPH00512 cannot mix ″%″ and ″%n$″ interpreting the script. conversion specifiers Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Make sure the character list is not Operator response: No System Operator response is empty. required. System programmer response: No System User response: Make sure not to mix the conversion Programmer response is required. specifiers ″%″ and ″%n$″. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. 118 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 129. char HPH00513 Field width may not be specified in %c conversion character conversion Example: HPH00515 Bad scan conversion character Explanation: Field width may not be specified in %c ″a″ conversion. --REMOVE System action: Displays the warning and continues Example: HPH00513 Field width may not be specified interpreting the script. in %c conversion Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Correct the conversion character. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: No user response required. --REMOVE Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: I- An internal error not caused by HPH00516 Variable is assigned by multiple user (a programming error in PHP). ″%n$″ conversion specifiers Automation: Not applicable. Explanation: Variable is assigned by multiple ″%n$″ conversion specifiers. HPH00514 Unmatched [ in format string Example: HPH00516 Variable is assigned by multiple ″%n$″ conversion specifiers Explanation: PHP encountered an error of unmatched [ in format string. System action: Displays the warning and continues interpreting the script. Example: HPH00514 Unmatched [ in format string Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Verify that all variables were assigned Operator response: No System Operator response is only once. required. System programmer response: No System User response: Check to make sure all brackets (’[ ]’) Programmer response is required. in the string are matched. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00517 Variable is not assigned by any Automation: Not applicable. conversion specifiers Explanation: Variable is not assigned by any HPH00515 Bad scan conversion character ″char″ conversion specifiers. Explanation: PHP script encountered bad scan Example: HPH00517 Variable is not assigned by any conversion character conversion specifiers Chapter 6. PHP messages 119
  • 130. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Make sure the variable is assigned by Module: Not applicable. a conversion specifier. Routing code: Not applicable. System programmer response: No System Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP HPH00520 Parameter number must be passed by Module: Not applicable. reference Routing code: Not applicable. Explanation: Parameter must be passed by reference. Descriptor code: W- A warning (PHP continues). number Automation: Not applicable. The number of parameter Example: HPH00520 Parameter 3 must be passed by HPH00518 ″%n$″ argument index out of range reference Explanation: Argument index out of range. System action: Displays the warning and continues interpreting the script. Example: HPH00518 ″%n$″ argument index out of range Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: If any variables are passed, make sure they are all passed by reference. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Make sure the argument index of fscanf() or sscanf() is correct. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00521 Cannot convert to resource type Automation: Not applicable. Explanation: PHP script can not convert to resource type. HPH00519 Different numbers of variable names Example: HPH00521 Cannot convert to resource type and field specifiers System action: Displays the warning and continues Explanation: Different numbers of variable names and interpreting the script. field specifiers. Operator response: No System Operator response is Example: HPH00519 Different numbers of variable required. names and field specifiers User response: Set the second parameter of settype() System action: Displays the warning and continues to a valid type:integer(int),float,string, interpreting the script. array,object,boolean(bool),null. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Make sure the number of variable Problem determination: No additional information. names and field specifiers match. 120 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 131. Source: PHP HPH00525 Unable to parse url Module: Not applicable. Explanation: PHP encountered a malformed url Routing code: Not applicable. expression and was unable to parse it. Descriptor code: W- A warning (PHP continues). Example: HPH00525 Unable to parse url Automation: Not applicable. System action: Displays the warning and continues interpreting the script. HPH00522 Invalid type Operator response: No System Operator response is required. Explanation: PHP script encountered incorrect type in function settype(). User response: Ensure that the url is formatted correctly before attempting to parse it. Example: HPH00522 Invalid type System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is required. Source: PHP User response: Make sure the second parameter of Module: Not applicable. settype() is a valid type:nteger(int),float,double,string, Routing code: Not applicable. array,object,boolean(bool),resource,null. Descriptor code: W- A warning (PHP continues). System programmer response: No System Programmer response is required. Automation: Not applicable. Problem determination: No additional information. HPH00526 Invalid url component identifier long. Source: PHP Explanation: Incorrect url component identifier Module: Not applicable. long Routing code: Not applicable. a key for parse_url Descriptor code: W- A warning (PHP continues). Example: HPH00526 Invalid url component identifier 9 Automation: Not applicable. System action: Displays the warning and continues interpreting the script. HPH00523 Only one argument expected Operator response: No System Operator response is Explanation: PHP encountered ″is_type″ function that required. is called without any arguments. User response: Ensure the second parameter of the Example: HPH00523 Only one argument expected parse_url() function should be between 0 and 7. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Make sure to call ″is_type″ function Module: Not applicable. with only one argument. Routing code: Not applicable. System programmer response: No System Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP HPH00527 __sleep() should return an array Module: Not applicable. containing only the names of Routing code: Not applicable. instance-variables to serialize. Descriptor code: W- A warning (PHP continues). Explanation: __sleep() should return an array containing only the names of instance-variables to Automation: Not applicable. serialize. Chapter 6. PHP messages 121
  • 132. Example: HPH00527 __sleep() should return an array long only containing the names of instance-variables to Error at offset serialize. int total bytes System action: Displays the warning and continues Example: Notice: unserialize(): Error at offset 19 of 59 interpreting the script. bytes Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: The array __sleep() returns must only Operator response: No System Operator response is contain the names of instance-variables. required. System programmer response: No System User response: Make sure that the parameter passed Programmer response is required. to unserialize() is a valid string that was created using Problem determination: No additional information. the serialize() function. Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH00528 ″string″ returned as member variable Descriptor code: W- A warning (PHP continues). from __sleep() but does not exist Automation: Not applicable. Explanation: A non-existant string is returned as a member variable from __sleep() HPH00531 Argument is not a string string Explanation: This error occurs when the unserialize() the return name function is called with a parameter that is not a string. Example: HPH00528 ″″ returned as member variable Example: HPH00531 Argument is not a string from __sleep() but does not exist System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Correct the call to the unserialize() User response: Make sure the name of the string function, and make sure that the parameter being exists. passed is a string. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: N- An informational notice. Could be Automation: Not applicable. an error or could be normal behavior. Automation: Not applicable. HPH00530 Error at offset long of int bytes Explanation: PHP encountered a problem while trying to unserialize a byte stream. An incorrect string or incorrect function parameter can cause this error. 122 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 133. HPH00532 Failure evaluating code: string1 string2 HPH00534 Assertion failed Explanation: PHP encoutered that codes couldnot be Explanation: The condition passed to the assert evaluated function evaluated to FALSE. string1 Example: HPH00534 Assertion failed the newline symbol System action: Displays the warning and continues string2 interpreting the script. the content in the assert() Operator response: No System Operator response is Example: HPH00532 Failure evaluating code: required. assertion code User response: Investigate why the assertion failed. System action: PHP immediately stops interpreting Alternatively, remove the call to assert(). the file (before any statements are run) and exits. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Make sure the string should not Source: PHP include space,tab, and so on. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. HPH00535 Unknown value ’long’ Routing code: Not applicable. Explanation: The first parameter passed to the Descriptor code: F- A fatal error (PHP exits assert_options() function contained an unknown value. immediately). long Automation: Not applicable. the first parameter for assert_options() Example: HPH00535 Unknown value ’9’ HPH00533 Assertion ″string″ failed System action: Displays the warning and continues Explanation: PHP encoutered assertion failed interpreting the script. string Operator response: No System Operator response is an assertion name required. Example: HPH00533 Assertion ″a>3″ failed User response: The value must be one of the System action: Displays the warning and continues following: ASSERT_ACTIVE, ASSERT_CALLBACK, interpreting the script. ASSERT_BAIL, ASSERT_WARNING, or ASSERT_QUIET_EVAL. See PHP.net for more Operator response: No System Operator response is information. required. System programmer response: No System User response: Make sure to provide a suitable Programmer response is required. name. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Chapter 6. PHP messages 123
  • 134. System action: Displays the warning and continues HPH00536 The general Levenshtein support is not interpreting the script. there yet Operator response: No System Operator response is Explanation: The general Levenshtein support is not required. there yet. User response: Make sure the given address is Example: HPH00536 The general Levenshtein support available. is not there yet System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is required. Source: PHP User response: Not applicable Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00539 Invalid path provided in string Routing code: Not applicable. Explanation: PHP encountered an incorrect path Descriptor code: W- A warning (PHP continues). string a path name Automation: Not applicable. Example: HPH00539 Invalid path provided in /ttmp HPH00537 Argument string(s) too long System action: Displays the warning and continues interpreting the script. Explanation: Argument string(s) too long. Operator response: No System Operator response is Example: HPH00537 Argument string(s) too long required. System action: Displays the warning and continues User response: Make sure the path must be interpreting the script. available. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: The length of the first and second Problem determination: No additional information. parameters cannot be greater than 255. Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH00540 Error deleting file: string Descriptor code: W- A warning (PHP continues). Explanation: Error deleting file: Automation: Not applicable. string a file name HPH00538 Unable to connect to string Example: HPH00540 Error deleting file: 550 Could not Explanation: Unable to connect to delete /msg1/t.1 string System action: Displays the warning and continues a remote address interpreting the script. Example: HPH00538 Unable to connect to Operator response: No System Operator response is ftp://9.186.13.96/a.html required. 124 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 135. User response: Make sure the file exists. Routing code: Not applicable. System programmer response: No System Descriptor code: W- A warning (PHP continues). Programmer response is required. Automation: Not applicable. Problem determination: No additional information. Source: PHP HPH00551 Cannot construct User-agent header Module: Not applicable. Explanation: Cannot construct User-agent header. Routing code: Not applicable. Example: HPH00551 Cannot construct User-agent header Descriptor code: W- A warning (PHP continues). System action: Displays the warning and continues Automation: Not applicable. interpreting the script. Operator response: No System Operator response is HPH00542 Error renaming file: string required. Explanation: An error occurred while renaming file: User response: Make sure user_agent is not blank. string System programmer response: No System a file name Programmer response is required. Example: HPH00542 Error Renaming file: Could not Problem determination: No additional information. rename /msg1/t.1 Source: PHP System action: Displays the warning and continues interpreting the script. Module: Not applicable. Operator response: No System Operator response is Routing code: Not applicable. required. Descriptor code: W- A warning (PHP continues). User response: Make sure the filename is available. Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00552 Content-type not specified, assuming Problem determination: No additional information. application/x-www-form-urlencoded Source: PHP Explanation: PHP encountered the content-type was not specified. Module: Not applicable. Example: HPH00552 Content-type not specified Routing code: Not applicable. assuming application/x-www-form-urlencoded Descriptor code: W- A warning (PHP continues). System action: Displays the warning and continues Automation: Not applicable. interpreting the script. Operator response: No System Operator response is HPH00550 Redirection limit reached, aborting. required. Explanation: PHP encountered the redirection limit. User response: Ensure the content type has been specified. Example: HPH00550 Redirection limit reached, aborting. System programmer response: No System Programmer response is required. System action: Displays the warning and continues interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: Redirection cannot be less than 1. Routing code: Not applicable. System programmer response: No System Descriptor code: N- An informational notice. Could be Programmer response is required. an error or could be normal behavior. Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. Chapter 6. PHP messages 125
  • 136. HPH00553 Unable to create filter (string) HPH00555 No URL resource specified. Explanation: PHP encountered an unknown string Explanation: PHP encountered the URL resource was and was unable to use it as a filter not specified. string Example: HPH00555 No URL resource specified. a filter name System action: PHP immediately stops interpreting Example: HPH00553 Unable to create filter the file (before any statements are run) and exits. (onvert.base64-decode) Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Make sure the given string includes Operator response: No System Operator response is ’/resource=’. required. System programmer response: No System User response: Make sure the name of the filter is Programmer response is required. correct. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: F- A fatal error (PHP exits Module: Not applicable. immediately). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00556 Unexpected end of serialized data Explanation: PHP encountered the unexpected end of HPH00554 Max memory must be >= 0 serialized data Explanation: PHP encountered the max memory was Example: HPH00556 Unexpected end of serialized less than 0. data Example: HPH00554 Max memory must be >= 0 System action: Displays the warning and continues interpreting the script. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Make sure whether the data is legal for unserialize or not. User response: Check whether the given value of the parameter of ’/maxmemory=’ is >= 0. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: N- An informational notice. Could be an error or could be normal behavior. Descriptor code: F- A fatal error (PHP exits immediately). Automation: Not applicable. Automation: Not applicable. HPH00557 defined (string) but not found Explanation: PHP encountered a defined function, but it was not found. 126 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 137. string Example: HPH00559 Class aaa has no unserializer a function name System action: Displays the warning and continues Example: HPH00557 defined (tde) but not found interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Ensure the source data is a serializer required. for class. User response: Ensure the function has been System programmer response: No System defined. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00560 Insufficient data for unserializing - long required, integer present HPH00558 Function string() hasn’t defined the Explanation: Insufficient data for unserializing - long class it was called for required, integer present Explanation: PHP encountered a class had not been long defined in a function expected length string integer a function name present length Example: HPH00558 Function tstfnc() hasn’t defined Example: HPH00560 Insufficient data for unserializing the class it was called for - 4 required, 3 present System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Check whether the class which was User response: Make sure the data has not be called for has been defined in that function. modified. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00559 Class string has no unserializer HPH00561 Pathname is invalid Explanation: PHP encountered a class string that had Explanation: PHP encountered an invalid path name no unserializer Example: HPH00561 Pathname is invalid string a class name Chapter 6. PHP messages 127
  • 138. System action: Displays the warning and continues User response: User needs to modify the PHP script interpreting the script. according to the error message hints or consult with PHP manual at phpnet.. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Check whether the pathname ,the first parameter of the ftok(), is valid or not Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00564 filter property vanished Automation: Not applicable. Explanation: PHP encountered an error that a filter property vanished HPH00562 Project identifier is invalid Example: HPH00564 filter property vanished Explanation: PHP encountered an invalid project System action: Displays the warning and continues identifier. interpreting the script. Example: HPH00562 Project identifier is invalid Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Make sure the filter has some properties. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Check whether the length of the project identifier equals 1 or not. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00565 failed to call filter function Automation: Not applicable. Explanation: failed to call filter function Example: HPH00565 failed to call filter function HPH00563 ftok() failed - string System action: Displays the warning and continues Explanation: PHP encountered the function ftok() that interpreting the script. failed Operator response: No System Operator response is string required. error information User response: Make sure the filter function is Example: HPH00563 ftok() failed - EDC5129I No such available. file or directory. System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. 128 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 139. Routing code: Not applicable. HPH00568 stream filter (string): invalid byte Descriptor code: W- A warning (PHP continues). sequence Automation: Not applicable. Explanation: PHP stream filter encountered invalid byte sequence and the filter cannot continue to run HPH00566 Object has no bucket property string a filter name Explanation: Object has no bucket property Example: HPH00568 stream filter Example: HPH00566 Object has no bucket property (convert.base64-decode): invalid byte sequence System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: The object, the second parameter for User response: Ensure the stream has valid byte stream_bucket_prepend(), must have the bucket sequence. property. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00569 stream filter (string): insufficient buffer HPH00567 The given parameter is not a valid uuencoded string. Explanation: PHP stream filter encountered insufficient buffer Explanation: The given parameter is not a valid uuencoded string. string a filter name Example: HPH00567 The given parameter is not a valid uuencoded string. Example: HPH00569 stream filter (convert.base64-decode): insufficient buffer System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Make sure the given parameter is a valid string. User response: Ensure PHP stream is not too big or the buffer is big enough. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. Chapter 6. PHP messages 129
  • 140. HPH00570 stream filter (string): unexpected end of HPH00574 stream filter (string): unexpected octet stream values Explanation: PHP stream filter encountered an Explanation: PHP stream filter encountered unexpected end unexpected octet values string string a filter name a filter name Example: HPH00570 stream filter Example: HPH00574 stream filter (convert.base64-decode): unexpected end of stream (convert.base64-decode): unexpected octet values System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Ensure the stream has a correct end. User response: Ensure the stream does not have the unexpected octet values. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00571 stream filter (string): unknown error HPH00576 stream filter (string): invalid filter Explanation: PHP stream filter encountered an parameter unknown error Explanation: PHP stream filter encountered invalid string filter parameter a filter name string Example: HPH00571 stream filter a filter name (convert.base64-decode): unknown error Example: HPH00576 stream filter System action: Displays the warning and continues (convert.base64-decode): invalid filter parameter interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Make sure PHP stream filter was required. invoked correctly. User response: Ensure that either the parameter of System programmer response: No System PHP stream doesn’t exist, or it must be an array Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. 130 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 141. long HPH00578 descriptor spec must be an integer the descriptor indexed array string Explanation: The second parameter of the function of the error information proc_open() must be an integer indexed array if you use the number as the key of the array. Example: HPH00580 unable to dup File-Handle for descriptor 302 - unknown error. Example: HPH00578 descriptor spec must be an integer indexed array System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Check your File-Handle for descriptor User response: If the key of an indexed array System programmer response: No System represents number, we can use 0,1 and 2 . And 0 is Programmer response is required. stdin, 1 is stdout, while 2 is stderr. And you can find more information from the PHP manual. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00581 Descriptor item must be either an array or a File-Handle Automation: Not applicable. Explanation: Descriptor item must be either an array or a File-Handle HPH00579 -Removed Example: HPH00581 Descriptor item must be either Explanation: -Removed an array or a File-Handle Example: -Removed System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Descriptor item must be either an array or a File-Handle. User response: -Removed System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00582 Missing handle qualifier in array HPH00580 unable to dup File-Handle for descriptor long- string Explanation: Descriptor item array must contain the handle qualifier. Explanation: PHP was not able to dup File-Handle for descriptor Example: HPH00582 Missing handle qualifier in array Chapter 6. PHP messages 131
  • 142. System action: Displays the warning and continues User response: Check your PHP script. And interpreting the script. according to the error information, you can find more information from the USS manual. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: The handle qualifier, such as ″file″ , ″pipe″ and so on, must be supplied. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00585 Missing file name parameter for ’file’ Automation: Not applicable. Explanation: PHP needed a file name for the function ’proc_open()’ when its cmd used the ’file’. HPH00583 Missing mode parameter for ’pipe’ Example: HPH00585 Missing file name parameter for ’file’ Explanation: PHP need a mode parameter for ’pipe’, but the script was not given. System action: Displays the warning and continues interpreting the script. Example: HPH00583 Missing mode parameter for ’pipe’ Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: You must specify a file name for the first parameter which is ’file’. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: You should specify a pipe access mode, such as ’w’, ’r’, and so on, for the parameter for Problem determination: No additional information. ’pipe’. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00586 Missing mode parameter for ’file’ Descriptor code: W- A warning (PHP continues). Explanation: PHP needed an available access mode Automation: Not applicable. for the function ’proc_open()’ when its cmd used the ’file’. HPH00584 unable to create pipe ’string’ Example: HPH00586 Missing mode parameter for ’file’ Explanation: The system can not create a pipe System action: Displays the warning and continues interpreting the script. string the error message Operator response: No System Operator response is required. Example: HPH00584 unable to create pipe User response: You should specify a file access System action: Displays the warning and continues mode, such as ’a’, ’r’, and so on, for the first parameter interpreting the script. which is ’file’. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. 132 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 143. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00587 failed to open /dev/ptmx, errno integer HPH00589 pty pseudo terminal not supported on this system Explanation: PHP cannot open ’/dev/ptmx’ and the system offered an error No. Explanation: This system does not support the ’pty’ pseudo terminal. integer the error No. Example: HPH00589 pty pseudo terminal not supported on this system Example: HPH00587 failed to open /dev/ptmx, errno 65478 System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Now the uss does not support the ’pty’ pseudo terminal and there are more information for User response: Ensure the ’/dev/ptmx’ is available. the pseudo terminal you can find from the USS manual. And according to the error No, you can find more information from USS manual. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00590 ’string’ is not a valid descriptor spec/mode HPH00588 failed to open slave pty, errno integer Explanation: When running the function of Explanation: PHP cannot open the slave ’pty’ and the proc_open() , the descriptor is not valid system offered an error No. string integer the invalid descriptor spec or mode name the error No. Example: HPH00590 ppp is not a valid descriptor Example: HPH00588 failed to open slave pty, errno spec/mode 5739 System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Now the descriptor sepc or mode can User response: Ensure the slave ’pty’ is available. only support the ’file’, ’pty’ and ’pipe’. And according to the error No, you can find more information from USS manual. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Chapter 6. PHP messages 133
  • 144. Source: PHP HPH00593 fork failed - ’string’ Module: Not applicable. Explanation: PHP failed to fork a child process Routing code: Not applicable. string Descriptor code: W- A warning (PHP continues). the error no Automation: Not applicable. Example: HPH00593 fork failed - 98230 System action: Displays the warning and continues HPH00591 CreateProcess failed interpreting the script. Explanation: PHP failed to create the process. Operator response: No System Operator response is required. Example: HPH00591 CreateProcess failed User response: Check your PHP script. And System action: Displays the warning and continues according to the error no, you can find more information interpreting the script. from the USS manual. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Check your PHP script and your Problem determination: No additional information. system. And there are more information you can find from the USS manual. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00594 failed to create sockets: [’integer’]: ’string’ Descriptor code: W- A warning (PHP continues). Explanation: PHP failed to create sockets. Automation: Not applicable. integer error number HPH00592 -Removed string Explanation: -Removed error information Example: -Removed Example: HPH00594 failed to create sockets: [1114]: System action: Displays the warning and continues EDC8114I Address family not supported. interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: -Removed required. System programmer response: No System User response: Check your PHP script. And Programmer response is required. according to the error no and error message, you can find more information from the USS manual. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. 134 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 145. Routing code: Not applicable. HPH00595 unable to connect to ’string’ (’string’) Descriptor code: W- A warning (PHP continues). Explanation: PHP was not able to connect to a specified address. Automation: Not applicable. string a network address HPH00598 Failed to parse `string’ into a valid network address string error information Explanation: PHP encountered a string that could not be parsed into a valid network address. Example: HPH00595 unable to connect to ppp://192.168.1.1 (HPH00739 Unable to find the socket string transport ″ppp″ - did you forget to enable it when you a network address configured PHP?) Example: HPH00598 Failed to parse `asd’ into a valid System action: Displays the warning and continues network address interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Check your PHP script and make required. sure your address is available. And also you can find more information from the USS manual according to the User response: Ensure the address which is the error information. fourth parameter of the function of stream_socket_sendto() is available. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00597 accept failed: string HPH00599 Length parameter must be greater than Explanation: An error occured when PHP attempted 0. to accept some information from an address. Explanation: PHP encountered a length parameter string that was not greater than 0. error information Example: HPH00599 Length parameter must be Example: HPH00597 accept failed: Unknown error greater than 0. System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Check your PHP script. And User response: Make sure the length of the data you according to the error information, you can find more want to receive or read, and so on, is greater than 0. information from the USS manual. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Chapter 6. PHP messages 135
  • 146. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00602 No stream arrays were passed Explanation: There is no stream arrays as a HPH00604 failed to call user notifier parameter for the function of stream_select() Explanation: PHP failed to call user defined functions. Example: HPH00602 No stream arrays were passed Example: HPH00604 failed to call user notifier System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: At least you need provide a stream User response: Make sure your defined functions are array for stream_select() function. available. And there are more information you can find System programmer response: No System from PHP manual and the phpnet Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00603 unable to select [integer1]: string (max_fd=integer2) HPH00605 Invalid stream/context parameter. Explanation: PHP was not able to select with a file Explanation: PHP encountered an invalid description. stream/context parameter. integer1 Example: HPH00605 Invalid stream/context error no parameter. string System action: Displays the warning and continues error information interpreting the script. integer2 Operator response: No System Operator response is a file description required. Example: HPH00603 unable to select [11]: User response: Make sure your stream/context (max_fd=1234) parameter is available. And there are more information System action: Displays the warning and continues you can find from PHP manual and the phpnet . interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Make sure your file is available. And Source: PHP according to the error information and the error no, you can find more information from the USS manual. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. 136 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 147. HPH00606 called with wrong number or type of HPH00610 Unable to flush filter, not removing parameters; please RTM Explanation: PHP was not able to flush filter and was Explanation: PHP encountered the wrong number or not able to remove the filter. type of parameters Example: HPH00610 Unable to flush filter, not Example: HPH00606 called with wrong number or removing type of parameters; please RTM System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Check the PHP script. And according User response: Make sure your number or type of to the error no and error message, you can find more parameters are available. And there are more information from the z/OS UNIX manual. information you can find from PHP manual and the System programmer response: No System phpnet Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00611 Could not invalidate filter, not removing HPH00609 Invalid resource given, not a stream Explanation: PHP was not able to invalidate filter and filter was not able to remove the filter. Explanation: PHP needed a stream filter but an Example: HPH00611 Could not invalidate filter, not invalid resource was given. removing Example: HPH00609 Invalid resource given, not a System action: Displays the warning and continues stream filter interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Check the PHP script. And according required. to the error no and error message, you can find more User response: Make sure the given parameter is information from the z/OS UNIX manual. available.And there are more information you can find System programmer response: No System from PHP manual and the phpnet Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Chapter 6. PHP messages 137
  • 148. HPH00612 The maximum allowed length must be HPH00614 options should have the form greater than or equal to zero. [″wrappername″][″optionname″] = $value Explanation: An error occured when the maximum allowed length was less than zero. Explanation: In some cases the options should have the form [″wrappername″][″optionname″] = $value. Example: HPH00612 The maximum allowed length must be greater then or equal to zero. Example: HPH00614 options should have the form [″wrappername″][″optionname″] = $value System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Make sure the maximum allowed length is greater than or equal to zero. User response: Make sure the given options have the correct form. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00613 This function is deprecated, use stream_set_blocking() instead HPH00615 Error traversing form data array. Explanation: This function is not available.Please use Explanation: PHP can not traverse form data array. stream_set_blocking() instead. Example: HPH00615 Error traversing form data array. Example: HPH00613 This function is deprecated, use System action: Displays the warning and continues stream_set_blocking() instead interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Make sure the form data array is required. available. User response: This function is not available.You can System programmer response: No System find more related information from the PHP manual and Programmer response is required. the phpnet. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00616 Parameter 1 expected to be Array or Automation: Not applicable. Object. Incorrect value given. Explanation: The first parameter of the http_build_query() must be Array or Object. Example: HPH00616 Parameter 1 expected to be 138 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 149. Array or Object. Incorrect value given. Source: PHP System action: Displays the warning and continues Module: Not applicable. interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is Descriptor code: W- A warning (PHP continues). required. Automation: Not applicable. User response: Make sure the first parameter you input into the http_build_query() is an array or an object. HPH00620 -Removed System programmer response: No System Programmer response is required. Explanation: -Removed Problem determination: No additional information. Example: -Removed Source: PHP System action: Displays the warning and continues interpreting the script. Module: Not applicable. Operator response: No System Operator response is Routing code: Not applicable. required. Descriptor code: W- A warning (PHP continues). User response: -Removed Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00617 -Removed Problem determination: No additional information. Explanation: -Removed Source: PHP Example: -Removed Module: Not applicable. System action: Displays the warning and continues Routing code: Not applicable. interpreting the script. Descriptor code: W- A warning (PHP continues). Operator response: No System Operator response is required. Automation: Not applicable. User response: -Removed HPH00621 -Removed System programmer response: No System Programmer response is required. Explanation: -Removed Problem determination: No additional information. Example: HPH00621 Unable to allocate TLS table Source: PHP System action: Displays the warning and continues interpreting the script. Module: Not applicable. Operator response: No System Operator response is Routing code: Not applicable. required. Descriptor code: W- A warning (PHP continues). User response: -Removed Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00619 -Removed Problem determination: No additional information. Explanation: -Removed Source: PHP Example: -Removed Module: Not applicable. System action: Displays the warning and continues Routing code: Not applicable. interpreting the script. Descriptor code: Operator response: No System Operator response is required. Automation: Not applicable. User response: -Removed System programmer response: No System Programmer response is required. Problem determination: No additional information. Chapter 6. PHP messages 139
  • 150. System programmer response: No System HPH00622 -Removed Programmer response is required. Explanation: -Removed Problem determination: No additional information. Example: HPH00622 Unable to allocate resource Source: PHP types table Module: Not applicable. System action: Displays the warning and continues interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is Descriptor code: required. Automation: Not applicable. User response: -Removed System programmer response: No System HPH00625 -Removed Programmer response is required. Explanation: -Removed Problem determination: No additional information. Example: -Removed Source: PHP System action: Displays the warning and continues Module: Not applicable. interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is required. Descriptor code: User response: -Removed Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00623 -Removed Problem determination: No additional information. Explanation: -Removed Source: PHP Example: HPH00623 Started up TSRM, %d expected threads, %d expected resources″ Module: Not applicable. System action: Displays the warning and continues Routing code: Not applicable. interpreting the script. Descriptor code: Operator response: No System Operator response is required. Automation: Not applicable. User response: -Removed HPH00626 -Removed System programmer response: No System Programmer response is required. Explanation: -Removed Problem determination: No additional information. Example: -Removed Source: PHP System action: Displays the warning and continues interpreting the script. Module: Not applicable. Operator response: No System Operator response is Routing code: Not applicable. required. Descriptor code: User response: -Removed Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00624 -Removed Problem determination: No additional information. Explanation: -Removed Source: PHP Example: HPH00624 Shutdown TSRM″ Module: Not applicable. System action: Displays the warning and continues Routing code: Not applicable. interpreting the script. Descriptor code: Operator response: No System Operator response is required. Automation: Not applicable. User response: -Removed 140 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 151. Programmer response is required. HPH00627 -Removed Problem determination: No additional information. Explanation: -Removed Source: PHP Example: -Removed Module: Not applicable. System action: Displays the warning and continues interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is Descriptor code: required. Automation: Not applicable. User response: -Removed System programmer response: No System HPH00630 -Removed Programmer response is required. Explanation: -Removed Problem determination: No additional information. Example: -Removed Source: PHP System action: Displays the warning and continues Module: Not applicable. interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is required. Descriptor code: User response: -Removed Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00628 -Removed Problem determination: No additional information. Explanation: -Removed Source: PHP Example: -Removed Module: Not applicable. System action: Displays the warning and continues interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is Descriptor code: required. Automation: Not applicable. User response: -Removed System programmer response: No System HPH00631 -Removed Programmer response is required. Explanation: -Removed Problem determination: No additional information. Example: -Removed Source: PHP System action: Displays the warning and continues Module: Not applicable. interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is required. Descriptor code: W- A warning (PHP continues). User response: -Removed Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00629 -Removed Problem determination: No additional information. Explanation: -Removed Source: PHP Example: -Removed Module: Not applicable. System action: Displays the warning and continues interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is Descriptor code: required. Automation: Not applicable. User response: -Removed System programmer response: No System Chapter 6. PHP messages 141
  • 152. Programmer response is required. HPH00632 -Removed Problem determination: No additional information. Explanation: -Removed Source: PHP Example: -Removed Module: Not applicable. System action: Displays the warning and continues interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is Descriptor code: required. Automation: Not applicable. User response: -Removed System programmer response: No System HPH00635 -Removed Programmer response is required. Explanation: -Removed Problem determination: No additional information. Example: -Removed Source: PHP System action: Displays the warning and continues Module: Not applicable. interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is required. Descriptor code: User response: -Removed Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00633 -Removed Problem determination: No additional information. Explanation: -Removed Source: PHP Example: -Removed Module: Not applicable. System action: Displays the warning and continues interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is Descriptor code: required. Automation: Not applicable. User response: -Removed System programmer response: No System HPH00636 a parameter for fprintf(), will be deleted Programmer response is required. Explanation: a parameter for fprintf(), will be deleted Problem determination: No additional information. Example: HPH00636 a parameter for fprintf(), will be Source: PHP deleted Module: Not applicable. System action: Displays the warning and continues interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is Descriptor code: required. Automation: Not applicable. User response: a parameter for fprintf(), will be deleted HPH00634 -Removed System programmer response: No System Explanation: -Removed Programmer response is required. Example: -Removed Problem determination: No additional information. System action: Displays the warning and continues Source: PHP interpreting the script. Module: Not applicable. Operator response: No System Operator response is Routing code: Not applicable. required. Descriptor code: W- A warning (PHP continues). User response: -Removed Automation: Not applicable. System programmer response: No System 142 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 153. Operator response: No System Operator response is HPH00637 a parameter for fprintf(), will be deleted required. Explanation: a parameter for fprintf(), will be deleted User response: A parameter for zend_hash_update(), Example: HPH00637 a parameter for fprintf(), will be which will be deleted. deleted System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: a parameter for fprintf(), will be deleted Routing code: Not applicable. System programmer response: No System Descriptor code: W- A warning (PHP continues). Programmer response is required. Automation: Not applicable. Problem determination: No additional information. Source: PHP HPH00642 Cannot set time limit in safe mode Module: Not applicable. Explanation: User cannot use set_time_limit() in safe mode. Routing code: Not applicable. Example: HPH00642 Cannot set time limit in safe Descriptor code: W- A warning (PHP continues). mode Automation: Not applicable. System action: Displays the warning and continues interpreting the script. HPH00638 a parameter for fprintf(), will be deleted Operator response: No System Operator response is Explanation: a parameter for fprintf(), will be deleted required. Example: HPH00638 a parameter for fprintf(), will be User response: The function set_time_limit() has no deleted effect when PHP is running in safe mode. There are more information you can find from PHP manual and System action: Displays the warning and continues the phpnet . interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: a parameter for fprintf(), will be deleted Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00643 Failed opening ’string1’ for inclusion (include_path=’string2’) Descriptor code: W- A warning (PHP continues). Explanation: PHP failed to open a file for inclusion Automation: Not applicable. (include_path=file path). string1 HPH00640 php_errormsg a file name Explanation: A parameter for zend_hash_update(), string2 which will be deleted. a path name Example: HPH00640 php_errormsg Example: HPH00643 Failed opening ’a’ for inclusion System action: Displays the warning and continues (include_path=’.:’) interpreting the script. Chapter 6. PHP messages 143
  • 154. System action: Displays the warning and continues Example: HPH00645 Failed opening ’a’ for interpreting the script. highlighting Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Ensure the given parameter has the Operator response: No System Operator response is correct path and file name. required. System programmer response: No System User response: Make sure the given filename for Programmer response is required. highlighting is available. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00644 Failed opening required ’string1’ Automation: Not applicable. (include_path=’string2’) Explanation: PHP failed to open a required file which HPH00647 Unsupported content type: ’string’ liked ’include_path=a path name’. Explanation: PHP encounered an unsupported string1 content type. a file name string string2 content type a path name Example: HPH00647 Unsupported content type: ’’ Example: HPH00644 Failed opening required ’b’ System action: Displays the warning and continues (include_path=’.:’) interpreting the script. System action: PHP immediately stops interpreting Operator response: No System Operator response is the file (before any statements are run) and exits. required. Operator response: No System Operator response is User response: Make sure the content type is required. available. There are more information you can find from User response: Ensure the given parameter has the PHP manual and the phpnet . correct path and the file name System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: F- A fatal error (PHP exits Automation: Not applicable. immediately). Automation: Not applicable. HPH00648 Has been deleted Explanation: Has been deleted HPH00645 Failed opening ’string’ for highlighting Example: Has been deleted Explanation: PHP failed to open a file for highlighting. System action: Displays the warning and continues string interpreting the script. a file name 144 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 155. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Has been deleted Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: F- A fatal error (PHP exits Problem determination: No additional information. immediately). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00651 Cannot modify header information - headers already sent by (output started Descriptor code: W- A warning (PHP continues). at string:long) Automation: Not applicable. Explanation: User cannot modify header information - headers have already been sent. HPH00649 Debug information string Explanation: Debug information the original file name Example: Debug information long the line No where the error is in System action: Displays the warning and continues interpreting the script. Example: HPH00651 Cannot modify header information - headers already sent by (output started at Operator response: No System Operator response is /u/spring/msg/3.php:5) required. System action: Displays the warning and continues User response: Debug information interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Header information cannot be Source: PHP modified.There are more information you can find from PHP manual and the phpnet . Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00650 Illegal length modifier specified ’char’ in s[np]printf call Routing code: Not applicable. Explanation: PHP encountered the illegal length Descriptor code: W- A warning (PHP continues). modifier specified character in s[np]printf call. Automation: Not applicable. char a character HPH00652 Unable to access string Example: HPH00650 Illegal length modifier specified Explanation: PHP was not able to access a file. ’c’ in s[np]printf call string System action: PHP immediately stops interpreting a file name the file (before any statements are run) and exits. Example: HPH00652 Unable to access /a Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Make sure the parameter is suitable for the modifier specified character. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. Chapter 6. PHP messages 145
  • 156. User response: Make sure the file you want to access Problem determination: No additional information. is avaiable. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00655 SAFE MODE Restriction in effect. The Descriptor code: W- A warning (PHP continues). script whose uid/gid is long1/long2 is not allowed to access string owned by Automation: Not applicable. uid/gid long3/long4 Explanation: The script is not allowed to access the HPH00653 Cannot modify header information - script owned by a special uid/gid in SAFE MODE. headers already sent long1 Explanation: User cannot modify header information user id that has already been sent. long2 Example: HPH00653 Cannot modify header group id information - headers already sent string System action: Displays the warning and continues the file name interpreting the script. long3 Operator response: No System Operator response is the file’s user id required. long4 User response: Header information cannot be the file’s group id modified when that had been sent. Example: HPH00655 SAFE MODE Restriction in System programmer response: No System effect. The script whose uid/gid is 109/999 is not Programmer response is required. allowed to access /usr/passwd owned by uid/gid 0/0 Problem determination: No additional information. System action: Displays the warning and continues Source: PHP interpreting the script. Module: Not applicable. Operator response: No System Operator response is required. Routing code: Not applicable. User response: Make sure you can access the script Descriptor code: W- A warning (PHP continues). in SAFE MODE. Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00654 Header may not contain more than a Problem determination: No additional information. single header, new line detected. Source: PHP Explanation: PHP detected the new line symbol in header which may not be contained. Module: Not applicable. Example: HPH00654 Header may not contain more Routing code: Not applicable. than a single header, new line detected. Descriptor code: W- A warning (PHP continues). System action: Displays the warning and continues Automation: Not applicable. interpreting the script. Operator response: No System Operator response is HPH00656 SAFE MODE Restriction in effect. The required. script whose uid is long1 is not allowed User response: Ensure a header cannot contain the to access string owned by uid long2 new line symbol. Explanation: The script is not allowed to access the System programmer response: No System script owned by a special uid in SAFE MODE. Programmer response is required. 146 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 157. long1 Descriptor code: W- A warning (PHP continues). user id Automation: Not applicable. string the file name HPH00660 Actual POST length does not match long2 Content-Length, and exceeds long the file’s user id bytes Example: HPH00656 SAFE MODE Restriction in Explanation: PHP encountered the actual POST effect. The script whose uid is 1000899 is not allowed to length which didnot match Content-Length, and the post access /var owned by uid 0 length exceeded the max size. System action: Displays the warning and continues long interpreting the script. post max size Operator response: No System Operator response is Example: HPH00660 Actual POST length does not required. match Content-Length, and exceeds 8M bytes User response: Make sure you can access the script System action: Displays the warning and continues in SAFE MODE. interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Make sure the post length is equal to the content length. And the post content length cannot Source: PHP exceed the limit of post_max_size(normal 8M bytes). Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00659 POST Content-Length of long1 bytes Routing code: Not applicable. exceeds the limit of long2 bytes Descriptor code: W- A warning (PHP continues). Explanation: PHP encountered a content that was post that exceeded the limit. Automation: Not applicable. long1 post content length HPH00661 php_network_getaddresses: getaddrinfo failed: string long2 post max size Explanation: PHP failed to get the network address. Example: HPH00659 POST Content-Length of 9M string bytes exceeds the limit of 8M bytes error information System action: Displays the warning and continues Example: HPH00661 php_network_getaddresses: interpreting the script. getaddrinfo failed: getaddrinfo failed: EDC9501I The name does not resolve for the supplied parameters. Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Make sure the content length does not exceed the limit of post_max_size(normal 8M Operator response: No System Operator response is bytes). required. System programmer response: No System User response: Ensure the address information is Programmer response is required. available.And according to the error information you can find more related information from z/OS UNIX manual. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Chapter 6. PHP messages 147
  • 158. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH00664 Asynchronous connect() not supported Descriptor code: W- A warning (PHP continues). on this platform Automation: Not applicable. Explanation: This platform does not support the asynchronous connect. HPH00662 php_network_getaddresses: Example: HPH00664 Asynchronous connect() not getaddrinfo failed (null result pointer) supported on this platform Explanation: PHP failed to get a network address.. System action: Displays the warning and continues Example: HPH00662 php_network_getaddresses: interpreting the script. getaddrinfo failed (null result pointer) Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: You can find more information about Operator response: No System Operator response is the asynchronous connect from the z/OS UNIX manual. required. System programmer response: No System User response: Make sure the address information is Programmer response is required. available.And you can find more information from z/OS Problem determination: No additional information. UNIX manual. Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH00665 Failed to resolve `string1’: string2 Descriptor code: W- A warning (PHP continues). Explanation: PHP failed to resolve an ip address. Automation: Not applicable. string1 an IP address HPH00663 php_network_getaddresses: gethostbyname failed string2 error information Explanation: PHP failed to get the network host by the name. Example: HPH00665 Failed to resolve `192.186.111.111’: unknown error. Example: HPH00663 php_network_getaddresses: gethostbyname failed System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Make sure the IP address is available. And according to the error message, you can User response: Make sure your given name for the find more information from the z/OS UNIX manual. host information is available.And you can find more information from z/OS UNIX manual. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). 148 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 159. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00666 failed to bind to ’string1:integer’, system said: string2 HPH00668 Missing boundary in Explanation: PHP encountered a malformed IP multipart/form-data POST data address and a port which wwere unable to parse it. Explanation: PHP encountered the multipart/form-data string1 post data that missed boundary an IP address Example: HPH00668 Missing boundary in integer multipart/form-data POST data IP port System action: Displays the warning and continues string2 interpreting the script. error information Operator response: No System Operator response is Example: HPH00666 failed to bind to required. ’192.168.111.111:33333’, system said: cannot parse it. User response: Make sure the data has the complete System action: Displays the warning and continues boundaries. interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Make sure the IP address and port is Source: PHP available.And according to the error message, you can find more information from the z/OS UNIX manual. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00669 Cannot use output buffering in output buffering display handlers Routing code: Not applicable. Explanation: PHP did not surport the output buffering Descriptor code: W- A warning (PHP continues). which was used in output buffering display handlers Automation: Not applicable. Example: HPH00669 Cannot use output buffering in output buffering display handlers HPH00667 Invalid IP Address: string System action: PHP immediately stops interpreting Explanation: PHP encountered an invalid IP address. the file (before any statements are run) and exits. string Operator response: No System Operator response is an IP address required. Example: HPH00667 Invalid IP Address: 9.186.257.97 User response: Make sure your PHP scripts does not use output buffering in output buffering display handlers. System action: Displays the warning and continues interpreting the script. System programmer response: No System Programmer response is required. Operator response: No System Operator response is required. Problem determination: No additional information. User response: Ensure the ip address is available. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: F- A fatal error (PHP exits Source: PHP immediately). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Chapter 6. PHP messages 149
  • 160. HPH00670 output handler ’string1’ conflicts with HPH00672 failed to delete buffer. No buffer to ’string2’ delete. Explanation: PHP encountered an output handler Explanation: PHP failed to delete a buffer because which conflicted with another. that buffer did not exist. string1 Example: HPH00672 failed to delete buffer. No buffer handler name to delete. string2 System action: Displays the warning and continues handler set interpreting the script. Example: HPH00670 output handler ’ob_gzhandler’ Operator response: No System Operator response is conflicts with ’zlib output compression’ required. System action: Displays the warning and continues User response: Do not try to use function of interpreting the script. ob_clean() to delete a buffer that does not exist. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Make sure your handler name does Problem determination: No additional information. not conflict with another handler name. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: N- An informational notice. Could be Source: PHP an error or could be normal behavior. Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00673 failed to delete buffer string. Automation: Not applicable. Explanation: PHP failed to delete a buffer. string HPH00671 failed to flush buffer. No buffer to handler name flush. Example: HPH00673 failed to delete buffer callback. Explanation: PHP failed to flush a buffer because that System action: Displays the warning and continues buffer did not exist. interpreting the script. Example: HPH00671 failed to flush buffer. No buffer to Operator response: No System Operator response is flush. required. System action: Displays the warning and continues User response: Make sure the buffer you want to interpreting the script. delete is available. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Do not try to use function of Problem determination: No additional information. ob_flush() to flush a buffer that does not exist. Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: N- An informational notice. Could be an error or could be normal behavior. Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: N- An informational notice. Could be an error or could be normal behavior. Automation: Not applicable. 150 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 161. HPH00674 failed to delete and flush buffer. No HPH00676 Unable to initialize the input buffer buffer to delete or flush. Explanation: Unable to initialize the input buffer for Explanation: PHP failed to delete and flush a buffer ″content_type″. because that buffer did not exist. Example: Warning: HPH00676 Unable to initialize the Example: HPH00674 failed to delete and flush buffer. input buffer No buffer to delete or flush. System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure that web server work User response: Do not try to use function of normally.Please contact to WEB server administrator. ob_end_flush() to delete and flush a buffer that does not System programmer response: No System exist. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: N- An informational notice. Could be an error or could be normal behavior. HPH00677 File Upload Mime headers garbled Automation: Not applicable. Explanation: File Upload Mime headers garbled. HPH00675 Invalid boundary in multipart/form-data Example: Warning: HPH00677 File Upload Mime POST data headers garbled Explanation: Invalid boundary in multipart/form-data System action: Displays the warning and continues POST data. interpreting the script. Example: Warning: HPH00675 Invalid boundary in Operator response: No System Operator response is multipart/form-data POST data required. System action: Displays the warning and continues User response: Make sure that web server work interpreting the script. normally.Please contact web server administrator. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Make sure that web server work Problem determination: No additional information. normally.Please contact web server administrator. Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH00678 File upload error - unable to create a Descriptor code: W- A warning (PHP continues). temporary file Automation: Not applicable. Explanation: File upload error because PHP cannot create a temporary file. Example: Warning: HPH00678 File upload error - unable to create a temporary file Chapter 6. PHP messages 151
  • 162. System action: Displays the warning and continues Problem determination: No additional information. interpreting the script. Source: PHP Operator response: No System Operator response is Module: Not applicable. required. Routing code: Not applicable. User response: Make sure ″upload_tmp_dir″ directory exists and it is accessible. Descriptor code: W- A warning (PHP continues). System programmer response: No System Automation: Not applicable. Programmer response is required. Problem determination: No additional information. HPH00685 Use of ″zlib:″ wrapper is deprecated; please use ″compress.zlib://″ instead. Source: PHP Explanation: The PHP script is using the obsolete Module: Not applicable. ″zlib:″ compression wrapper. ″zlib:″ has been replaced Routing code: Not applicable. by the ″compress.zlib″ wrapper. Descriptor code: W- A warning (PHP continues). Example: Warning: fopen(): HPH00685 Use of ″zlib:″ wrapper is deprecated; please use ″compress.zlib://″ Automation: Not applicable. instead. in /home/mytx/debug_php/685.php on line 2 System action: Displays the warning and continues HPH00682 %s: %s interpreting the script. Explanation: --removed-- Operator response: No System Operator response is Example: HPH00682 %s: %s required. System action: Displays the warning and continues User response: Alter the PHP script to replace this interpreting the script. wrapper with ″compress.zlib://″. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: --removed-- Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00686 Unable to find the wrapper ’string’ - did you forget to enable it when you Automation: Not applicable. configured PHP? Explanation: The PHP script attempted to use an HPH00684 stream does not support seeking unsupported protocol wrapper. Consult the PHP Explanation: stream does not support seeking. documentation for a list of all supported protocol wrappers. Example: Warning: fseek(): HPH00684 stream does not support seeking in /home/mytx/debug_php/684.php string on line 17 Unknown or unsupported protocol name System action: Displays the warning and continues Example: Notice: fopen(): HPH00686 Unable to find interpreting the script. the wrapper ″telnet″ - did you forget to enable it when you configured PHP? in test.php on line 5 Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Make sure current stream support seeking method. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. 152 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 163. User response: Make sure PHP support current User response: ″File″ wrapper have been unregisterd, protocol wrapper. user must restore or register ″file″ wrapper before used it. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00687 remote host file access not supported, ’string’ HPH00689 URL file-access is disabled in the server configuration Explanation: The ″file″ protocol wrapper cannot be used with any hostnames other than ″localhost″. Explanation: When the setting ″allow_url_fopen″ is disabled in php.ini, calling the HTTP protocol wrapper in string PHP scripts will print this warning message. Other message information Example: Warning: fopen(): HPH00689 URL Example: Warning: fopen(): HPH00687 remote host file-access is disabled in the server configuration in file access not supported, file://localhost1/aaa.txt in test.php on line 5 test.php on line 5 System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: User need enable ″allow_url_fopen″ User response: file:// is the default protocol wrapper in php.ini. Otherwise, alter the script so that it does not in PHP and represents the local filesystem. Change the call the HTTP protocol wrapper. PHP script so that the URL resembles the following: ″file://localhost/...″. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00690 This function may only be used against URLs. HPH00688 Plainfiles wrapper disabled Explanation: This function may only be used against Explanation: Plainfiles wrapper disabled. URLs. Example: Warning: fopen(): HPH00688 Plainfiles Example: HPH00690 This function may only be used wrapper disabled in /home/mytx/debug_php/688.php on against URLs. line 53 System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. Chapter 6. PHP messages 153
  • 164. User response: Make sure that current wrapper Source: PHP support URLs. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: F- A fatal error (PHP exits Problem determination: No additional information. immediately). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00698 cannot cast a filtered stream on this system Descriptor code: W- A warning (PHP continues). Explanation: The PHP script casted a stream that Automation: Not applicable. have been filtered. Example: Warning: proc_open(): HPH00698 cannot HPH00691 could not make seekable - string cast a filtered stream on this system in Explanation: Current wrapper could not make /home/mytx/debug_php/698.php on line 22 seekable. System action: Displays the warning and continues string interpreting the script. File Name Operator response: No System Operator response is Example: Warning: HPH00691 could not make required. seekable - ″http://www.sina.com/index.html″ User response: Make sure that user cannot casted a System action: Displays the warning and continues stream that have been filtered. interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Make sure current wrapper supports Source: PHP seeking. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. HPH00699 cannot represent a stream of type Routing code: Not applicable. string1 as a string2 Descriptor code: W- A warning (PHP continues). Explanation: PHP cannot represent a stream of type Automation: Not applicable. as other descriptor . string1 HPH00697 fopencookie failed Stream Type Explanation: Fopencookie failed. string2 Descriptor Name Example: Fatal error: HPH00697 fopencookie failed Example: Warning: proc_open(): HPH00699 cannot System action: PHP immediately stops interpreting represent a stream of type user-space as a File the file (before any statements are run) and exits. Descriptor in /home/mytx/debug_php/699.php on line 66 Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Make sure can access cookie file and Operator response: No System Operator response is have enough memory. required. System programmer response: No System User response: Make sure that PHP cannot represent Programmer response is required. a stream of a type as other Descriptor, user can find Problem determination: No additional information. right descriptors in PHP manual. 154 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 165. System programmer response: No System User response: Check the script and make sure that Programmer response is required. the used stream filter name exist. Current version only support: string.rot13, string.toupper, string.tolower, Problem determination: No additional information. string.strip_tags, convert.*, convert.iconv.* OR other Source: PHP user-defined filters. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. HPH00700 unable to locate filter ’string’ Routing code: Not applicable. Explanation: PHP scripts used a undefined stream Descriptor code: W- A warning (PHP continues). filter factory. Automation: Not applicable. string stream filters name HPH00702 Filter failed to process pre-buffered Example: Warning: stream_filter_prepend(): data. Not adding to filterchain. HPH00700 unable to locate filter ″rot14″ in Explanation: Filter failed to process pre-buffered data. /home/mytx/debug_php/700.php on line 3 PHP cannot add it to filterchain. System action: Displays the warning and continues Example: Warning: HPH00702 Filter failed to process interpreting the script. pre-buffered data. Not adding to filterchain. Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Make sure that the used stream filter Operator response: No System Operator response is factory exist. Current version only support: string, required. convert, convert.iconv OR other user-defined filters factory. User response: If this first cycle simply fails then there’s something wrong with the filter. Pull the filter off System programmer response: No System the chain and leave the read buffer alone. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00701 unable to create or locate filter ’string’ Explanation: PHP scripts used a undefined stream HPH00703 unable to allocate stream filters. Explanation: PHP unable to allocate stream. string stream filters name Example: Warning: HPH00703 unable to allocate stream Example: Warning: stream_filter_prepend(): HPH00701 unable to create or locate filter ″string.rot4″ System action: Displays the warning and continues in /home/mytx/debug_php/700.php on line 3 interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: PHP unable to allocate stream, may required. be either: programmer error OR no memory. Chapter 6. PHP messages 155
  • 166. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: I- An internal error not caused by HPH00716 Protocol string:// is already defined. user (a programming error in PHP). Explanation: PHP register a URL wrapper that have Automation: Not applicable. been defined. string HPH00705 cannot seek on a pipe Protocol Name Explanation: PHP cannot seek on a pipe. Example: Warning: stream_wrapper_register(): HPH00716 Protocol php:// is already defined. in Example: Warning: fseek(): HPH00705 cannot seek /home/mytx/debug_php/716.php on line 77 on a pipe in /home/mytx/debug_php/705.php on line 4 System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure that wrapper protocol User response: make sure that the seeking file’s undefined, User can list all defined wrapper protocol handle isn’t a pipe. name by used follow scripts: System programmer response: No System print_r(stream_get_wrappers()); Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00706 `string’ is not a valid mode for fopen Explanation: PHP scripts used valid mode for fopen. HPH00717 Unable to register wrapper class string1 to string2:// string fopen mode Explanation: PHP cannot register a URL wrapper that implemented as a PHP class. Example: Warning: HPH00706 `h’ is not a valid mode for fopen string1 Class Name System action: Displays the warning and continues interpreting the script. string2 Protocol Name Operator response: No System Operator response is required. Example: Warning: HPH00717 Unable to register wrapper class AClass to AProtocol:// User response: Make sure that fopen’s mode allowed by the PHP defined, It should be any of the following: System action: Displays the warning and continues ’r’, ’r+’, ’w’, ’w+’, ’a’, ’a+’, ’x’, ’x+’. interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Make sure that PHP cannot register a URL wrapper implemented as a PHP class. 156 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 167. System programmer response: No System name by used follow scripts: Programmer response is required. print_r(stream_get_wrappers()); Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00718 class ’string’ is undefined Automation: Not applicable. Explanation: PHP used undeclare class in function stream_wrapper_register(). HPH00720 string:// was never changed, nothing to restore string class name Explanation: PHP cannot restore a stream wrapper that was never changed. Example: Warning: stream_register_wrapper(): HPH00718 class ’VariableStream1’ is undefined in string /home/mytx/debug_php/718.php on line 2 stream wrapper name System action: Displays the warning and continues Example: Notice: stream_wrapper_restore(): interpreting the script. HPH00720 file1:// was never changed, nothing to restore in /home/mytx/debug_php/720.php on line 6 Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Make sure that class name validated in function stream_wrapper_register(). Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Check PHP scripts, make sure that PHP changed stream wrapper before restoring. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00719 Unable to unregister protocol string:// Automation: Not applicable. Explanation: PHP unregister a URL wrapper that haven’t been defined. HPH00721 string:// never existed, nothing to string restore Protocol Name Explanation: PHP restored an undefined stream Example: Warning: stream_wrapper_unregister(): wrapper. HPH00719 Unable to unregister protocol php1:// in /home/mytx/debug_php/719.php on line 2 string stream wrapper name System action: Displays the warning and continues interpreting the script. Example: Warning: stream_wrapper_restore(): HPH00721 file1:// never existed, nothing to restore in Operator response: No System Operator response is /home/mytx/debug_php/721.php on line 6 required. System action: Displays the warning and continues User response: Make sure that wrapper protocol have interpreting the script. been defined, User can list all defined wrapper protocol Chapter 6. PHP messages 157
  • 168. Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Make sure that stream wrapper Operator response: No System Operator response is exists. required. System programmer response: No System User response: Make sure the wrapper support the Programmer response is required. ″write″ function. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00722 Unable to restore original string:// Automation: Not applicable. wrapper Explanation: PHP unable to restore original build-in HPH00724 string::″ USERSTREAM_WRITE ″ wrote wrapper that had been unregisterd. integer bytes more data than requested (integer written, integer max) string Protocol Name Explanation: PHP used stream wrapper that write data overflow. Example: Warning: HPH00722 Unable to restore original http:// wrapper string stream wrapper name System action: Displays the warning and continues interpreting the script. integer overflow bytes Operator response: No System Operator response is required. integer returned bytes User response: Make sure that the original wrapper had not been unregisterd. integer want writed bytes System programmer response: No System Programmer response is required. Example: Warning: fwrite(): HPH00724 mystream::stream_write wrote 97 bytes more data than Problem determination: No additional information. requested (100 written, 3 max) in /home/mytx/ Source: PHP debug_php/724.php on line 28 Module: Not applicable. System action: Displays the warning and continues interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is Descriptor code: W- A warning (PHP continues). required. Automation: Not applicable. User response: Check the ″write″ function code, make sure it is right. HPH00723 string::″ USERSTREAM_WRITE ″ is not System programmer response: No System implemented! Programmer response is required. Explanation: PHP used stream wrapper that does not Problem determination: No additional information. support the ″write″ function. Source: PHP string stream wrapper name Module: Not applicable. Example: Warning: fwrite(): HPH00723 Routing code: Not applicable. mystream::stream_write is not implemented! in Descriptor code: W- A warning (PHP continues). /home/mytx/debug_php/723.php on line 23 Automation: Not applicable. 158 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 169. System programmer response: No System HPH00725 string::″ USERSTREAM_READ ″ - read Programmer response is required. integer bytes more data than requested (integer read, integer max) - excess data Problem determination: No additional information. will be lost Source: PHP Explanation: PHP used stream wrapper that read data overflow. Module: Not applicable. string Routing code: Not applicable. stream wrapper name Descriptor code: W- A warning (PHP continues). integer Automation: Not applicable. overflow bytes integer HPH00727 string::″ USERSTREAM_TELL ″ is not returned bytes implemented! integer Explanation: PHP used stream wrapper that does not want readed bytes support the ″tell″ function. Example: Warning: fread(): HPH00725 string mystream::stream_read - read 1808 bytes more data stream wrapper name than requested (10000 read, 8192 max) - excess data will be lost in /home/mytx/debug_php/725.php on line 40 Example: Warning: fseek(): HPH00727 mystream::stream_tell is not implemented! in System action: Displays the warning and continues /home/mytx/debug_php/727.php on line 27 interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Check the ″read″ function code, make required. sure it is right. User response: Make sure the wrapper support the System programmer response: No System ″tell″ function. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00726 string::″ USERSTREAM_READ ″ is not implemented! HPH00728 string::″ USERSTREAM_STAT ″ is not Explanation: PHP used stream wrapper that does not implemented! support the ″read″ function. Explanation: PHP used stream wrapper that does not string support the ″stat″ function. stream wrapper name string Example: Warning: fread(): HPH00726 stream wrapper name mystream::stream_read is not implemented! in /home/mytx/debug_php/726.php on line 23 Example: Warning: fstat(): HPH00728 mystream::stream_stat is not implemented! in System action: Displays the warning and continues /home/mytx/debug_php/728.php on line 27 interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Make sure the wrapper support the required. ″read″ function. Chapter 6. PHP messages 159
  • 170. User response: Make sure the wrapper support the Operator response: No System Operator response is ″stat″ function. required. System programmer response: No System User response: Make sure the wrapper support the Programmer response is required. ″unlink″ function. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00729 string::″ USERSTREAM_LOCK ″ is not Automation: Not applicable. implemented! Explanation: PHP used stream wrapper that does not HPH00731 string::″ USERSTREAM_RENAME ″ is support the ″lock″ function. not implemented! string Explanation: PHP used stream wrapper that does not stream wrapper name support the ″rename″ function. Example: Warning: flock(): HPH00729 string mystream::stream_lock is not implemented! in stream wrapper name /home/mytx/debug_php/729.php on line 27 Example: Warning: rename(): HPH00731 System action: Displays the warning and continues mystream::rename is not implemented! in interpreting the script. /home/mytx/debug_php/731.php on line 23 Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Make sure the wrapper support the Operator response: No System Operator response is ″lock″ function. required. System programmer response: No System User response: Make sure the wrapper support the Programmer response is required. ″rename″ function. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00730 string::″ USERSTREAM_UNLINK ″ is not Automation: Not applicable. implemented! Explanation: PHP used stream wrapper that does not HPH00732 string::″ USERSTREAM_MKDIR ″ is not support the ″unlink″ function. implemented! string Explanation: PHP used stream wrapper that does not stream wrapper name support the ″mkdir″ function. Example: Warning: unlink(): HPH00730 string mystream::unlink is not implemented! in stream wrapper name /home/mytx/debug_php/730.php on line 27 Example: Warning: mkdir(): HPH00732 System action: Displays the warning and continues mystream::mkdir is not implemented! in interpreting the script. /home/mytx/debug_php/732.php on line 23 160 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 171. System action: Displays the warning and continues mystream::url_stat is not implemented! in interpreting the script. /home/mytx/debug_php/734.php on line 23 Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Make sure the wrapper support the Operator response: No System Operator response is ″mkdir″ function. required. System programmer response: No System User response: Make sure the wrapper support the Programmer response is required. ″url_stat″ function. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00733 string::″ USERSTREAM_RMDIR ″ is not Automation: Not applicable. implemented! Explanation: PHP used stream wrapper that does not HPH00735 string::″ USERSTREAM_DIR_READ ″ is support the ″rmdir″ function. not implemented! string Explanation: PHP used stream wrapper that does not stream wrapper name support the ″readdir″ function. Example: Warning: rmdir(): HPH00733 string mystream::rmdir is not implemented! in stream wrapper name /home/mytx/debug_php/733.php on line 23 Example: Warning: readdir(): HPH00735 System action: Displays the warning and continues mystream::dir_readdir is not implemented! in interpreting the script. /home/mytx/debug_php/735.php on line 23 Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Make sure the wrapper support the Operator response: No System Operator response is ″rmdir″ function. required. System programmer response: No System User response: Make sure the wrapper support the Programmer response is required. ″readdir″ function. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00734 string::″ USERSTREAM_STATURL ″ is Automation: Not applicable. not implemented! Explanation: PHP used stream wrapper that does not HPH00736 connect() failed: string support the ″url_stat″ function. Explanation: PHP connect to wrong URL link. string string stream wrapper name Error Detail Information Example: Warning: copy(): HPH00734 Example: Warning: fopen(): HPH00736 connect() Chapter 6. PHP messages 161
  • 172. failed: No route to host in /home/mytx/debug_php/ System action: Displays the warning and continues 736.php on line 4 interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Maybe nerwork error, user can see required. more detal information in this message. User response: Make sure that URL link is valid in System programmer response: No System connect function, user can find more information in Programmer response is required. current message. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00739 Unable to find the socket transport Automation: Not applicable. ″string″ - did you forget to enable it when you configured PHP? HPH00737 bind() failed: string Explanation: User used a unregisted protocol. Explanation: PHP bind to wrong IP or wrong port. string Protocol name string Error Detail Information Example: HPH00739 Unable to find the socket transport ″htcp″ - did you forget to enable it when you Example: Warning: fopen(): HPH00737 bind() failed: configured PHP? Cannot assign requested address in /home/mytx/debug_php/736.php on line 4 System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Make sure that URL’s protocol is valid, current version only support: tcp, udp, unix, udg. User response: Make sure that URL IP and port is For more information, user can consult with PHP valid in bind function, user can find more information in manual at www.php.net. current message. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00740 Unspecified error HPH00738 listen() failed: string Explanation: --remove-- Explanation: PHP listen wrong. Example: HPH00740 Unspecified error string Error Detail Information System action: Displays the warning and continues interpreting the script. Example: HPH00738 listen() failed: network error 162 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 173. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: --remove-- Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00744 cannot peek or fetch OOB data from a Routing code: Not applicable. filtered stream Descriptor code: W- A warning (PHP continues). Explanation: --removed-- Automation: Not applicable. Example: HPH00744 cannot peek or fetch OOB data from a filtered stream HPH00741 Could not find a factory !? System action: Displays the warning and continues interpreting the script. Explanation: PHP could not find this network factory. Operator response: No System Operator response is Example: Warning: HPH00741 Could not find a required. factory !? User response: --removed-- System action: Displays the warning and continues interpreting the script. System programmer response: No System Programmer response is required. Operator response: No System Operator response is required. Problem determination: No additional information. User response: Make sure that network factory is Source: PHP valid. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00745 cannot write OOB data, or data to a Routing code: Not applicable. targeted address on a filtered stream Descriptor code: W- A warning (PHP continues). Explanation: PHP cannot write OOB(out-of-band) data, or data to a targeted address on a filtered stream. Automation: Not applicable. Example: Warning: stream_socket_sendto(): HPH00745 cannot write OOB data, or data to a targeted HPH00742 this stream does not support address on a filtered stream in /home/mytx/debug_php/ SSL/crypto 745.php on line 26 Explanation: This stream does not support System action: Displays the warning and continues SSL/crypto. interpreting the script. Example: Warning: stream_socket_enable_crypto(): Operator response: No System Operator response is HPH00742 this stream does not support SSL/crypto in required. /home/mytx/debug_php/742.php on line 4 User response: Make sure that user cannot write System action: Displays the warning and continues OOB(out-of-band) data, or data to a targeted address interpreting the script. on a filtered stream. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Make sure that this stream support Problem determination: No additional information. SSL/crypto. Source: PHP System programmer response: No System Programmer response is required. Module: Not applicable. Chapter 6. PHP messages 163
  • 174. Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00752 Reducing stack by rule %d (line %u), Automation: Not applicable. Explanation: --removed-- HPH00746 send of integer1 bytes failed with Example: HPH00752 Reducing stack by rule %d (line errno=integer2 string %u), Explanation: PHP send failed. System action: Displays the warning and continues interpreting the script. integer1 Sent bytes Operator response: No System Operator response is required. integer2 Error ID User response: --removed-- string System programmer response: No System Error Information Programmer response is required. Example: Notice: HPH00746 send of 10244 bytes Problem determination: No additional information. failed with errno=100 Network is down Source: PHP System action: Displays the warning and continues Module: Not applicable. interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is required. Descriptor code: W- A warning (PHP continues). User response: Maybe network error, user can find Automation: Not applicable. more information in current message. System programmer response: No System HPH00755 Starting parsen Programmer response is required. Explanation: --removed-- Problem determination: No additional information. Example: HPH00755 Starting parsen Source: PHP System action: Displays the warning and continues Module: Not applicable. interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is required. Descriptor code: W- A warning (PHP continues). User response: --removed-- Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00749 Stack now Problem determination: No additional information. Explanation: --removed-- Source: PHP Example: HPH00749 Stack now Module: Not applicable. System action: Displays the warning and continues interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is Descriptor code: W- A warning (PHP continues). required. Automation: Not applicable. User response: --removed-- System programmer response: No System HPH00756 Stack size increased to %lun Programmer response is required. Explanation: --removed-- Problem determination: No additional information. Example: HPH00756 Stack size increased to %lun Source: PHP System action: Displays the warning and continues Module: Not applicable. interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is required. Descriptor code: W- A warning (PHP continues). 164 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 175. User response: --removed-- HPH00759 Now at end of input.n System programmer response: No System Explanation: --removed-- Programmer response is required. Example: HPH00759 Now at end of input.n Problem determination: No additional information. System action: Displays the warning and continues Source: PHP interpreting the script. Module: Not applicable. Operator response: No System Operator response is Routing code: Not applicable. required. Descriptor code: W- A warning (PHP continues). User response: --removed-- Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00757 Entering state %dn Problem determination: No additional information. Explanation: --removed-- Source: PHP Example: HPH00757 Entering state %dn Module: Not applicable. System action: Displays the warning and continues Routing code: Not applicable. interpreting the script. Descriptor code: W- A warning (PHP continues). Operator response: No System Operator response is Automation: Not applicable. required. User response: --removed-- HPH00760 Shifting token %s, System programmer response: No System Explanation: --removed-- Programmer response is required. Example: HPH00760 Shifting token %s, Problem determination: No additional information. System action: Displays the warning and continues Source: PHP interpreting the script. Module: Not applicable. Operator response: No System Operator response is Routing code: Not applicable. required. Descriptor code: W- A warning (PHP continues). User response: --removed-- Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00758 Reading a token: Problem determination: No additional information. Explanation: --removed-- Source: PHP Example: HPH00758 Reading a token: Module: Not applicable. System action: Displays the warning and continues Routing code: Not applicable. interpreting the script. Descriptor code: W- A warning (PHP continues). Operator response: No System Operator response is Automation: Not applicable. required. User response: --removed-- HPH00761 Shifting error token, System programmer response: No System Explanation: --removed-- Programmer response is required. Example: HPH00761 Shifting error token, Problem determination: No additional information. System action: Displays the warning and continues Source: PHP interpreting the script. Module: Not applicable. Operator response: No System Operator response is Routing code: Not applicable. required. Descriptor code: W- A warning (PHP continues). User response: --removed-- Automation: Not applicable. System programmer response: No System Chapter 6. PHP messages 165
  • 176. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00764 var: Deprecated. Please use the HPH00762 __HALT_COMPILER() can only be used public/private/protected modifiers from the outermost scope Explanation: PHP deprecated using ″var″. Explanation: __HALT_COMPILER() can only be used from the outermost scope. Example: Strict Standards: HPH00764 var: Deprecated. Please use the public/private/protected Example: Fatal error: HPH00762 modifiers in /home/mytx/debug_php/764.php on line 6 __HALT_COMPILER() can only be used from the outermost scope in /home/mytx/debug_php/762.php on System action: Displays the warning and continues line 8 interpreting the script. System action: PHP immediately stops interpreting Operator response: No System Operator response is the file (before any statements are run) and exits. required. Operator response: No System Operator response is User response: User should use following syntax, required. sush as ’public’ ’private’ and ’protected’. User response: Make sure not to use System programmer response: No System __HALT_COMPILER() function. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). HPH00765 Assigning the return value of new by Automation: Not applicable. reference is deprecated Explanation: PHP deprecated assigning the return HPH00763 use: Not yet supported. Please use value of new by reference. include_once() or require_once() Example: Strict Standards: HPH00765 Assigning the Explanation: PHP does not support use() now. return value of new by reference is deprecated in /home/mytx/debug_php/765.php on line 7 Example: Fatal error: HPH00763 use: Not yet supported. Please use include_once() or require_once() System action: Displays the warning and continues in /home/mytx/debug_php/763.php on line 4 interpreting the script. System action: PHP immediately stops interpreting Operator response: No System Operator response is the file (before any statements are run) and exits. required. Operator response: No System Operator response is User response: Make sure that user cannot assign required. the return value of new by reference. User response: PHP does not support use() now. System programmer response: No System User should replace it with include_once() or Programmer response is required. require_once(). Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. 166 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 177. Module: Not applicable. HPH00769 Unterminated comment starting line Routing code: Not applicable. integer Descriptor code: W- A warning (PHP continues). Explanation: User uses unterminated comment in PHP scripts. Automation: Not applicable. integer line number HPH00766 %sn Example: Warning: HPH00769 Unterminated comment Explanation: --removed-- starting line 3 in /home/mytx/debug_php/769.php on line Example: HPH00766 %sn 3 System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: --removed-- User response: Make sure that comment has terminated in PHP scripts. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00768 Hex number is too big: string HPH00770 Unexpected character in input: ’char’ Explanation: Hex number is too big. (ASCII=integer1) state=integer2 string Explanation: User uses an unexpected character in Hex number PHP scripts. Example: Notice: HPH00768 Hex number is too big: char 0x100000000000 in /home/mytx/debug_php/768.php on character line 7 integer1 System action: Displays the warning and continues decimalism interpreting the script. integer2 Operator response: No System Operator response is state required. Example: Warning: HPH00770 Unexpected character User response: Make sure that user should use hex in input: ’’ (ASCII=19) state=1 in /home/mytx/ number less than 0x7FFFFFFF. debug_php/770.php on line 2 System programmer response: No System System action: Displays the warning and continues Programmer response is required. interpreting the script. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: Make sure that user does not use unexpected characters in PHP scripts. Routing code: Not applicable. System programmer response: No System Descriptor code: N- An informational notice. Could be Programmer response is required. an error or could be normal behavior. Problem determination: No additional information. Automation: Not applicable. Source: PHP Chapter 6. PHP messages 167
  • 178. Module: Not applicable. HPH00777 fatal flex scanner internal error--no Routing code: Not applicable. action found Descriptor code: W- A warning (PHP continues). Explanation: --removed-- Automation: Not applicable. Example: HPH00777 fatal flex scanner internal error--no action found HPH00771 PHP: %s System action: Displays the warning and continues interpreting the script. Explanation: --removed-- Operator response: No System Operator response is Example: HPH00771 PHP: %s required. System action: Displays the warning and continues User response: --removed-- this message is used for interpreting the script. flex. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: --removed-- Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00778 fatal flex scanner internal error--end of Automation: Not applicable. buffer missed Explanation: --removed-- HPH00776 input in flex scanner failed Example: HPH00778 fatal flex scanner internal Explanation: --removed-- error--end of buffer missed Example: HPH00776 input in flex scanner failed System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: --removed-- this message is used for flex. User response: --removed-- this message is used for flex. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00779 input buffer overflow, can’t enlarge buffer because scanner uses REJECT Explanation: --removed-- Example: HPH00779 input buffer overflow, can’t enlarge buffer because scanner uses REJECT 168 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 179. System action: Displays the warning and continues User response: Internal error, Please report this bug interpreting the script. to PHP website. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: --removed-- this message is used for Problem determination: No additional information. flex, and this code is marked by MACRO Source: PHP YY_USES_REJECT. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: I- An internal error not caused by user (a programming error in PHP). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00782 out of dynamic memory in Descriptor code: W- A warning (PHP continues). yy_create_buffer() Automation: Not applicable. Explanation: Cannot malloc enough memory in yy_create_buffer(). HPH00780 fatal error - scanner input buffer Example: HPH00782 out of dynamic memory in overflow yy_create_buffer() Explanation: PHP encountered scanner input buffer System action: PHP immediately stops interpreting overflowing. the file (before any statements are run) and exits. Example: HPH00780 fatal error - scanner input buffer Operator response: No System Operator response is overflow required. System action: PHP immediately stops interpreting User response: Internal error, maybe system problem. the file (before any statements are run) and exits. Retry to run the scripts, if it reoccurs, please report it to PHP website phpnet. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Internal error, Please report this bug to PHP website. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: I- An internal error not caused by Module: Not applicable. user (a programming error in PHP). Routing code: Not applicable. Automation: Not applicable. Descriptor code: I- An internal error not caused by user (a programming error in PHP). HPH00783 out of dynamic memory in yy_scan_buffer() Automation: Not applicable. Explanation: Cannot malloc enough memory in yy_scan_buffer(). HPH00781 flex scanner push-back overflow Example: HPH00783 out of dynamic memory in Explanation: PHP encountered flex scanner yy_scan_buffer() push-back overflowing. System action: PHP immediately stops interpreting Example: HPH00781 flex scanner push-back overflow the file (before any statements are run) and exits. System action: PHP immediately stops interpreting Operator response: No System Operator response is the file (before any statements are run) and exits. required. Operator response: No System Operator response is User response: Internal error, maybe system problem. required. Chapter 6. PHP messages 169
  • 180. Retry to run the scripts, if it reoccurs, please report it to Programmer response is required. PHP website phpnet. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: I- An internal error not caused by Module: Not applicable. user (a programming error in PHP). Routing code: Not applicable. Automation: Not applicable. Descriptor code: I- An internal error not caused by user (a programming error in PHP). HPH00786 out of memory expanding Automation: Not applicable. start-condition stack Explanation: --removed-- HPH00784 out of dynamic memory in Example: HPH00786 out of memory expanding yy_scan_bytes() start-condition stack Explanation: Cannot malloc enough memory in System action: Displays the warning and continues yy_scan_bytes(). interpreting the script. Example: HPH00784 out of dynamic memory in Operator response: No System Operator response is yy_scan_bytes() required. System action: PHP immediately stops interpreting User response: --removed-- This code is marked by the file (before any statements are run) and exits. MACRO YY_NO_PUSH_STATE. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Internal error, maybe system problem. Problem determination: No additional information. Retry to run the scripts, if it reoccurs, please report it to PHP website phpnet. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: W- A warning (PHP continues). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00787 start-condition stack underflow Descriptor code: I- An internal error not caused by Explanation: --removed-- user (a programming error in PHP). Example: HPH00787 start-condition stack underflow Automation: Not applicable. System action: Displays the warning and continues interpreting the script. HPH00785 bad buffer in yy_scan_bytes() Operator response: No System Operator response is Explanation: PHP finds bad buffer in yy_scan_bytes(). required. Example: HPH00785 bad buffer in yy_scan_bytes() User response: --removed-- This code is marked by MACRO YY_NO_POP_STATE. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. System programmer response: No System Programmer response is required. Operator response: No System Operator response is required. Problem determination: No additional information. User response: Internal error, maybe system problem. Source: PHP Retry to run the scripts, if it reoccurs, please report it to PHP website phpnet. Module: Not applicable. System programmer response: No System Routing code: Not applicable. 170 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 181. Descriptor code: W- A warning (PHP continues). HPH00791 Allowed memory size of %d bytes Automation: Not applicable. exhausted (tried to allocate %d bytes)n HPH00788 Unexpected character on line %d: ’%s’ Explanation: --removed-- (ASCII %d)n Example: HPH00791 Allowed memory size of %d Explanation: --removed-- bytes exhausted (tried to allocate %d bytes)n Example: HPH00788 Unexpected character on line System action: Displays the warning and continues %d: ’%s’ (ASCII %d)n interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: --removed-- This code is marked by required. MACRO MEMORY_LIMIT.And don’t used ″enable-memory-limit″ configure parameter in current User response: --removed-- This code is marked by version. MACRO DEBUG. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00792 FATAL: emalloc(): Unable to allocate HPH00790 Allowed memory size of %d bytes integer bytesn exhausted at %s:%d (tried to allocate %d bytes)n Explanation: PHP is unable to allocate too large buffer. Explanation: --removed-- integer Example: HPH00790 Allowed memory size of %d malloc buffer’s size bytes exhausted at %s:%d (tried to allocate %d bytes)n Example: HPH00792 FATAL: emalloc(): Unable to System action: Displays the warning and continues allocate -2147483648 bytes interpreting the script. System action: PHP immediately stops interpreting Operator response: No System Operator response is the file (before any statements are run) and exits. required. Operator response: No System Operator response is User response: --removed-- This code is marked by required. MACRO MEMORY_LIMIT.And don’t used ″enable-memory-limit″ configure parameter in current User response: Make sure that user did not malloc version. too large buffer. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: F- A fatal error (PHP exits immediately). Automation: Not applicable. Automation: Not applicable. Chapter 6. PHP messages 171
  • 182. HPH00793 FATAL: erealloc(): Unable to allocate HPH00799 Memory block allocated at %s:(%d) on integer bytesn thread %x freed at %s:(%d) on thread %x, ignoring Explanation: PHP cannot realloc too large buffer. Explanation: --removed-- integer realloc buffer’s size Example: HPH00799 Memory block allocated at %s:(%d) on thread %x freed at %s:(%d) on thread %x, Example: HPH00793 FATAL: erealloc(): Unable to ignoring allocate 2147483648 bytesn System action: Displays the warning and continues System action: PHP immediately stops interpreting interpreting the script. the file (before any statements are run) and exits. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: --removed-- This code is marked by User response: Make sure that user havenot realloc MACRO TSRM_DEBUG. too large buffer. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: F- A fatal error (PHP exits immediately). Automation: Not applicable. Automation: Not applicable. HPH00800 Memory block allocated at %s:(%d) on thread %x reallocated at %s:(%d) on HPH00794 Memory cache statisticsn thread %x, duplicating Explanation: --removed-- Explanation: --removed-- Example: HPH00794 Memory cache statisticsn Example: HPH00800 Memory block allocated at System action: Displays the warning and continues %s:(%d) on thread %x reallocated at %s:(%d) on thread interpreting the script. %x, duplicating Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: --removed-- This code is marked by Operator response: No System Operator response is MACRO ZEND_DEBUG. required. System programmer response: No System User response: --removed-- This code is marked by Programmer response is required. MACRO TSRM_DEBUG. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. 172 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 183. Descriptor code: W- A warning (PHP continues). HPH00805 Possible integer overflow in memory allocation (integer1 * integer2 + integer3) Automation: Not applicable. Explanation: PHP find possible integer overflow in memory allocation. HPH00808 string1 function string2::string3() cannot be declared private integer1 member number Explanation: PHP find that abstract method is declared private. integer2 member size string1 Method Access Type integer3 offset string2 Class Name Example: Fatal error: HPH00805 Possible integer overflow in memory allocation (1 * 2147483648 + 0) in string3 /home/mytx/debug_php/805.php on line 5 Class Method Name System action: PHP immediately stops interpreting Example: Fatal error: HPH00808 Abstract function the file (before any statements are run) and exits. AbstractClass::getValue() cannot be declared private in /home/mytx/debug_php/808.php on line 7 Operator response: No System Operator response is required. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. User response: Check the size and make sure that member number multiplied by member sizes is valid. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Abstract method cann’t be declared private, make sure that abstract method’s type should Problem determination: No additional information. be protected or public. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: F- A fatal error (PHP exits Source: PHP immediately). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits HPH00807 Usage of {} to access string offsets is immediately). deprecated and will be removed in PHP 6 Automation: Not applicable. Explanation: --removed-- HPH00809 string1 function string2::string3() cannot Example: HPH00807 Usage of {} to access string contain body offsets is deprecated and will be removed in PHP 6 Explanation: PHP finds that abstract method contains System action: Displays the warning and continues body. interpreting the script. string1 Operator response: No System Operator response is Method Access Type required. string2 User response: --removed-- Class Name System programmer response: No System string3 Programmer response is required. Class Method Name Problem determination: No additional information. Example: Fatal error: HPH00809 Abstract function Source: PHP AbstractClass::getValue() cannot contain body in /home/mytx/debug_php/809.php on line 7 Module: Not applicable. System action: PHP immediately stops interpreting Routing code: Not applicable. the file (before any statements are run) and exits. Chapter 6. PHP messages 173
  • 184. Operator response: No System Operator response is the file (before any statements are run) and exits. required. Operator response: No System Operator response is User response: Make sure that abstract method does required. not contain body. User response: Make sure that PHP should not System programmer response: No System re-assign variable $this. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: F- A fatal error (PHP exits Routing code: Not applicable. immediately). Descriptor code: F- A fatal error (PHP exits Automation: Not applicable. immediately). Automation: Not applicable. HPH00810 Non-abstract method string1::string2() must contain body HPH00813 Can’t use method return value in write Explanation: PHP finds that non-abstract method context does not contain body. Explanation: PHP can’t use method return value in string1 write context. Class Name Example: Fatal error: HPH00813 Can’t use method string2 return value in write context in /home/mytx/debug_php/ Class Method Name 813.php on line 17 Example: Fatal error: HPH00810 Non-abstract method System action: PHP immediately stops interpreting AbstractClass::getValue() must contain body in the file (before any statements are run) and exits. /home/mytx/debug_php/810.php on line 7 Operator response: No System Operator response is System action: PHP immediately stops interpreting required. the file (before any statements are run) and exits. User response: Make sure that PHP should not use Operator response: No System Operator response is method return value in write context. required. System programmer response: No System User response: Make sure that non-abstract method Programmer response is required. contains body. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: F- A fatal error (PHP exits Module: Not applicable. immediately). Routing code: Not applicable. Automation: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). HPH00814 Can’t use function return value in write Automation: Not applicable. context Explanation: PHP can not use function return value in HPH00811 Cannot re-assign $this write context. Explanation: PHP can’t re-assign variable $this. Example: Fatal error: HPH00814 Can’t use function return value in write context in /home/mytx/debug_php/ Example: Fatal error: HPH00811 Cannot re-assign 814.php on line 10 $this in /home/mytx/debug_php/811.php on line 9 System action: PHP immediately stops interpreting System action: PHP immediately stops interpreting the file (before any statements are run) and exits. 174 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 185. Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Make sure that PHP does not use Source: PHP function return value in write context. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: F- A fatal error (PHP exits immediately). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00818 Multiple access type modifiers are not Descriptor code: W- A warning (PHP continues). allowed Automation: Not applicable. Explanation: PHP find that multiple access type modifiers are not allowed. HPH00815 Cannot use [] for reading Example: Fatal error: HPH00818 Multiple access type modifiers are not allowed in /home/mytx/debug_php/ Explanation: PHP cannot use [] for reading current 818.php on line 7 variable, maybe current variable is not an array. System action: PHP immediately stops interpreting Example: Fatal error: HPH00815 Cannot use [] for the file (before any statements are run) and exits. reading in /home/mytx/debug_php/815.php on line 4 Operator response: No System Operator response is System action: PHP immediately stops interpreting required. the file (before any statements are run) and exits. User response: Make sure not to use multiple access Operator response: No System Operator response is type modifiers. required. System programmer response: No System User response: Make sure that PHP should not use [] Programmer response is required. for reading current variable. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). Routing code: Not applicable. Automation: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). HPH00819 Cannot use the final modifier on an Automation: Not applicable. abstract class member Explanation: PHP can not use the final modifier on an HPH00817 Cannot use [] for unsetting abstract class member. Explanation: PHP cannot use [] for unsetting current Example: Fatal error: HPH00819 Cannot use the final variable, maybe current variable is not an array. modifier on an abstract class member in Example: Fatal error: HPH00817 Cannot use [] for /home/mytx/debug_php/819.php on line 8 unsetting in /home/mytx/debug_php/817.php on line 5 System action: PHP immediately stops interpreting System action: PHP immediately stops interpreting the file (before any statements are run) and exits. the file (before any statements are run) and exits. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure not to use the final User response: Make sure that PHP should not use [] modifier on an abstract class member. for unsetting current variable. System programmer response: No System System programmer response: No System Programmer response is required. Chapter 6. PHP messages 175
  • 186. Problem determination: No additional information. Operator response: No System Operator response is required. Source: PHP User response: Make sure not to redeclare methods Module: Not applicable. in a class. Routing code: Not applicable. System programmer response: No System Descriptor code: F- A fatal error (PHP exits Programmer response is required. immediately). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00820 Access type for interface method string1::string2() must be omitted Routing code: Not applicable. Explanation: PHP must omit access type for interface Descriptor code: F- A fatal error (PHP exits method. immediately). string1 Automation: Not applicable. Interface Name string2 HPH00822 Redefining already defined constructor Interface Method Name for class string Example: Fatal error: HPH00820 Access type for Explanation: PHP redefined a constructor that already interface method iTemplate::setVariable() must be defined. omitted in /home/mytx/debug_php/820.php on line 6 string System action: PHP immediately stops interpreting Class Name the file (before any statements are run) and exits. Example: Strict Standards: HPH00822 Redefining Operator response: No System Operator response is already defined constructor for class BaseClass in required. /home/mytx/debug_php/822.php on line 6 User response: Make sure that access type for System action: Displays the warning and continues interface method has been omitted. interpreting the script. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Make sure not to define aother constructor before user want defined a constructor . Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: F- A fatal error (PHP exits Source: PHP immediately). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH00821 Cannot redeclare string1::string2() Descriptor code: W- A warning (PHP continues). Explanation: User cannot redeclare methods in a Automation: Not applicable. class. string1 HPH00824 string() must take exactly 1 argument Class Name Explanation: __autoload function must take exactly string2 first argument. Class Method Name string Example: Fatal error: HPH00821 Cannot redeclare autoload function name Vegetable::is_edible() in /home/mytx/debug_php/ Example: Fatal error: HPH00824 __autoload() must 821.php on line 7 take exactly 1 argument in /home/mytx/debug_php/ System action: PHP immediately stops interpreting 824.php on line 6 the file (before any statements are run) and exits. 176 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 187. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. the file (before any statements are run) and exits. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure that default value for User response: Make sure that __autoload function parameters with array type hint should be an array or takes exactly first argument. NULL. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits Descriptor code: F- A fatal error (PHP exits immediately). immediately). Automation: Not applicable. Automation: Not applicable. HPH00825 Default value for parameters with a HPH00827 Cannot call __clone() method on class type hint can only be NULL objects - use ’clone $obj’ instead Explanation: Default value for parameters with a class Explanation: PHP can not call __clone() method on type hint can only be NULL. objects. Example: Fatal error: HPH00825 Default value for Example: Fatal error: HPH00827 Cannot call parameters with a class type hint can only be NULL in __clone() method on objects - use ’clone $obj’ instead /home/mytx/debug_php/825.php on line 7 in /home/mytx/debug_php/827.php on line 10 System action: PHP immediately stops interpreting System action: PHP immediately stops interpreting the file (before any statements are run) and exits. the file (before any statements are run) and exits. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure that default value for User response: User should replace __clone() parameters with a class type hint should be NULL. method by using ’clone $obj’ System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits Descriptor code: F- A fatal error (PHP exits immediately). immediately). Automation: Not applicable. Automation: Not applicable. HPH00826 Default value for parameters with array HPH00828 Clone method does not require type hint can only be an array or NULL arguments Explanation: Default value for parameters with array Explanation: Clone method does not require type hint can only be an array or NULL. arguments. Example: Fatal error: HPH00826 Default value for Example: Warning: HPH00828 Clone method does parameters with array type hint can only be an array or not require arguments NULL in /home/mytx/debug_php/826.php on line 4 System action: Displays the warning and continues System action: PHP immediately stops interpreting interpreting the script. Chapter 6. PHP messages 177
  • 188. Operator response: No System Operator response is string4 required. Child Class constructor Name User response: Make sure that clone method have no Example: Fatal error: HPH00830 Cannot override final arguments. AClass::__construct() with BClass::__construct() in /home/mytx/debug_php/830.php on line 12 System programmer response: No System Programmer response is required. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: User should not override final Routing code: Not applicable. constructor, and user must take out parent class constructor’s final types. Descriptor code: W- A warning (PHP continues). System programmer response: No System Automation: Not applicable. Programmer response is required. Problem determination: No additional information. HPH00829 Only variables can be passed by reference Source: PHP Explanation: The type of function parameter is error, Module: Not applicable. only variables can be passed. Routing code: Not applicable. Example: Fatal error: HPH00829 Only variables can Descriptor code: F- A fatal error (PHP exits be passed by reference in /home/mytx/debug_php/ immediately). 829.php on line 3 Automation: Not applicable. System action: Displays the warning and continues interpreting the script. HPH00831 Can’t inherit abstract function Operator response: No System Operator response is string1::string2() (previously declared required. abstract in string3) User response: Make sure that the type of function Explanation: PHP can not inherit abstract function parameter is variables. that is previously declared abstract in child class. System programmer response: No System string1 Programmer response is required. Parent Class Name Problem determination: No additional information. string2 Source: PHP Parent Class Method Name Module: Not applicable. string3 Child Class Name Routing code: Not applicable. Example: Fatal error: HPH00831 Can’t inherit abstract Descriptor code: F- A fatal error (PHP exits function Aclass::Afunc() (previously declared abstract in immediately). Bclass) in /home/mytx/debug_php/831.php on line 10 Automation: Not applicable. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. HPH00830 Cannot override final string1::string2() Operator response: No System Operator response is with string3::string4() required. Explanation: PHP can not override final constructor. User response: User could not inherit abstract string1 function that is previously declared abstract in child Parent Class Name class. string2 System programmer response: No System Parent Class constructor Name Programmer response is required. string3 Problem determination: No additional information. Child Class Name Source: PHP Module: Not applicable. 178 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 189. Routing code: Not applicable. Operator response: No System Operator response is required. Descriptor code: F- A fatal error (PHP exits immediately). User response: Make sure that user should not make non static method static in child class. Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00832 Cannot override final method string1::string2() Problem determination: No additional information. Explanation: PHP encountered that a class override Source: PHP final method. Module: Not applicable. string1 Routing code: Not applicable. Parent Class Name Descriptor code: F- A fatal error (PHP exits string2 immediately). Parent Class Method Name Automation: Not applicable. Example: Fatal error: HPH00832 Cannot override final method AClass::fa() in /home/mytx/debug_php/832.php on line 12 HPH00834 Cannot make static method string1::string2() non static in class System action: PHP immediately stops interpreting string3 the file (before any statements are run) and exits. Explanation: PHP can not make static method non Operator response: No System Operator response is static in child class. required. string1 User response: User should not override final Parent Class Name method, and user must take out parent class method’s final types. string2 Parent Class Method Name System programmer response: No System Programmer response is required. string3 Child Class Name Problem determination: No additional information. Example: Fatal error: HPH00834 Cannot make static Source: PHP method Aclass::Afunc() non static in class Bclass in Module: Not applicable. /home/mytx/debug_php/834.php on line 11 Routing code: Not applicable. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Descriptor code: F- A fatal error (PHP exits immediately). Operator response: No System Operator response is required. Automation: Not applicable. User response: User should not make static method non static in child class. HPH00833 Cannot make non static method string1::string2() static in class string3 System programmer response: No System Programmer response is required. Explanation: PHP cannot make non static method static in child class. Problem determination: No additional information. string1 Source: PHP Parent Class Name Module: Not applicable. string2 Routing code: Not applicable. Parent Class Method Name Descriptor code: F- A fatal error (PHP exits string3 immediately). Child Class Name Automation: Not applicable. Example: Fatal error: HPH00833 Cannot make non static method Aclass::Afunc() static in class Bclass in /home/mytx/debug_php/833.php on line 11 System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Chapter 6. PHP messages 179
  • 190. Operator response: No System Operator response is HPH00835 Cannot make non abstract method required. string1::string2() abstract in class string3 User response: Make sure that child class method’s Explanation: PHP can not make non abstract method access level is larger than parent class method’s access abstract in child class. level. string1 System programmer response: No System Parent Class Name Programmer response is required. string2 Problem determination: No additional information. Parent Class Method Name Source: PHP string3 Child Class Name Module: Not applicable. Example: Fatal error: HPH00835 Cannot make non Routing code: Not applicable. abstract method Aclass::Afunc() abstract in class Bclass in /home/mytx/debug_php/835.php on line 10 Descriptor code: F- A fatal error (PHP exits immediately). System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Automation: Not applicable. Operator response: No System Operator response is required. HPH00837 Declaration of string1::string2() must be compatible with that of string3::string4() User response: Make sure not to make non abstract method abstract in child class. Explanation: Methods declaration is differed between Parent class and Child class. System programmer response: No System Programmer response is required. string1 Child class name Problem determination: No additional information. string2 Source: PHP Child class methods name Module: Not applicable. string3 Parent Class name Routing code: Not applicable. string4 Descriptor code: F- A fatal error (PHP exits Parent Class methods name immediately). Example: Fatal error: HPH00837 Declaration of Automation: Not applicable. Bclass::Afunc() must be compatible with that of Aclass::Afunc() in /home/mytx/debug_php/837.php on HPH00836 Access level to string1::string2() must line 11 be string3 (as in class string4)string5 System action: PHP immediately stops interpreting Explanation: Child class method’s access level is the file (before any statements are run) and exits. larger than parent class method’s access level. Operator response: No System Operator response is string1 required. Child Class Name User response: Make sure that child class’s Methods string2 declaration and parent class’s methods declaration are Child Class Method Name the same. string3 System programmer response: No System Parent Class Method’s Acess Level Programmer response is required. string4 Problem determination: No additional information. Parent Class Name Source: PHP string5 Module: Not applicable. Parent Class Information Routing code: Not applicable. Example: Fatal error: HPH00836 Access level to Bclass::Afunc() must be public (as in class Aclass) in Descriptor code: F- A fatal error (PHP exits /home/mytx/debug_php/836.php on line 9 immediately). System action: PHP immediately stops interpreting Automation: Not applicable. the file (before any statements are run) and exits. 180 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 191. string5 HPH00838 Declaration of string1::string2() should Child Class Name be compatible with that of string3::string4() string6 Child Class members Name Explanation: Methods declaration is differed between Parent class and Child class when error_reporting is Example: Fatal error: HPH00839 Cannot redeclare equre to E_STRICT. static AClass::$str as non static BClass::$str in /home/mytx/debug_php/839.php on line 17 string1 Child class name System action: PHP immediately stops interpreting the file (before any statements are run) and exits. string2 Child class methods name Operator response: No System Operator response is required. string3 Parent Class name User response: Make sure that child calss members types and parent class members types are the same. string4 Parent Class methods name System programmer response: No System Programmer response is required. Example: Fatal error: HPH00838 Declaration of Bclass::Afunc() should be compatible with that of Problem determination: No additional information. Aclass::Afunc() in /home/mytx/debug_php/837.php on line 11 Source: PHP System action: Displays the warning and continues Module: Not applicable. interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is Descriptor code: F- A fatal error (PHP exits required. immediately). User response: Make sure that Child class’s methods Automation: Not applicable. declaration and Parent class’s are the same. System programmer response: No System HPH00840 Access level to string1::$string2 must Programmer response is required. be string3 (as in class string4)string5 Problem determination: No additional information. Explanation: Child class method’s access level is Source: PHP larger than parent class method’s access level. Module: Not applicable. string1 Child Class name Routing code: Not applicable. string2 Descriptor code: W- A warning (PHP continues). Child Class’s Method name Automation: Not applicable. string3 Parent Class Method’s Acess Level HPH00839 Cannot redeclare string1 string4 string2::$string3 as string4 Parent Class name string5::$string6 string5 Explanation: PHP encountered that have difference Parent Class Information between parent class members types and child class members types. Example: Fatal error: HPH00840 Access level to BClass::setVariable() must be public (as in class string1 AClass) in /home/mytx/debug_php/840.php on line 15 Parent Class members types System action: PHP immediately stops interpreting string2 the file (before any statements are run) and exits. Parent Class Name Operator response: No System Operator response is string3 required. Parent Class members Name User response: Make sure that Child class method’s string4 access level is larger than parent class’s. Child Class members types System programmer response: No System Programmer response is required. Chapter 6. PHP messages 181
  • 192. Problem determination: No additional information. string2 Interface name Source: PHP Example: Fatal error: HPH00842 Class AClass could Module: Not applicable. not implement interface AInterface Routing code: Not applicable. System action: PHP immediately stops interpreting Descriptor code: F- A fatal error (PHP exits the file (before any statements are run) and exits. immediately). Operator response: No System Operator response is Automation: Not applicable. required. User response: Make sure not to define an class that HPH00841 Cannot change initial value of property implement from interface. static protected string1::$string2 in System programmer response: No System class string3 Programmer response is required. Explanation: PHP can not change initial value that Problem determination: No additional information. property of extended class’s members is static and protected . Source: PHP string1 Module: Not applicable. Inherited class name Routing code: Not applicable. string2 Descriptor code: F- A fatal error (PHP exits Property Name immediately). string3 Automation: Not applicable. Extended class name Example: Fatal error: HPH00841 Cannot change initial HPH00843 Interface string cannot not implement value of property static protected Aclass::$var in class itself Bclass in /home/mytx/debug_php/841.php on line 13 Explanation: PHP encountered an interface that System action: PHP immediately stops interpreting implements from itself. the file (before any statements are run) and exits. string Operator response: No System Operator response is Interface name required. Example: Fatal error: HPH00843 Interface AInterface User response: Make sure not to change initial value cannot not implement itself that property of extended class’s members is static and protected . System action: PHP immediately stops interpreting the file (before any statements are run) and exits. System programmer response: No System Programmer response is required. Operator response: No System Operator response is required. Problem determination: No additional information. User response: Make sure not to define an interface Source: PHP that implements from itself. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: F- A fatal error (PHP exits Problem determination: No additional information. immediately). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00842 Class string1 could not implement interface string2 Descriptor code: F- A fatal error (PHP exits immediately). Explanation: PHP encountered an class that implement from interface. Automation: Not applicable. string1 Class name 182 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 193. Module: Not applicable. HPH00844 Interface string1 may not inherit from class (string2) Routing code: Not applicable. Explanation: PHP encountered an interface that Descriptor code: F- A fatal error (PHP exits inherts from a class. immediately). string1 Automation: Not applicable. Interface name string2 HPH00846 Cannot inherit previously-inherited Class name constant string1 from interface string2 Example: HPH00845 Interface BInterface may not Explanation: PHP encountered an object that inherits inherit from class (AClass) a previously inherited constant variable from an object interface. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. string1 The inherited constant variable Operator response: No System Operator response is required. string2 The interface User response: Make sure not to define an interface that inherts from a class. Example: HPH00846 Cannot inherit previously-inherited constant con from interface Bface System programmer response: No System Programmer response is required. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Problem determination: No additional information. Operator response: No System Operator response is Source: PHP required. Module: Not applicable. User response: Change the object so that it has a Routing code: Not applicable. proper constant variable that was not previously inherited. Descriptor code: F- A fatal error (PHP exits immediately). System programmer response: No System Programmer response is required. Automation: Not applicable. Problem determination: No additional information. HPH00845 Class string1 may not inherit from final Source: PHP class (string2) Module: Not applicable. Explanation: PHP encountered a class that inherts Routing code: Not applicable. from a final class. Descriptor code: F- A fatal error (PHP exits string1 immediately). The extended class name Automation: Not applicable. string2 The inherited class name HPH00847 Internal compiler error. Please report! Example: HPH00845 Class BClass may not inherit from final class (AClass) Explanation: The PHP compiler encountered an internal error. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Example: Fatal error: HPH00847 Internal compiler error. Please report! Operator response: No System Operator response is required. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. User response: Change the extended class so that it does not inherit from a final class or change the Operator response: No System Operator response is inherited class’s attribute. required. System programmer response: No System User response: Use local procedures for error Programmer response is required. reporting. Please report it to php website phpnet. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Chapter 6. PHP messages 183
  • 194. Problem determination: No additional information. Operator response: No System Operator response is required. Source: PHP User response: User should not redeclare function, Module: Not applicable. and user must rename ’redeclare’ function. Routing code: Not applicable. System programmer response: No System Descriptor code: I- An internal error not caused by Programmer response is required. user (a programming error in PHP). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00848 Cannot redeclare string1() (previously declared in string2:integer) Routing code: Not applicable. Explanation: PHP has encountered a function that is Descriptor code: F- A fatal error (PHP exits declared more than once. immediately). string1 Automation: Not applicable. The redeclared function’s name string2 HPH00850 Internal Zend error - Missing class The redeclared function’s path information for string integer Explanation: PHP missed class information. The redeclared function’s line number string Example: HPH00848 Cannot redeclare func() Class name (previously declared in test.php:5) Example: Fatal error: HPH00850 Internal Zend error - System action: PHP immediately stops interpreting Missing class information for AClass the file (before any statements are run) and exits. System action: PHP immediately stops interpreting Operator response: No System Operator response is the file (before any statements are run) and exits. required. Operator response: No System Operator response is User response: Remove the extraneous function required. declarations, or rename them so that the function is User response: Internal Zend error, please report this declared only once. bug on phpnet. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits Descriptor code: I- An internal error not caused by immediately). user (a programming error in PHP). Automation: Not applicable. Automation: Not applicable. HPH00849 Cannot redeclare string() HPH00851 Cannot redeclare class string Explanation: PHP can not redeclare function. Explanation: PHP encountered a class that is string declared more than once. function name string Example: Fatal error: HPH00849 Cannot redeclare The redeclared class name func1() (previously declared in /home/mytx/debug_php/ Example: HPH00851 Cannot redeclare class 849.php:4) in /home/mytx/debug_php/849.php on line 9 vegetable System action: PHP immediately stops interpreting System action: PHP immediately stops interpreting the file (before any statements are run) and exits. the file (before any statements are run) and exits. 184 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 195. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Remove the extraneous class User response: Internal Zend error, please report this declarations, or rename them so that the class is bug on phpnet. declared only once. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: I- An internal error not caused by Descriptor code: F- A fatal error (PHP exits user (a programming error in PHP). immediately). Automation: Not applicable. Automation: Not applicable. HPH00856 Class declarations may not be nested HPH00853 Class string1 cannot extend from Explanation: Class declarations may not be nested. interface string2 Example: Fatal error: HPH00856 Class declarations Explanation: PHP encountered a class that extends may not be nested in /home/mytx/debug_php/856.php from an interface. on line 10 string1 System action: PHP immediately stops interpreting The class name the file (before any statements are run) and exits. string2 Operator response: No System Operator response is The interface name required. Example: HPH00853 Class Aclass cannot extend from User response: Make sure that class declarations do interface Atemp not be nested, and user can not declaration a class in a System action: PHP immediately stops interpreting class methods. the file (before any statements are run) and exits. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Change the class to implement an Source: PHP interface so that it does not extend from the interface. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: F- A fatal error (PHP exits immediately). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00857 Cannot use ’string’ as class name as it Descriptor code: F- A fatal error (PHP exits is reserved immediately). Explanation: PHP encountered a class whose name Automation: Not applicable. conflicts with a PHP reserved identifier. string HPH00855 Invalid binding type The class name Explanation: PHP encountered invalid binding type. Example: Fatal error: HPH00855 Invalid binding type Example: HPH00857 Cannot use ’self’ as class name as it is reserved System action: PHP immediately stops interpreting the file (before any statements are run) and exits. System action: PHP immediately stops interpreting Chapter 6. PHP messages 185
  • 196. the file (before any statements are run) and exits. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Change the parent class name to something other than the reserved word ’parent’. User response: Make sure not to use ″self″ or ″parent″ as class name. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). Descriptor code: F- A fatal error (PHP exits immediately). Automation: Not applicable. Automation: Not applicable. HPH00860 Constructor string1::string2() cannot be static HPH00858 Cannot use ’self’ as class name as it is reserved Explanation: PHP encountered a class whose ″contructor″ function is static. Explanation: PHP encountered a parent class whose name is ’self’. string1 The class’s name Example: HPH00858 Cannot use ’self’ as class name as it is reserved string2 The ″contructor″ function’s name System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Example: HPH00860 Constructor Constructor_Cart::Constructor_Cart() cannot be static Operator response: No System Operator response is required. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. User response: Change the parent class name to something other than the reserved word ’self’. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Change the ″contructor″ function’s attribute so that it is not static. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: F- A fatal error (PHP exits Module: Not applicable. immediately). Routing code: Not applicable. Automation: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). HPH00859 Cannot use ’parent’ as class name as it is reserved Automation: Not applicable. Explanation: PHP encountered an parent class whose name is ’parent’. HPH00861 Destructor string1::string2() cannot be static Example: HPH00859 Cannot use ’parent’ as class name as it is reserved Explanation: PHP encountered a class whose ″destructor″ function is static. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. string1 The class’s name 186 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 197. string2 HPH00863 Cannot use ’self’ as interface name as The destructor function’s name it is reserved Example: HPH00861 Destructor A::__destruct() Explanation: PHP encountered a class that cannot be static implements an interface whose name is ’self’. System action: PHP immediately stops interpreting Example: HPH00863 Cannot use ’self’ as interface the file (before any statements are run) and exits. name as it is reserved Operator response: No System Operator response is System action: PHP immediately stops interpreting required. the file (before any statements are run) and exits. User response: Change the ″destructor″ function’s Operator response: No System Operator response is attribute so that it is not static. required. System programmer response: No System User response: Change the interface’s name to Programmer response is required. something other than the reserved word ’self’. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: F- A fatal error (PHP exits Module: Not applicable. immediately). Routing code: Not applicable. Automation: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). HPH00862 Clone method string1::string2() cannot Automation: Not applicable. be static Explanation: PHP encountered a class whose ″clone″ HPH00864 Cannot use ’parent’ as interface name method is static. as it is reserved string1 Explanation: PHP encountered a class that The class’s name implements an interface whose name is ’parent’. string2 Example: HPH00864 Cannot use ’parent’ as interface The clone method’s name name as it is reserved Example: HPH00862 Clone method A::__clone() System action: PHP immediately stops interpreting cannot be static the file (before any statements are run) and exits. System action: PHP immediately stops interpreting Operator response: No System Operator response is the file (before any statements are run) and exits. required. Operator response: No System Operator response is User response: Change the interface’s name to required. something other than the reserved word ’parent’. User response: Change the ″clone″ method’s attribute System programmer response: No System so that it is not static. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: F- A fatal error (PHP exits Routing code: Not applicable. immediately). Descriptor code: F- A fatal error (PHP exits Automation: Not applicable. immediately). Automation: Not applicable. Chapter 6. PHP messages 187
  • 198. HPH00865 Interfaces may not include member HPH00867 Cannot declare property variables string1::$string2 final, the final modifier is allowed only for methods Explanation: PHP encountered an interface that has member variables. Explanation: PHP encountered a class whose member variables are declared final. Example: HPH00865 Interfaces may not include member variables string1 The class’s name System action: PHP immediately stops interpreting the file (before any statements are run) and exits. string2 The member variable’s name Operator response: No System Operator response is required. Example: HPH00867 Cannot declare property A::$var final, the final modifier is allowed only for methods User response: Delete the interface’s member variables. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. System programmer response: No System Programmer response is required. Operator response: No System Operator response is required. Problem determination: No additional information. User response: Change the member variables’ Source: PHP properties so that they are not declared final. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: F- A fatal error (PHP exits Problem determination: No additional information. immediately). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00866 Properties cannot be declared abstract Descriptor code: F- A fatal error (PHP exits Explanation: PHP encountered a class whose immediately). member variables are declared abstract. Automation: Not applicable. Example: HPH00866 Properties cannot be declared abstract HPH00868 Cannot redeclare string1::$string2 System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Explanation: PHP encountered a class where a member variable is declared more than once. Operator response: No System Operator response is required. string1 The class’s name User response: Change the member variables’ properties so that they are not abstract. string2 The variable’s name System programmer response: No System Programmer response is required. Example: HPH00868 Cannot redeclare A::$var Problem determination: No additional information. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Source: PHP Operator response: No System Operator response is Module: Not applicable. required. Routing code: Not applicable. User response: Remove the extraneous variable Descriptor code: F- A fatal error (PHP exits declarations, or rename them so that the member immediately). variable is declared only once. Automation: Not applicable. System programmer response: No System Programmer response is required. Problem determination: No additional information. Source: PHP 188 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 199. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: F- A fatal error (PHP exits Module: Not applicable. immediately). Routing code: Not applicable. Automation: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). HPH00869 Arrays are not allowed in class Automation: Not applicable. constants Explanation: PHP encountered a class that contains HPH00871 Key element cannot be a reference array constants. Explanation: PHP encountered an array where the Example: HPH00869 Arrays are not allowed in class key element is a reference. constants Example: HPH00871 Key element cannot be a System action: PHP immediately stops interpreting reference the file (before any statements are run) and exits. System action: PHP immediately stops interpreting Operator response: No System Operator response is the file (before any statements are run) and exits. required. Operator response: No System Operator response is User response: Remove the array constants the class required. contains. User response: Change the key element from a System programmer response: No System reference to a variable. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: F- A fatal error (PHP exits Routing code: Not applicable. immediately). Descriptor code: F- A fatal error (PHP exits Automation: Not applicable. immediately). Automation: Not applicable. HPH00870 Cannot redefine class constant string1::string2 HPH00872 Cannot create references to elements Explanation: PHP encountered a class that contains of a temporary array expression constants defined more than once. Explanation: PHP can not create references to string1 elements of a temporary array expression. The class’s name Example: HPH00872 Cannot create references to string2 elements of a temporary array expression The contant’s name System action: PHP immediately stops interpreting Example: HPH00870 Cannot redefine class constant the file (before any statements are run) and exits. A::con Operator response: No System Operator response is System action: PHP immediately stops interpreting required. the file (before any statements are run) and exits. User response: Make sure not to create references to Operator response: No System Operator response is elements of a temporary array expression. required. System programmer response: No System User response: Remove the extraneous constant Programmer response is required. defines, or rename them so that the constant is defined only once. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Chapter 6. PHP messages 189
  • 200. Routing code: Not applicable. Automation: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). HPH00875 Cannot access self:: when no class scope is active Automation: Not applicable. Explanation: PHP encountered a self:: when trying to access members or methods from outside the class HPH00873 Cannot use constants as encoding definition. Explanation: PHP can not use constants as encoding. Example: HPH00875 Cannot access self:: when no Example: Fatal error: HPH00873 Cannot use class scope is active constants as encoding System action: PHP immediately stops interpreting System action: PHP immediately stops interpreting the file (before any statements are run) and exits. the file (before any statements are run) and exits. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Use self:: to access members or User response: Make sure not to use constants as methods from inside the class definition. encoding. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits Descriptor code: F- A fatal error (PHP exits immediately). immediately). Automation: Not applicable. Automation: Not applicable. HPH00876 Cannot access parent:: when no class HPH00874 Unsupported encoding [string] scope is active Explanation: PHP does not support current encoding. Explanation: PHP encountered a parent:: statement when accessing members or methods from outside the string class definition. Encoding Name Example: HPH00876 Cannot access parent:: when no Example: Warning: HPH00874 Unsupported encoding class scope is active [UTF8] System action: PHP immediately stops interpreting System action: Displays the warning and continues the file (before any statements are run) and exits. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Use parent:: to access members or User response: Make sure that PHP supported methods from inside the extending class definition. current encoding, user can find right encoding in PHP manual, phpnet. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. 190 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 201. Descriptor code: N- An informational notice. Could be HPH00877 Cannot access parent:: when current an error or could be normal behavior. class scope has no parent Automation: Not applicable. Explanation: PHP encountered an error that either a class contains a parent:: statement without extending to a parent class or parent:: statement is not used inside HPH00879 SIGSEGV caught on opcode %d on an object. opline %d of %s() at %s:%dnn Example: HPH00877 Cannot access parent:: when Explanation: --remove-- current class scope has no parent Example: HPH00879 SIGSEGV caught on opcode %d System action: PHP immediately stops interpreting on opline %d of %s() at %s:%dnn the file (before any statements are run) and exits. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Make sure parent:: statement is used required. inside an object first. And if the message reoccurs, either make sure the class has a parent class or User response: --remove-- It is marked by MACRO remove the ″parent::″. ZEND_DEBUG. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits Descriptor code: W- A warning (PHP continues). immediately). Automation: Not applicable. Automation: Not applicable. HPH00880 Use of undefined constant string - HPH00878 Constant con already defined assumed ’string’ Explanation: PHP encountered a constant that was Explanation: PHP encountered a constant that was defined more than once. not previously defined. con string The constant The constant Example: HPH00878 Constant a already defined Example: HPH00880 Use of undefined constant a - assumed ’a’ System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Remove the extraneous constant defines, or rename them so that the constant is defined User response: Define the constant before using it. only once. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: N- An informational notice. Could be an error or could be normal behavior. Chapter 6. PHP messages 191
  • 202. Automation: Not applicable. HPH00887 Class ’string’ not found Explanation: PHP encountered a class that was not HPH00882 Corrupted fcall_info provided to declared. zend_call_function() string Explanation: Corrupted fcall_info provided to The class zend_call_function() Example: Fatal error: HPH00882 Corrupted fcall_info provided to zend_call_function() Example: HPH00887 Class ’A’ not found System action: PHP immediately stops interpreting System action: PHP immediately stops interpreting the file (before any statements are run) and exits. the file (before any statements are run) and exits. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Internal error, please report this bug User response: Remove the usage of the class, or on phpnet. define the class so that it can be found. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: I- An internal error not caused by Descriptor code: F- A fatal error (PHP exits user (a programming error in PHP). immediately). Automation: Not applicable. Automation: Not applicable. HPH00883 Cannot use call_user_function on HPH00888 Non-callable array passed to objects without a class entry zend_call_function() Explanation: PHP cannot use call_user_function on Explanation: Non-callable array passed to objects without a class entry. zend_call_function(). Example: HPH00883 Cannot use call_user_function Example: HPH00888 Non-callable array passed to on objects without a class entry zend_call_function() System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure not to use User response: Make sure not to pass non-callable call_user_function on objects without a class entry. array to zend_call_function(). System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: N- An informational notice. Could be an error or could be normal behavior. Automation: Not applicable. Automation: Not applicable. 192 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 203. Source: PHP HPH00889 Cannot call method string() or method does not exist Module: Not applicable. Explanation: PHP can not call method or method Routing code: Not applicable. does not exist. Descriptor code: F- A fatal error (PHP exits string immediately). Method Name Automation: Not applicable. Example: HPH00889 Cannot call method func1() or method does not exist HPH00891 Object does not support method calls System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Explanation: Object does not support method calls. Operator response: No System Operator response is Example: HPH00891 Object does not support method required. calls User response: Please do not call current method in System action: PHP immediately stops interpreting PHP scripts, or make sure the method exists. the file (before any statements are run) and exits. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Make sure that current object supports method calls. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: F- A fatal error (PHP exits Source: PHP immediately). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH00890 Cannot call method string1() of class Descriptor code: F- A fatal error (PHP exits string2 which is not a derived from immediately). string3 Automation: Not applicable. Explanation: PHP can not call a class method which is not derived from parent class or other scopes. HPH00892 Cannot call method string1::string2() or string1 method does not exist Method Name Explanation: PHP can not call method or method string2 does not exist. Class Name string1 string3 Class Name Call Scope Name string2 Example: HPH00890 Cannot call method func1() of Method Name class AClass which is not a derived from BClass Example: HPH00892 Cannot call method System action: PHP immediately stops interpreting AClass::AMethod() or method does not exist the file (before any statements are run) and exits. System action: PHP immediately stops interpreting Operator response: No System Operator response is the file (before any statements are run) and exits. required. Operator response: No System Operator response is User response: Make sure not to call a class method required. which is not a derived from parent class or other User response: Make sure either not to call the scopes. method, or the method exists. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Chapter 6. PHP messages 193
  • 204. Source: PHP Operator response: No System Operator response is required. Module: Not applicable. User response: Make sure that __autoload() function Routing code: Not applicable. does not threw an exception. Descriptor code: F- A fatal error (PHP exits System programmer response: No System immediately). Programmer response is required. Automation: Not applicable. Problem determination: No additional information. Source: PHP HPH00893 Non-static method string1::string2() cannot be called statically Module: Not applicable. Explanation: Non-static method cannot be called Routing code: Not applicable. statically. Descriptor code: F- A fatal error (PHP exits string1 immediately). Class Name Automation: Not applicable. string2 Method Name HPH00895 Maximum execution time of integer Example: HPH00893 Non-static method second string exceeded AClass::Func1() cannot be called statically Explanation: PHP scripts have been executed System action: PHP immediately stops interpreting timeout. the file (before any statements are run) and exits. integer Operator response: No System Operator response is Timeout time required. string User response: Make sure that only static method Single or Plural form can be called statically. Example: HPH00895 Maximum execution time of 30 System programmer response: No System seconds exceeded Programmer response is required. System action: PHP immediately stops interpreting Problem determination: No additional information. the file (before any statements are run) and exits. Source: PHP Operator response: No System Operator response is required. Module: Not applicable. User response: Make sure that PHP scripts could not Routing code: Not applicable. be executed timeout when ″max_execution_time″ is Descriptor code: F- A fatal error (PHP exits defined in php.ini. immediately). System programmer response: No System Automation: Not applicable. Programmer response is required. Problem determination: No additional information. HPH00894 Function string1(string2) threw an Source: PHP exception of type ’string3’ Module: Not applicable. Explanation: __autoload() function can not threw an exception. Routing code: Not applicable. string1 Descriptor code: F- A fatal error (PHP exits Function type immediately). string2 Automation: Not applicable. Function Name string3 HPH00899 Interface ’string’ not found Exception Name Explanation: Current interface could not be found in Example: HPH00894 Function __autoload(func1) PHP scripts. threw an exception of type ’AException’ string System action: PHP immediately stops interpreting Interface Name the file (before any statements are run) and exits. 194 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 205. Example: HPH00899 Interface ’AInterface’ not found Automation: Not applicable. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. HPH00902 Cannot convert to ordinal value Operator response: No System Operator response is Explanation: PHP cannot convert current variable to required. ordinal value. User response: Make sure that current interface Example: HPH00902 Cannot convert to ordinal value exists. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: Make sure not to convert current variable to ordinal value, curret variable’s type maybe is Module: Not applicable. CONSTANT ot CONSTANT ARRAY. Routing code: Not applicable. System programmer response: No System Descriptor code: F- A fatal error (PHP exits Programmer response is required. immediately). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH00901 Class string1 contains integer abstract methodstring2 and must therefore be Routing code: Not applicable. declared abstract or implement the Descriptor code: W- A warning (PHP continues). remaining methods (method ) Automation: Not applicable. Explanation: PHP encountered a class that is not declared abstract but has abstract methods. HPH00903 Object of class string could not be string1 converted to int The class Explanation: PHP could not convert object of class integer into int. The abstract method num string string2’s’ or nothing to indicate the abstract method The class form, plural or single methodsThe methods to implement Example: HPH00903 Object of class Exception could Example: HPH00901 Class A contains 2 abstract not be converted to int methods and must therefore be declared abstract or implement the remaining methods (A::fa, A::fb) System action: Displays the warning and continues interpreting the script. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Make sure not to convert an object to int. If you really want to convert a class to int, check the User response: Declare the class abstract or make it ze1_compatibility_mode in php.ini and enable it to implement the remaining methods. prevent this message. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits Descriptor code: N- An informational notice. Could be immediately). Chapter 6. PHP messages 195
  • 206. an error or could be normal behavior. Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00905 Object of class string could not be Automation: Not applicable. converted to double Explanation: PHP could not convert object of class HPH00907 Array to string conversion into double. Explanation: PHP encountered a conversion from string array to string. The object name Example: HPH00907 Array to string conversion System action: Displays the warning and continues Example: HPH00905 Object of class Exception could interpreting the script. not be converted to double Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Use ″(string)″ cast to convert an array Operator response: No System Operator response is to string. required. System programmer response: No System User response: Make sure not to convert an object to Programmer response is required. double. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: N- An informational notice. Could be an error or could be normal behavior. Routing code: Not applicable. Automation: Not applicable. Descriptor code: N- An informational notice. Could be an error or could be normal behavior. HPH00908 Object of class string to string Automation: Not applicable. conversion Explanation: PHP encountered a conversion from HPH00906 Cannot convert to real value object of class to string. (type=integer) string Explanation: PHP cannot convert current variable to The object name real value. integer Variable Type Example: HPH00908 Object of class Exception to string conversion Example: HPH00906 Cannot convert to real value (type=9) System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Use ″(string)″ cast to convert object of class to string. User response: Make sure not to convert current variable to real value, current variable’s type maybe is System programmer response: No System CONSTANT ot CONSTANT ARRAY. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP 196 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 207. Routing code: Not applicable. HPH00917 Internal zval’s can’t be arrays, objects Descriptor code: N- An informational notice. Could be or resources an error or could be normal behavior. Explanation: Property of Internal class can’t be Automation: Not applicable. arrays, objects or resources. Example: HPH00917 Internal zval’s can’t be arrays, HPH00909 Unsupported operand types objects or resources Explanation: PHP encountered operand types that are System action: PHP immediately stops interpreting not supported. the file (before any statements are run) and exits. Example: HPH00909 Unsupported operand types Operator response: No System Operator response is required. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. User response: Make sure that property of internal class can not be array, object or resource. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Change the operand types to double, long or array so that they are supported. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: F- A fatal error (PHP exits Module: Not applicable. immediately). Routing code: Not applicable. Automation: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). HPH00919 Object of class %s could not be converted to string Automation: Not applicable. Explanation: --removed-- HPH00912 Division by zero Example: HPH00919 Object of class %s could not be converted to string Explanation: PHP encountered an expression that the denominator is zero. System action: Displays the warning and continues interpreting the script. Example: HPH00912 Division by zero Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: --removed-- This source code have Operator response: No System Operator response is been marked by MACRO #if 0. required. System programmer response: No System User response: Change the denominator so that it is Programmer response is required. not zero. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Chapter 6. PHP messages 197
  • 208. HPH00921 %s(%d) : Bailed out without a bailout HPH00923 Wrong parameter count for address! string1string2string3() Explanation: --removed-- Explanation: PHP encountered a function that has wrong parameter count. Example: HPH00921 %s(%d) : Bailed out without a bailout address! string1 The class System action: Displays the warning and continues interpreting the script. string2 Space or ″::″ Operator response: No System Operator response is required. string3 The function User response: --removed-- This is debug message, marked by MACRO ZEND_DEBUG. System programmer response: No System Example: HPH00923 Wrong parameter count for Programmer response is required. session_save_path() Problem determination: No additional information. System action: Displays the warning and continues interpreting the script. Source: PHP Operator response: No System Operator response is Module: Not applicable. required. Routing code: Not applicable. User response: Check and change the parameters so Descriptor code: W- A warning (PHP continues). that the function has the right number of parameter markers present in the prepared statement. Automation: Not applicable. System programmer response: No System Programmer response is required. HPH00922 Implicit cloning object of class ’string’ because of Problem determination: No additional information. ’zend.ze1_compatibility_mode’ Source: PHP Explanation: PHP implicit cloning object of class when Module: Not applicable. ’zend.ze1_compatibility_mode’ have been enabled in php.ini. Routing code: Not applicable. string Descriptor code: W- A warning (PHP continues). Class Name Automation: Not applicable. Example: HPH00922 Implicit cloning object of class ’AClass’ because of ’zend.ze1_compatibility_mode’ HPH00924 Class entry requested for an object System action: Displays the warning and continues without PHP class interpreting the script. Explanation: This problem is due to a problem in PHP Operator response: No System Operator response is earlier versions with handling exceptions thrown by required. non-PHP objects. User response: Make sure that current object is Example: HPH00924 Class entry requested for an cloneable object when ’zend.ze1_compatibility_mode’ is object without PHP class enabled in php.ini. System action: PHP immediately stops interpreting System programmer response: No System the file (before any statements are run) and exits. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: This problem have been fixed in current version. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: N- An informational notice. Could be Problem determination: No additional information. an error or could be normal behavior. Source: PHP Automation: Not applicable. 198 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 209. Module: Not applicable. HPH00926 string1string2string3(): bad type specifier Routing code: Not applicable. while parsing parameters Descriptor code: F- A fatal error (PHP exits Explanation: PHP encountered bad type specifier immediately). while parsing parameters. Automation: Not applicable. string1 Class Name HPH00925 string1string2string3() expects parameter string2 integer to be string4, string5 given If is class output ’::’, else output NULL Explanation: PHP encountered a function that expects string3 the parameter to be one kind of type but another type Methods or Function name instead. string1 Example: Warning: HPH00926 The class SplFileInfo::getFileInfo(): bad type specifier while string2 parsing parameters in /home/mytx/debug_php/926.php Space or ″::″ on line 6 string3 System action: Displays the warning and continues The function interpreting the script. integer Operator response: No System Operator response is The offset of the parameter required. string4 User response: Make sure not to use bad type The expected type specifier while parsing parameters, please report it on PHP web site, phpnet. System programmer response: No System string5 Programmer response is required. The actually passed type Problem determination: No additional information. Source: PHP Example: HPH00925 stream_context_get_options() expects parameter 1 to be resource, integer given Module: Not applicable. System action: Displays the warning and continues Routing code: Not applicable. interpreting the script. Descriptor code: W- A warning (PHP continues). Operator response: No System Operator response is Automation: Not applicable. required. User response: Check and change the function’s HPH00927 string1string2string3() expects string4 parameter so that its type is consistent with the required integer1 parameterstring5, integer2 given one. Explanation: PHP encountered a function whose System programmer response: No System actually passed parameters’ number is greater than the Programmer response is required. maximun one or less than the minimum one. Problem determination: No additional information. string1 Source: PHP The class Module: Not applicable. string2 Space or ″::″ Routing code: Not applicable. string3 Descriptor code: W- A warning (PHP continues). The function Automation: Not applicable. string4 Some extent(exactly/at most/at least) integer1 The max/min/exact number of parameters string5 The singular or plural form Chapter 6. PHP messages 199
  • 210. integer2 HPH00929 string1::string2() must be derived from The actually passed number string3::string4 Explanation: Methods should be deriverd from current Example: HPH00927 proc_open() expects at least 3 class’s. parameters, 0 given string1 System action: Displays the warning and continues Class Name interpreting the script. string2 Operator response: No System Operator response is Method Name required. string3 User response: Check the parameters passed to the This Class Name function and make sure that its number is consistent string4 with the scope. Method Name System programmer response: No System Example: HPH00929 AClass::Func1() must be derived Programmer response is required. from AClass::Func1 Problem determination: No additional information. System action: PHP immediately stops interpreting Source: PHP the file (before any statements are run) and exits. Module: Not applicable. Operator response: No System Operator response is required. Routing code: Not applicable. User response: Make sure that current methods is Descriptor code: W- A warning (PHP continues). deriverd from current class’s, please report this bug on Automation: Not applicable. phpnet. System programmer response: No System HPH00928 string(): could not obtain parameters Programmer response is required. for parsing Problem determination: No additional information. Explanation: PHP encountered a function that needs Source: PHP parameters for parsing but could not obtain them because of no parameters passed. Module: Not applicable. string Routing code: Not applicable. The function name Descriptor code: I- An internal error not caused by user (a programming error in PHP). Example: HPH00928 shuffle(): could not obtain Automation: Not applicable. parameters for parsing System action: Displays the warning and continues HPH00931 Cannot instantiate string1 string2 interpreting the script. Explanation: PHP encountered an object that can not Operator response: No System Operator response is be instantiated. required. string1 User response: Add the function’s parameters so that The object type the function can obtain them for parsing. string2 System programmer response: No System The object name Programmer response is required. Example: HPH00931 Cannot instantiate abstract class Problem determination: No additional information. A Source: PHP System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Module: Not applicable. Operator response: No System Operator response is Routing code: Not applicable. required. Descriptor code: W- A warning (PHP continues). User response: Make sure that the object type is not Automation: Not applicable. interface or abstract class. System programmer response: No System 200 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 211. Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits Descriptor code: W- A warning (PHP continues). immediately). Automation: Not applicable. Automation: Not applicable. HPH00934 Unable to start string module HPH00932 add_assoc_function() is no longer Explanation: PHP was unable to start this module. supported string Explanation: add_assoc_function() is no longer Module Name supported. Example: HPH00934 Unable to start Module1 module Example: HPH00932 add_assoc_function() is no longer supported System action: PHP immediately stops interpreting the file (before any statements are run) and exits. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Make sure that this module exists and is available. User response: Internal notice. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: F- A fatal error (PHP exits Descriptor code: W- A warning (PHP continues). immediately). Automation: Not applicable. Automation: Not applicable. HPH00933 Cannot load module ’string1’ because HPH00935 Cannot load module ’string1’ because required module ’string2’ is not loaded conflicting module ’string2’ is already Explanation: PHP cannot load module because loaded required module is not loaded. Explanation: PHP cannot load module because string1 conflicting module is already loaded. Module Name string1 string2 Module Name Relationship Module Name string2 Example: HPH00933 Cannot load module ’Module1’ Conflicting Module Name because required module ’Module2’ is not loaded Example: HPH00935 Cannot load module ’Module1’ System action: Displays the warning and continues because conflicting module ’Module2’ is already loaded interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Make sure that user should load required. required module before loading current module. User response: Make sure not to load conflicting System programmer response: No System modules. Chapter 6. PHP messages 201
  • 212. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00938 Destuctor string1::string2() cannot take arguments HPH00936 Module ’string’ already loaded Explanation: PHP encountered a class whose destructor cannot but takes arguments. Explanation: Module has already been loaded. string1 string The class name Module Name string2 Example: HPH00936 Module ’Module1’ already The destructor function loaded Example: HPH00938 Destuctor A::__destruct() cannot System action: Displays the warning and continues take arguments interpreting the script. System action: PHP immediately stops interpreting Operator response: No System Operator response is the file (before any statements are run) and exits. required. Operator response: No System Operator response is User response: Make sure not to reload the same required. module when it has loaded. User response: Remove the arguments of the System programmer response: No System destructor so that it takes no arguments. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). HPH00937 string: Unable to register functions, Automation: Not applicable. unable to load Explanation: Because PHP was unable to register HPH00939 Method string1::string2() cannot accept functions, PHP was unable to load current module. any arguments string Explanation: PHP encountered a class whose Module Name __clone() method cannot but accept any arguments. Example: HPH00937 Module1: Unable to register string1 functions, unable to load The class System action: Displays the warning and continues string2 interpreting the script. The method Operator response: No System Operator response is Example: HPH00939 Method A::__clone() cannot required. accept any arguments User response: Make sure to register module’s entry System action: PHP immediately stops interpreting functions. the file (before any statements are run) and exits. System programmer response: No System Programmer response is required. 202 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 213. Operator response: No System Operator response is string1 required. The class User response: Remove the arguments so that string2 __clone() method accepts no arguments. The method System programmer response: No System Example: HPH00941 Method Method A::__set() must Programmer response is required. take exactly 2 arguments Problem determination: No additional information. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Source: PHP Operator response: No System Operator response is Module: Not applicable. required. Routing code: Not applicable. User response: Change the __set() or __call() Descriptor code: F- A fatal error (PHP exits method’s arguments so that it has 2 arguments. immediately). System programmer response: No System Automation: Not applicable. Programmer response is required. Problem determination: No additional information. HPH00940 Method string1::string2() must take Source: PHP exactly 1 argument Module: Not applicable. Explanation: PHP encountered a class whose __get() or __unset() or __isset() method must exactly 1 Routing code: Not applicable. argument but takes more than one. Descriptor code: F- A fatal error (PHP exits string1 immediately). The class Automation: Not applicable. string2 The method HPH00945 Invalid access level for string1 string2 Example: HPH00940 Method Foo::__get() must take string3() - access must be exactly one exactly 1 argument of public, protected or private System action: PHP immediately stops interpreting Explanation: PHP encountered invalid access level for the file (before any statements are run) and exits. method. Operator response: No System Operator response is string1 required. Class Name User response: Remove the redundant arguments so string2 that __get() or __unset() or __isset() method takes 1 Space or ’::’ argument only. string3 System programmer response: No System Method Name Programmer response is required. Example: HPH00945 Invalid access level for Problem determination: No additional information. AClass::func1() - access must be exactly one of public, protected or private Source: PHP System action: Displays the warning and continues Module: Not applicable. interpreting the script. Routing code: Not applicable. Operator response: No System Operator response is Descriptor code: F- A fatal error (PHP exits required. immediately). User response: Make sure that access should be Automation: Not applicable. exactly one of public, protected or private. System programmer response: No System HPH00941 Method string1::string2() must take Programmer response is required. exactly 2 arguments Problem determination: No additional information. Explanation: PHP encountered a class whose __set() Source: PHP or __call() method must take 2 arguments but does not in the script. Module: Not applicable. Chapter 6. PHP messages 203
  • 214. Routing code: Not applicable. System programmer response: No System Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP HPH00946 Interface string1 cannot contain non Module: Not applicable. abstract method string2() Routing code: Not applicable. Explanation: Interface cannot contain non abstract Descriptor code: W- A warning (PHP continues). method. Automation: Not applicable. string1 Interface Name HPH00948 Destructor string1::string2() cannot take string2 arguments Method Name Explanation: --remove--- Example: HPH00946 Interface AInterface cannot contain non abstract method Func1() Example: HPH00948 Destructor %s::%s() cannot take arguments System action: Displays the warning and continues interpreting the script. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Make sure that interface should not contain non abstract method. User response: It is the same with HPH00938 System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: F- A fatal error (PHP exits immediately). Automation: Not applicable. Automation: Not applicable. HPH00947 Method string1 string2 string3() cannot be a NULL function HPH00949 Function registration failed - duplicate name - string1 string2 string3 Explanation: Method cannot be a NULL function. Explanation: Function registration failed, because string1 PHP could not register it again. Class Name string1 string2 Class Name Space or ’::’ string2 string3 Space or ’::’ Method Name string3 Example: HPH00947 Method AClass::Func1() cannot Method Name be a NULL function Example: HPH00949 Function registration failed - System action: Displays the warning and continues duplicate name - AClass::Func1 interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Make sure that method should not be required. a NULL function. User response: Make sure not to register the function 204 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 215. with the name that has already been registered. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Make sure that request_startup() fuction is called successfully. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00953 Method string1::string2() cannot be static Automation: Not applicable. Explanation: PHP encountered a class whose method cannot but is static. HPH00959 string() has been disabled for security reasons string1 The class Explanation: Function display_disabled_function() has been disabled for security reasons, or current class has string2 been disabled for security reasons. The method string Example: HPH00953 Method A::__clone() cannot be Function Name or Class Name static Example: HPH00959 display_disabled_function() has System action: PHP immediately stops interpreting been disabled for security reasons the file (before any statements are run) and exits. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Change the method’s attribute so that required. it is not static. User response: Make sure that function System programmer response: No System display_disabled_function() or current class has not Programmer response is required. been disabled for security reasons. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: F- A fatal error (PHP exits Module: Not applicable. immediately). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00958 request_startup() for string module failed HPH00962 Non-static method string1::string2() Explanation: PHP encountered calling cannot be called statically, assuming request_startup() function for module unsuccessfully. $this from compatible context string3 string Explanation: Non-static method cannot be called Module Name statically while PHP assuming $this from a compatible Example: HPH00958 request_startup() for Module1 context. module failed string1 System action: Displays the warning and continues Class Name interpreting the script. Chapter 6. PHP messages 205
  • 216. string2 HPH00964 Property string1 of class string2 cannot Method Name be updated string3 Explanation: Property of current class cannot be Context Name rewrote. Example: HPH00962 Non-static method string1 AClass::Func1() cannot be called statically, assuming Property Name $this from compatible context AClass string2 System action: Displays the warning and continues Class Name interpreting the script. Example: HPH00964 Property AVar of class AClass Operator response: No System Operator response is cannot be updated required. System action: PHP immediately stops interpreting User response: Make sure that non-static method the file (before any statements are run) and exits. should not be called statically while PHP assuming $this from a compatible context. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Make sure that property of current class can be rewrote. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: N- An informational notice. Could be Module: Not applicable. an error or could be normal behavior. Routing code: Not applicable. Automation: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). HPH00963 Non-static method %s::%s() %s be called statically, assuming $this from Automation: Not applicable. compatible context %s Explanation: --removed-- HPH00965 Property string1 of class string2 cannot be read Example: HPH00963 Non-static method %s::%s() %s be called statically, assuming $this from compatible Explanation: Property of current class cannot be read. context %s string1 System action: Displays the warning and continues Property Name interpreting the script. string2 Operator response: No System Operator response is Class Name required. Example: HPH00965 Property AVar of class AClass User response: noy find this message in source code. cannot be read System programmer response: No System System action: PHP immediately stops interpreting Programmer response is required. the file (before any statements are run) and exits. Problem determination: No additional information. Operator response: No System Operator response is required. Source: PHP User response: Make sure that property of current Module: Not applicable. class can be read. Routing code: Not applicable. System programmer response: No System Descriptor code: W- A warning (PHP continues). Programmer response is required. Automation: Not applicable. Problem determination: No additional information. Source: PHP Module: Not applicable. 206 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 217. Routing code: Not applicable. HPH00968 %s doesn’t appear to be a valid Zend Descriptor code: F- A fatal error (PHP exits extensionn immediately). Explanation: --removed-- Automation: Not applicable. Example: HPH00968 %s doesn’t appear to be a valid Zend extensionn HPH00966 Failed loading %s: %sn System action: Displays the warning and continues Explanation: --removed-- interpreting the script. Example: HPH00966 Failed loading %s: %sn Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: --removed-- cannot find this message in source code Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: --removed-- cannot find this message in source code Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00969 %s requires Zend Engine API version %d.n Automation: Not applicable. Explanation: --removed-- HPH00967 Failed loading %sn Example: HPH00969 %s requires Zend Engine API version %d.n Explanation: --removed-- System action: Displays the warning and continues Example: HPH00967 Failed loading %sn interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: --removed-- cannot find this message required. in source code User response: --removed-- cannot find this message System programmer response: No System in source code Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH00971 Cannot load %s - it %s thread safe, whereas Zend %sn Explanation: --removed-- Example: HPH00971 Cannot load %s - it %s thread safe, whereas Zend %sn Chapter 6. PHP messages 207
  • 218. System action: Displays the warning and continues System programmer response: No System interpreting the script. Programmer response is required. Operator response: No System Operator response is Problem determination: No additional information. required. Source: PHP User response: --removed-- cannot find this message Module: Not applicable. in source code Routing code: Not applicable. System programmer response: No System Programmer response is required. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP HPH00974 Loaded %s, version %sn Module: Not applicable. Explanation: --removed-- Routing code: Not applicable. Example: HPH00974 Loaded %s, version %sn Descriptor code: W- A warning (PHP continues). System action: Displays the warning and continues Automation: Not applicable. interpreting the script. Operator response: No System Operator response is HPH00972 Cannot load %s - it %s debug required. information, whereas Zend %sn User response: --removed-- cannot find this message Explanation: --removed-- in source code Example: HPH00972 Cannot load %s - it %s debug System programmer response: No System information, whereas Zend %sn Programmer response is required. System action: Displays the warning and continues Problem determination: No additional information. interpreting the script. Source: PHP Operator response: No System Operator response is required. Module: Not applicable. User response: --removed-- cannot find this message Routing code: Not applicable. in source code Descriptor code: W- A warning (PHP continues). System programmer response: No System Programmer response is required. Automation: Not applicable. Problem determination: No additional information. HPH00975 Nesting level too deep - recursive Source: PHP dependency? Module: Not applicable. Explanation: PHP encountered nesting level too deep. Routing code: Not applicable. Example: HPH00975 Nesting level too deep - recursive dependency? Descriptor code: W- A warning (PHP continues). System action: PHP immediately stops interpreting Automation: Not applicable. the file (before any statements are run) and exits. Operator response: No System Operator response is HPH00973 Extensions are not supported on this required. platform.n User response: Make sure that nesting level is less Explanation: --removed-- than 3. Example: HPH00973 Extensions are not supported on System programmer response: No System this platform.n Programmer response is required. System action: Displays the warning and continues Problem determination: No additional information. interpreting the script. Source: PHP Operator response: No System Operator response is required. Module: Not applicable. User response: --removed-- cannot find this message Routing code: Not applicable. in source code 208 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 219. Descriptor code: F- A fatal error (PHP exits System action: Displays the warning and continues immediately). interpreting the script. Automation: Not applicable. Operator response: No System Operator response is required. HPH00982 string1 string2 string3(): no string4 User response: Check and change the function’s resource supplied argument so that it is a valid resource. Explanation: Class method or function have not System programmer response: No System resource supplied. Programmer response is required. string1 Problem determination: No additional information. Class Name Source: PHP string2 Module: Not applicable. Space or ’::’ Routing code: Not applicable. string3 Method or Function Name Descriptor code: W- A warning (PHP continues). string4 Automation: Not applicable. Resource Type Name Example: HPH00982 func1(): no File-Handle resource HPH00984 string1 string2 string3(): integer is not a supplied valid string4 resource System action: Displays the warning and continues Explanation: Argument of class method or function is interpreting the script. not a valid resource. Operator response: No System Operator response is string1 required. Class Name User response: Make sure that class method or string2 function have resource supplied. Space or ’::’ System programmer response: No System string3 Programmer response is required. Method or Function Name Problem determination: No additional information. integer Resource Handle Source: PHP string4 Module: Not applicable. Resource Type Name Routing code: Not applicable. Example: HPH00984 func1(): 1033333 is not a valid Descriptor code: W- A warning (PHP continues). File-Handle resource Automation: Not applicable. System action: Displays the warning and continues interpreting the script. HPH00983 %s%s%s(): supplied argument is not a Operator response: No System Operator response is valid %s resource required. Explanation: PHP encountered a function whose User response: Make sure that argument of class argument should be but not a valid resource. method or function is a valid resource. string1 System programmer response: No System The class Programmer response is required. string2 Problem determination: No additional information. Space or ″::″ Source: PHP string3 Module: Not applicable. The function Routing code: Not applicable. string4 The resource type name Descriptor code: W- A warning (PHP continues). Example: HPH00983 readdir(): supplied argument is Automation: Not applicable. not a valid Directory resource Chapter 6. PHP messages 209
  • 220. Source: PHP HPH00985 string1string2string3(): supplied resource is not a valid string4 resource Module: Not applicable. Explanation: PHP encountered a function whose Routing code: Not applicable. supplied resource is not a valid one. Descriptor code: W- A warning (PHP continues). string1 The class Automation: Not applicable. string2 Space or ″::″ HPH00987 Unknown persistent list entry type in module shutdown (integer) string3 The function Explanation: PHP encountered unknown persistent list entry type when one module shutdown. string4 The resource type name integer Shutdown Type Example: HPH00985 fopen(): supplied resource is not a valid Stream-Context resource Example: HPH00987 Unknown persistent list entry type in module shutdown (1) System action: Displays the warning and continues interpreting the script. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Check the function’s argument so that it is a valid resource. User response: Make sure that persistent list entry type is correct when one module shutdown. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH00986 Unknown list entry type in request shutdown (integer) HPH00988 func_num_args(): Can’t be used as a function parameter Explanation: PHP encountered unknown list entry type when one request shutdown. Explanation: Current argument cannot be used as a parameter of function func_num_args(). integer Shutdown Type Example: HPH00988 func_num_args(): Can’t be used as a function parameter Example: HPH00986 Unknown list entry type in request shutdown (1) System action: PHP immediately stops interpreting the file (before any statements are run) and exits. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Make sure this argument is correct. User response: Make sure that list entry type is System programmer response: No System correct when one request shutdown. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. 210 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 221. Routing code: Not applicable. Automation: Not applicable. Descriptor code: I- An internal error not caused by user (a programming error in PHP). HPH00991 func_get_arg(): Can’t be used as a function parameter Automation: Not applicable. Explanation: Current argument can not be used as a parameter of function func_get_arg(). HPH00989 func_num_args(): Called from the global scope - no function context Example: HPH00991 func_get_arg(): Can’t be used as a function parameter Explanation: PHP can not use func_num_args() outside of a user-defined function. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. Example: HPH00989 func_num_args(): Called from the global scope - no function context Operator response: No System Operator response is required. System action: Displays the warning and continues interpreting the script. User response: Make sure this argument is correct. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: Use func_num_args() inside a Problem determination: No additional information. user-defined function so that it will be not called from Source: PHP the global scope. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: I- An internal error not caused by user (a programming error in PHP). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. HPH00992 func_get_arg(): Called from the global Descriptor code: W- A warning (PHP continues). scope - no function context Automation: Not applicable. Explanation: PHP encountered func_get_arg() that is called from outside of a function definition. HPH00990 func_get_arg(): The argument number Example: HPH00992 func_get_arg(): Called from the should be >= 0 global scope - no function context Explanation: PHP encountered func_get_arg() that its System action: Displays the warning and continues argument number is less than zero. interpreting the script. Example: HPH00990 func_get_arg(): The argument Operator response: No System Operator response is number should be >= 0 required. System action: Displays the warning and continues User response: Use func_get_arg() inside a interpreting the script. user-defined function so that it will be not called from the global scope. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Change the argument number so that it is >= 0. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Chapter 6. PHP messages 211
  • 222. user (a programming error in PHP). HPH00993 func_get_arg(): Argument integer not passed to function Automation: Not applicable. Explanation: PHP encountered the function, func_get_arg(), to whom the argument isn’t passed at HPH00995 func_get_args(): Called from the global the given offset into a user-defined function’s argument scope - no function context list because the offset is greater than the total number of arguments actually passed. Explanation: PHP encountered func_get_args() that is called from outside of a function definition. integer The given offset Example: HPH00995 func_get_args(): Called from the global scope - no function context System action: Displays the warning and continues Example: HPH00993 func_get_arg(): Argument 2 not interpreting the script. passed to function Operator response: No System Operator response is System action: Displays the warning and continues required. interpreting the script. User response: Use func_get_args() inside a Operator response: No System Operator response is user-defined function so that it will be not called from required. the global scope. User response: Check the argument of func_get_arg() System programmer response: No System so that its value is not greater than the number of Programmer response is required. arguments actually passed to the user-defined function. Problem determination: No additional information. System programmer response: No System Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). HPH00996 Variable passed to each() is not an Automation: Not applicable. array or object Explanation: PHP encountered zend function each HPH00994 func_get_args(): Can’t be used as a that variable passed to is not an array or object. function parameter Example: HPH00996 Variable passed to each() is not Explanation: Current argument can not be used as a an array or object parameter of function func_get_args(). System action: Displays the warning and continues Example: HPH00994 func_get_args(): Can’t be used interpreting the script. as a function parameter Operator response: No System Operator response is System action: PHP immediately stops interpreting required. the file (before any statements are run) and exits. User response: Change the variable passed to each() Operator response: No System Operator response is so that it is an array or object. required. System programmer response: No System User response: Make surce this argument is correct. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: I- An internal error not caused by 212 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 223. HPH00997 Constants may only evaluate to scalar HPH00999 Unknown class passed as parameter values Explanation: PHP encountered unknown class. Explanation: PHP encountered function, define(), that Example: HPH00999 Unknown class passed as defines a constant with nonscalar values. parameter Example: HPH00997 Constants may only evaluate to System action: Displays the warning and continues scalar values interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Make sure this class exists. required. System programmer response: No System User response: Check the value so that it is one of Programmer response is required. the types among long, double, string, bool, resource and NULL. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: W- A warning (PHP continues). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). HPH01000 is_a(): Deprecated. Please use the instanceof operator Automation: Not applicable. Explanation: function is_a() have been deprecated. Please use the instanceof operator. HPH00998 get_class() called without object from outside a class Example: HPH01000 is_a(): Deprecated. Please use the instanceof operator Explanation: PHP encountered function, get_class(), that is called without an object from outside a class. System action: Displays the warning and continues interpreting the script. Example: HPH00998 get_class() called without object from outside a class Operator response: No System Operator response is required. System action: PHP immediately stops interpreting the file (before any statements are run) and exits. User response: function is_a() have been deprecated. Please use the instanceof operator. Operator response: No System Operator response is required. System programmer response: No System Programmer response is required. User response: Add the object as parameter if get_class() is called from outside a class. Problem determination: No additional information. System programmer response: No System Source: PHP Programmer response is required. Module: Not applicable. Problem determination: No additional information. Routing code: Not applicable. Source: PHP Descriptor code: N- An informational notice. Could be Module: Not applicable. an error or could be normal behavior. Routing code: Not applicable. Automation: Not applicable. Descriptor code: F- A fatal error (PHP exits immediately). HPH01001 First parameter must either be an object or the name of an existing class Automation: Not applicable. Explanation: PHP encountered zend function, property_exists() whose first parameter is neither an object nor the name of an existing class. Chapter 6. PHP messages 213
  • 224. Example: HPH01001 First parameter must either be System action: Displays the warning and continues an object or the name of an existing class interpreting the script. System action: Displays the warning and continues Operator response: No System Operator response is interpreting the script. required. Operator response: No System Operator response is User response: Change the callback argument so that required. it is a valid one. User response: Change the first parameter so that it System programmer response: No System is either an object or the name of an existing class. Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH01006 Cannot add internal functions to return value from get_defined_functions() HPH01002 Invalid error type specified Explanation: PHP cannot add internal functions to return value from get_defined_functions(). Explanation: PHP encountered zend function, trigger_error() that has an invalid error type specified. Example: HPH01006 Cannot add internal functions to return value from get_defined_functions() Example: HPH01002 Invalid error type specified System action: Displays the warning and continues System action: Displays the warning and continues interpreting the script. interpreting the script. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: Make sure not to add internal User response: Modify the second parameter so that functions to return value from get_defined_functions(). it is a valid error type specified. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH01007 Cannot add user functions to return HPH01004 string1() expects the argument (string2) value from get_defined_functions() to be a valid callback Explanation: PHP cannot add user functions to return Explanation: PHP encountered function ″set-handler″ value from get_defined_functions(). whose callback argument is not a valid one. Example: HPH01007 Cannot add user functions to string1 return value from get_defined_functions() The set-handler function System action: Displays the warning and continues string2 interpreting the script. The callback argument Operator response: No System Operator response is Example: HPH01004 set_error_handler() expects the required. argument (myErrorHandler) to be a valid callback 214 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 225. User response: Make sure not to add user functions System programmer response: No System to return value from get_defined_functions(). Programmer response is required. System programmer response: No System Problem determination: No additional information. Programmer response is required. Source: PHP Problem determination: No additional information. Module: Not applicable. Source: PHP Routing code: Not applicable. Module: Not applicable. Descriptor code: W- A warning (PHP continues). Routing code: Not applicable. Automation: Not applicable. Descriptor code: W- A warning (PHP continues). Automation: Not applicable. HPH01010 Couldn’t find implementation for method string1 string2 string3 HPH01008 Unexpected inconsistency in Explanation: PHP could not find implementation for create_function() this method. Explanation: PHP encountered unexpected string1 inconsistency in create_function(). Class Name Example: HPH01008 Unexpected inconsistency in string2 create_function() Space or ’::’ System action: PHP immediately stops interpreting string3 the file (before any statements are run) and exits. Method or Function Name Operator response: No System Operator response is Example: HPH01010 Couldn’t find implementation for required. method func1 User response: Internal error, please report it to PHP System action: PHP immediately stops interpreting website phpnet. the file (before any statements are run) and exits. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: Make sure that user find implementation for this method. Source: PHP System programmer response: No System Module: Not applicable. Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: I- An internal error not caused by Source: PHP user (a programming error in PHP). Module: Not applicable. Automation: Not applicable. Routing code: Not applicable. HPH01009 Supplied argument is not a valid Descriptor code: I- An internal error not caused by resource handle user (a programming error in PHP). Explanation: PHP encountered function, Automation: Not applicable. get_resource_type() that the supplied argument is not a valid resource. HPH01011 Couldn’t execute method string1 string2 Example: HPH01009 Supplied argument is not a valid string3 resource handle Explanation: PHP could not execute this method. System action: Displays the warning and continues string1 interpreting the script. Class Name Operator response: No System Operator response is string2 required. Space or ’::’ User response: Change the argument so that it is a string3 valid resource handle. Method or Function Name Chapter 6. PHP messages 215
  • 226. Example: HPH01011 Couldn’t execute method func1 Example: HPH01013 Illegal type returned from MyClass::key() System action: PHP immediately stops interpreting the file (before any statements are run) and exits. System action: Displays the warning and continues interpreting the script. Operator response: No System Operator response is required. Operator response: No System Operator response is required. User response: Make sure that this method can be executed. User response: Check the script and use the data type allowed by the PHP syntax. System programmer response: No System Programmer response is required. System programmer response: No System Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: I- An internal error not caused by user (a programming error in PHP). Descriptor code: W- A warning (PHP continues). Automation: Not applicable. Automation: Not applicable. HPH01012 Nothing returned from string::key() HPH01014 Class string1 must implement interface string2 as part of either string3 or string4 Explanation: Key() function of current class returned nothing. Explanation: When ZEND engine detects that PHP script defines one traversable class entity which is string neither Iterator type nor aggregate type. It reports this Class Name error. Example: HPH01012 Nothing returned from %s::key() string1 System action: Displays the warning and continues The user defined class interpreting the script. string2 Operator response: No System Operator response is the traversable interface name required. string3 User response: Make sure that key() function of Iterator class name current class can not returned nothing. string4 System programmer response: No System aggregate class name Programmer response is required. Example: HPH01014 Class MyClass must implement Problem determination: No additional information. interface MyTraversable as part of either IteratorClass or AggregateClass Source: PHP System action: PHP immediately stops interpreting Module: Not applicable. the file (before any statements are run) and exits. Routing code: Not applicable. Operator response: No System Operator response is Descriptor code: W- A warning (PHP continues). required. Automation: Not applicable. User response: User needs to modify the PHP script according to the error message hints or consult with PHP manual at www.php.net. HPH01013 Illegal type returned from string ::key() System programmer response: No System Explanation: When ZEND engine receives the data Programmer response is required. type (e.g. string, long etc.) from hash keys generated from the PHP script parser, and if it finds any illegal Problem determination: No additional information. types for the data type of hash keys, it will report this Source: PHP error. Module: Not applicable. string The name of class which has key() method Routing code: Not applicable. 216 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 227. Descriptor code: F- A fatal error (PHP exits script according to the error message hints or consult immediately). with PHP manual at www.php.net. Automation: Not applicable. System programmer response: No System Programmer response is required. HPH01015 Objects returned by string::getIterator() Problem determination: No additional information. must be traversable or implement Source: PHP interface Iterat Module: Not applicable. Explanation: It will report this error when class object defined by PHP script calls getIterator() method but the Routing code: Not applicable. returned object is not traversable or doesn’t implement Iterator interface. Descriptor code: F- A fatal error (PHP exits immediately). string class name Automation: Not applicable. Example: HPH01015 Objects returned by MyClass::getIterator() must be traversable or implement HPH01017 Exception thrown without a stack interface Iterator frame System action: PHP immediately stops interpreting Explanation: It will report this error when ZEND the file (before any statements are run) and exits. engine throws exception but can not find the run-time data stack frame associated with this exception. Operator response: No System Operator response is required. Example: HPH01017 Exception thrown without a stack frame User response: User needs to modify the PHP script according to the error message hints or consult with System action: PHP immediately stops interpreting PHP manual at www.php.net. the file (before any statements are run) and exits. System programmer response: No System Operator response: No System Operator response is Programmer response is required. required. Problem determination: No additional information. User response: It is an internal error of PHP ZEND engine. User can inspect on the PHP script according to Source: PHP the error message or contact with vendor or PHP online bugfix support at bugs.php.net. Module: Not applicable. System programmer response: No System Routing code: Not applicable. Programmer response is required. Descriptor code: F- A fatal error (PHP exits Problem determination: No additional information. immediately). Source: PHP Automation: Not applicable. Module: Not applicable. HPH01016 name::serialize() must return a string Routing code: Not applicable. or NULL Descriptor code: F- A fatal error (PHP exits Explanation: It will report this error when class object immediately). defined by PHP script calls ″serialize()″ method of this object and the method returns the value with data type Automation: Not applicable. other than NULL or STRING type. name HPH01018 Wrong parameters for class name Exception([string $exception [, long $code ]]) Example: HPH01016 MyClass::serialize() must return a string or NULL Explanation: It will report this error when ZEND engine detects that PHP script constructs an Exception System action: PHP immediately stops interpreting object without the correct parameters types. The first the file (before any statements are run) and exits. paramter requires string type data and the second parameter requires long type data. The second Operator response: No System Operator response is parameter is optional. required. Example: HPH01018 Wrong parameters for User response: User shall inspect on the data type Exception([string $exception [, long $code ]]) she/he tries to serialize. User needs to modify the PHP Chapter 6. PHP messages 217
  • 228. System action: PHP immediately stops interpreting HPH01020 Exceptions must be derived from the the file (before any statements are run) and exits. Exception base class Operator response: No System Operator response is Explanation: It will report this error when ZEND required. engine detects PHP script derives an sub-class object User response: User needs to modify the PHP script of Exception without taking Exception class as parent according to the error message hints or consult with class type. PHP manual at www.php.net. Example: HPH01020 Exceptions must be derived from System programmer response: No System the Exception base class Programmer response is required. System action: Displays the warning and continues Problem determination: No additional information. interpreting the script. Source: PHP Operator response: No System Operator response is required. Module: Not applicable. User response: User needs to modify the PHP script Routing code: Not applicable. according to the error message hints or consult with Descriptor code: F- A fatal error (PHP exits PHP manual at www.php.net. immediately). System programmer response: No System Automation: Not applicable. Programmer response is required. Problem determination: No additional information. HPH01019 Wrong parameters for Source: PHP ErrorException([string $exception [, long $code, [ long $severity, [ string Module: Not applicable. $filename, [ long $lineno ]]]]]) Routing code: Not applicable. Explanation: It will report this error when ZEND Descriptor code: W- A warning (PHP continues). engine detects that PHP script constructs an ErrorException object without the correct parameters Automation: Not applicable. types. The first parameter requires string type data. The second and the third require long type. The fourth HPH01021 name ::__toString() must return a requires string type and the fifth parameter requires long string type data. Only the first parameter is necessary and all the others are optional. Explanation: It will report this error when ZEND engine detects PHP script doesn’t use string type as Example: HPH01019 Wrong parameters for parameter data type for exception object. Or ErrorException([string $exception [, long $code, [ long ″__toString()″ method does not return a string data type $severity, [ string $filename, [ long $lineno ]]]]]) from exception object’s parameter. System action: Displays the warning and continues name interpreting the script. class name Operator response: No System Operator response is Example: HPH01021 MyClass::__toString() must required. return a string User response: User needs to modify the PHP script System action: Displays the warning and continues to construct one ErrorException Object with correct interpreting the script. parameter data types. Operator response: No System Operator response is System programmer response: No System required. Programmer response is required. User response: User can inspect if she/he constructs Problem determination: No additional information. an Exception object with the string type parameter in Source: PHP PHP script. Module: Not applicable. System programmer response: No System Programmer response is required. Routing code: Not applicable. Problem determination: No additional information. Descriptor code: F- A fatal error (PHP exits immediately). Source: PHP Automation: Not applicable. Module: Not applicable. Routing code: Not applicable. 218 z/OS V1.1.2 IBM Ported Tools for z/OS: PHP for z/OS Feature User’s Guide and Reference
  • 229. Descriptor code: W- A warning (PHP continues). Problem determination: No additional information. Automation: Not applicable. Source: PHP Module: Not applicable. HPH01022 Uncaught exception in exception Routing code: Not applicable. handling during call to name::__tostring() Descriptor code: F- A fatal error (PHP exits immediately). Explanation: It will report this error when ZEND engine detects there is an uncaught exception when Automation: Not applicable. calling member function ″__toString()″ of one exception object. HPH01024 Uncaught exception ’name ’ exception exception defined in script Explanation: It will report the error when PHP script does not catch one exception thrown by ZEND engine. name class name name exception class entity name Example: HPH01022 Uncaught My Customized Error in exception handling during call to Example: HPH01024 Uncaught exception MyClass::__tostring() ’ExceptionEntity System action: Displays the warning and continues System action: PHP immediately stops interpreting interpreting the script. the file (before any statements are run) and exits. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: This is a ZEND engine internal error User response: User needs to modify the PHP script message. in order to catch the thrown exception. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Problem determination: No additional information. Problem determination: No additional information. Source: PHP Source: PHP Module: Not applicable. Module: Not applicable. Routing code: Not applicable. Routing code: Not applicable. Descriptor code: W- A warning (PHP continues). Descriptor code: F- A fatal error (PHP exits immediately). Automation: Not applicable. Automation: Not applicable. HPH01023 Uncaught exception n thrown HPH01025 Need to supply an object when Explanation: It will report this error when PHP script throwing an exception does not catch one exception thrown by ZEND engine. Explanation: It will report this error when ZEND exception engine detects an exception is not a class object data exception content type. Example: HPH01023 Uncaught my exception n Example: HPH01025 Need to supply an object when thrown throwing an exception System action: PHP immediately stops interpreting System action: PHP immediately stops interpreting the file (before any statements are run) and exits. the file (before any statements are run) and exits. Operator response: No System Operator response is Operator response: No System Operator response is required. required. User response: User need to modify the PHP script in User response: This is a ZEND engine internal error order to catch the thrown exception. message. User can report this bug to www.php.net. System programmer response: No System System programmer response: No System Programmer response is required. Programmer response is required. Chapter 6. PHP messages 219
  • 230. Problem determination: No additional information. Programmer r