php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31149 Array handling failed in run-tests.php
Submitted: 2004-12-17 12:04 UTC Modified: 2004-12-17 13:18 UTC
From: webmaster at saschapfalz dot de Assigned:
Status: Not a bug Package: Arrays related
PHP Version: 4.3.10 OS: Linux
Private report: No CVE-ID: None
 [2004-12-17 12:04 UTC] webmaster at saschapfalz dot de
Description:
------------
Tried to install php 4.3.10 on top of a working 4.3.9 installation. No errors occured during compile, but the run-tests.php script fails with

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

and

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

I installed it without tests, but most of my scripts are failing with 4.3.10 while working perfectly under 4.3.9. All errors are always related to array handling.

=====================================================================
CWD         : /usr/src/php-4.3.10
PHP         : /usr/src/php-4.3.10/sapi/cli/php
PHP_SAPI    : cli
PHP_VERSION : 4.3.10
ZEND_VERSION: 1.3.0
PHP_OS      : Linux - Linux ebola 2.6.5-7.111.5-default #1 Wed Nov 17 11:08:17 UTC 2004 i686
INI actual  : /opt/apache2/conf/php.ini
More .INIs  :
Extra dirs  :
=====================================================================

Warning: opendir(/usr/src/php-4.3.10/Array): failed to open dir: No such file or directory in /usr/src/php-4.3.10/run-te
sts.php on line 238
ERROR: cannot open directory: /usr/src/php-4.3.10/Array
make: [test] Error 1 (ignored)


The configure line I was using:
CFLAGS="-mcpu=pentium3 -O3" ./configure \
--enable-bcmath \
--with-apxs2=/opt/apache2/bin/apxs \
--with-openssl=/usr \
--enable-sigchild \
--with-pear=/html/PEAR \
--enable-libgcc \
--with-config-file-path=/opt/apache2/conf \
--with-oci8 \
--with-gd \
--with-ttf=/usr \
--with-freetype-dir=/usr \
--enable-gd-imgstrttf \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-xpm-dir=/usr \
--with-t1lib=/usr \
--enable-sysvsem \
--enable-sysvshm \
--enable-sysvmsg \
--disable-debug \
--enable-ctype \
--with-mysql=/usr \
--with-zlib=/usr \
--enable-track-vars \
--enable-calendar \
--enable-ftp \
--enable-sockets \
--with-gmp \
--disable-trans-sid \
--enable-shmop \
--without-msql \
--with-mcal=/usr \
--with-gettext \
--with-bz2=/usr \
--with-dom=/usr \
--enable-exif \
--with-mm=/usr \
--enable-mbstring \
--enable-mbregex \
--enable-mime-magic \
--enable-dbx \
--enable-dio \
--with-mcrypt=/usr \
--with-tsrm-pthreads \
--with-readline \
--with-ncurses \
--enable-dba \
--with-mhash=/usr \
--with-gdbm=/usr \
--with-db4=/usr \
--with-inifile \
--with-flatfile \
--with-recode \
--with-iconv 


Reproduce code:
---------------
Just enter 

make test

after compiling, result is that script fails.

Expected result:
----------------
make test should at least start to run...

Actual result:
--------------
ebola:/usr/src/php-4.3.10 # make test

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

Notice: Array to string conversion in /usr/src/php-4.3.10/run-tests.php on line 851

=====================================================================
CWD         : /usr/src/php-4.3.10
PHP         : /usr/src/php-4.3.10/sapi/cli/php
PHP_SAPI    : cli
PHP_VERSION : 4.3.10
ZEND_VERSION: 1.3.0
PHP_OS      : Linux - Linux ebola 2.6.5-7.111.5-default #1 Wed Nov 17 11:08:17 UTC 2004 i686
INI actual  : /opt/apache2/conf/php.ini
More .INIs  :
Extra dirs  :
=====================================================================

Warning: opendir(/usr/src/php-4.3.10/Array): failed to open dir: No such file or directory in /usr/src/php-4.3.10/run-te
sts.php on line 238
ERROR: cannot open directory: /usr/src/php-4.3.10/Array
make: [test] Error 1 (ignored)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-17 12:23 UTC] edink@php.net
Upgrade or disable your ZendOptimizer. And please try searching bugs database before submitting new bug reports.
 [2004-12-17 12:59 UTC] webmaster at saschapfalz dot de
I have searched for a similar report, but did not find any. Would be much easier if you have noticed ppl that the Optimizer requires upgrading...
Sorry to disturb.
 [2004-12-17 13:11 UTC] webmaster at saschapfalz dot de
Upgrading of ZendOptimizer solved the problems.
 [2004-12-17 13:18 UTC] derick@php.net
.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 10:01:28 2024 UTC