#31149 [Bgs->Csd]: Array handling failed in run-tests.php
| From: | webmaster at saschapfalz dot de | Date: | Fri, 17 Dec 2004 12:11:55 +0000 |
| Subject: | #31149 [Bgs->Csd]: Array handling failed in run-tests.php | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-70490@lists.php.net to get a copy of this message | ||
ID: 31149
User updated by: webmaster at saschapfalz dot de
Reported By: webmaster at saschapfalz dot de
-Status: Bogus
+Status: Closed
Bug Type: Arrays related
Operating System: Linux
PHP Version: 4.3.10
New Comment:
Upgrading of ZendOptimizer solved the problems.
Previous Comments:
------------------------------------------------------------------------
[2004-12-17 12:59:01] 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 12:23:33] edink@php.net
Upgrade or disable your ZendOptimizer. And please try searching bugs
database before submitting new bug reports.
------------------------------------------------------------------------
[2004-12-17 12:04:59] 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)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31149&edit=1