# PHP 5.1 Beta 2

- Thread: https://externals.io/message/16814
- Original archive: https://news-web.php.net/php.internals/16814
- Started by Andi Gutmans on 2005-06-21T02:30:54+00:00
- Messages: 12
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #16814 — Andi Gutmans — 2005-06-21T02:30:54+00:00

URL: https://externals.io/message/16814#16814

Hi,

You can reach Beta 2 at http://snaps.php.net/~andi/
If there are no surprise show stoppers I'll put it live tomorrow evening.

Andi

---

## #16817 — Sebastian Nohn — 2005-06-21T09:33:01+00:00

URL: https://externals.io/message/16814#16817 · In reply to: #16814

Andi Gutmans wrote:

> You can reach Beta 2 at http://snaps.php.net/~andi/
> If there are no surprise show stoppers I'll put it live tomorrow evening.

http://bugs.php.net/33420

Sebastian

---

## #16818 — Nuno Lopes — 2005-06-21T09:38:55+00:00

URL: https://externals.io/message/16814#16818 · In reply to: #16814

I still have a problem in the configure script.

With the package you post:
checking for embedded SAPI library support... no
./configure: syntax error at line 9265: `;' unexpected

checking that line, there is a problem indeed:
    header_path=sapi/embed/php_embed.h
    for header_file in ; do
      hp_hf="$header_path/$header_file"


With latest cvs and with my autoconf/automake tools:
checking for embedded SAPI library support... no
./configure: line 10030: syntax error near unexpected token `;'
./configure: line 10030: `    for header_file in ; do'


This is on a Solaris 9 box.

Nuno


----- Original Message ----- 
> Hi,
> 
> You can reach Beta 2 at http://snaps.php.net/~andi/
> If there are no surprise show stoppers I'll put it live tomorrow evening.
> 
> Andi

---

## #16819 — Derick Rethans — 2005-06-21T09:47:43+00:00

URL: https://externals.io/message/16814#16819 · In reply to: #16817

> Andi Gutmans wrote:
> 
> > […]
> 
> http://bugs.php.net/33420

The whole directory ext/date is missing from the tarball.

Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org

---

## #16822 — Jani Taskinen — 2005-06-21T10:20:19+00:00

URL: https://externals.io/message/16814#16822 · In reply to: #16818

Fixed in CVS.

     --Jani



> I still have a problem in the configure script.
>
> With the package you post:
> checking for embedded SAPI library support... no
> ./configure: syntax error at line 9265: `;' unexpected
>
> checking that line, there is a problem indeed:
>   header_path=sapi/embed/php_embed.h
>   for header_file in ; do
>     hp_hf="$header_path/$header_file"
>
>
> With latest cvs and with my autoconf/automake tools:
> checking for embedded SAPI library support... no
> ./configure: line 10030: syntax error near unexpected token `;'
> ./configure: line 10030: `    for header_file in ; do'
>
>
> This is on a Solaris 9 box.
>
> Nuno
>
>
> ----- Original Message ----- 
> > […]
>
>

-- 
Donate @ http://pecl.php.net/wishlist.php/sniper

---

## #16825 — Nuno Lopes — 2005-06-21T11:16:39+00:00

URL: https://externals.io/message/16814#16825 · In reply to: #16822

Thanks. It now compiles, but fails a couple of tests :)

The report: http://mega.ist.utl.pt/~ncpl/php_test_results_20050621_1205.txt

But at least the 'Zend/tests/unset_cv07.phpt' test is borked, because it 
expects errors in html, and it doesn't set the 'html_errors=1', and 
'docref_root' and 'docref_ext' to ""  in the INI section.

Nuno


----- Original Message ----- 
>
>     Fixed in CVS.
>
>     --Jani
>
> 
>
> > […]
>
> -- 
> Donate @ http://pecl.php.net/wishlist.php/sniper

---

## #16831 — Ilia Alshanetsky — 2005-06-21T13:27:47+00:00

URL: https://externals.io/message/16814#16831 · In reply to: #16814

Hi Andi,

The date extension does not appear to have been tagged and consequently 
not part of the release.

Ilia

Andi Gutmans wrote:
> Hi,
> 
> You can reach Beta 2 at http://snaps.php.net/~andi/
> If there are no surprise show stoppers I'll put it live tomorrow evening.
> 
> Andi

---

## #16844 — Davey Shafik — 2005-06-21T19:41:16+00:00

URL: https://externals.io/message/16814#16844 · In reply to: #16814

Andi,

I have 15 failed tests on Ubuntu Hoary

Full details: http://news.php.net/php.qa/25118

- Davey

Andi Gutmans wrote:
> Hi,
> 
> You can reach Beta 2 at http://snaps.php.net/~andi/
> If there are no surprise show stoppers I'll put it live tomorrow evening.
> 
> Andi

---

## #16847 — Andrey Hristov — 2005-06-21T22:16:31+00:00

URL: https://externals.io/message/16814#16847 · In reply to: #16814

Andi Gutmans wrote:
> Hi,
> 
> You can reach Beta 2 at http://snaps.php.net/~andi/
> If there are no surprise show stoppers I'll put it live tomorrow evening.
> 
> Andi
> 
SuSE 9.1 (9.2 packages)

./configure --disable-cgi --enable-cli --with-mysql=/usr/local/mysql 
--with-mysqli=/usr/local/mysql/bin/mysql_config --with-sysvmsg --with-sysvsem 
--with-sysvshm --with-shmop --with-gd --with-png-dir=/usr --with-zlib-dir=/usr 
--with-gettext --with-gmp --with-jpeg-dir=/usr --enable-exif --with-mcrypt --with-mhash 
--enable-mbstring --enable-ftp --with-zlib=/usr --enable-pcntl --enable-sockets 
--with-freetype-dir=/usr

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :   55
Exts tested     :   29
---------------------------------------------------------------------

Number of tests : 1907              1161
Tests skipped   :  746 ( 39.1%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :   18 (  0.9%) (  1.6%)
Tests passed    : 1143 ( 59.9%) ( 98.4%)
---------------------------------------------------------------------
Time taken      :  229 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test for buffering in core functions with implicit flush off [tests/func/008.phpt]
Bug #33389 (double free() when exporting a ReflectionClass) [tests/reflection/bug33389.phpt]
Bug #32086 (strtotime don't work in DST) [ext/date/tests/bug32086.phpt]
Bug #22544 (TrueColor transparency in PNG images). [ext/gd/tests/bug22544.phpt]
Bug #16069 [ext/iconv/tests/bug16069.phpt]
iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt]
HTML input/output [ext/mbstring/tests/htmlent.phpt]
 `mb_output_handler()` (Shift_JIS) [ext/mbstring/tests/mb_output_handler_shift_jis.phpt]
 `mb_send_mail()` test 5 (lang=Simplified Chinese) [ext/mbstring/tests/mb_send_mail05.phpt]
 `mb_send_mail()` test 6 (lang=Traditional Chinese) [ext/mbstring/tests/mb_send_mail06.phpt]
 `mb_send_mail()` test 7 (lang=Korean) [ext/mbstring/tests/mb_send_mail07.phpt]
mysqli autocommit/commit/rollback [ext/mysqli/tests/014.phpt]
Bug #29992 (foreach by reference corrupts the array) [ext/standard/tests/array/bug29992.phpt]
various `fputcsv()` functionality tests [ext/standard/tests/file/fputcsv.phpt]
 `strtotime()` function [ext/standard/tests/time/002.phpt]
Bug #27780 (strtotime(+1 xxx) returns a wrong date/time) 
[ext/standard/tests/time/bug27780.phpt]
Bug #26614 (CDATA sections skipped on line count) [ext/xml/tests/bug26614.phpt]
Bug #32001 (xml_parse*() goes into infinite loop when autodetection in effect) 
[ext/xml/tests/bug32001.phpt]
=====================================================================

Andrey

---

## #16849 — Marcus Boerger — 2005-06-21T22:37:26+00:00

URL: https://externals.io/message/16814#16849 · In reply to: #16814

Hello Andi,

  current head with a few more exts all build in:

=====================================================================
TIME END 2005-06-21 20:56:57
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :   45
Exts tested     :   52
---------------------------------------------------------------------

Number of tests : 2007              1686
Tests skipped   :  321 ( 16.0%) --------
Tests warned    :    1 (  0.0%) (  0.1%)
Tests failed    :   24 (  1.2%) (  1.4%)
Tests passed    : 1661 ( 82.8%) ( 98.5%)
---------------------------------------------------------------------
Time taken      :  951 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test for buffering in core functions with implicit flush off [tests/func/008.phpt]
Bug #31177 (Memory leak) [Zend/tests/bug31177.phpt]
Bug #32086 (strtotime don't work in DST) [ext/date/tests/bug32086.phpt]
Test 5: HTML Test [ext/dom/tests/dom005.phpt]
iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt]
HTML input/output [ext/mbstring/tests/htmlent.phpt]
 `mb_output_handler()` (Shift_JIS) [ext/mbstring/tests/mb_output_handler_shift_jis.phpt]
 `mb_send_mail()` test 5 (lang=Simplified Chinese) [ext/mbstring/tests/mb_send_mail05.phpt]
 `mb_send_mail()` test 6 (lang=Traditional Chinese) [ext/mbstring/tests/mb_send_mail06.phpt]
 `mb_send_mail()` test 7 (lang=Korean) [ext/mbstring/tests/mb_send_mail07.phpt]
mysqli connect [ext/mysqli/tests/003.phpt]
mysqli bind_param/bind_result date [ext/mysqli/tests/020.phpt]
set character set [ext/mysqli/tests/065.phpt]
PDO_MySQL: PDO_FETCH_BOUND [ext/pdo_mysql/tests/pdo_016.phpt]
PDO_MySQL: PDO::beginTransaction / PDO::rollBack [ext/pdo_mysql/tests/pdo_017.phpt]
Bug #31422 No Error-Logging on SoapServer-Side [ext/soap/tests/bugs/bug31422.phpt]
SOAP Interop Round2 base 004 (php/direct): echoString(entities) [ext/soap/tests/interop/Round2/Base/r2_base_004p.phpt]
SOAP Interop Round2 base 004 (soap/direct): echoString(entities) [ext/soap/tests/interop/Round2/Base/r2_base_004s.phpt]
SOAP Interop Round2 base 004 (php/wsdl): echoString(entities) [ext/soap/tests/interop/Round2/Base/r2_base_004w.phpt]
Bug #31213 (Sideeffects caused by bug #29493) [ext/standard/tests/array/bug31213.phpt]
Bug #22414 (passthru() does not read data correctly) [ext/standard/tests/file/bug22414.phpt]
various `fputcsv()` functionality tests [ext/standard/tests/file/fputcsv.phpt]
 `microtime()` function [ext/standard/tests/time/001.phpt] (warn: system dependent)
Bug #26614 (CDATA sections skipped on line count) [ext/xml/tests/bug26614.phpt]
Bug #32001 (xml_parse*() goes into infinite loop when autodetection in effect) [ext/xml/tests/bug32001.phpt]
=====================================================================


The two pdo mysql tests:
PDO_MySQL: PDO_FETCH_BOUND [ext/pdo_mysql/tests/pdo_016.phpt]
PDO_MySQL: PDO::beginTransaction / PDO::rollBack [ext/pdo_mysql/tests/pdo_017.phpt]

fail because of some feature the mysql driver does not support. We don't
check for that support right now simply because we can't right now. But
i have an idea how to be able to do so which i would implement after 5.1
is out - say for 5.1.1 - if then still we have that *old* driver. Old
because it uses the old mysql api and does not support all the new and
fast features ext/mysqli can and does support.

best regards
marcus

Tuesday, June 21, 2005, 4:30:54 AM, you wrote:

> Hi,

> You can reach Beta 2 at http://snaps.php.net/~andi/
> If there are no surprise show stoppers I'll put it live tomorrow evening.

> Andi




-- 
Best regards,
 Marcus                            mailto:mail@marcus-boerger.de

---

## #16854 — magnus@php.net — 2005-06-22T12:09:20+00:00

URL: https://externals.io/message/16814#16854 · In reply to: #16814

Hi Andi,


> Hi,
>
> You can reach Beta 2 at http://snaps.php.net/~andi/
> If there are no surprise show stoppers I'll put it live tomorrow
> evening.

Here are some test results from various systems:

FreeBSD 5.4 alpha:
Number of tests : 1907               984
Tests skipped   :  923 ( 48.4%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :   26 (  1.4%) (  2.6%)
Tests passed    :  958 ( 50.2%) ( 97.4%)
http://php.novell.stoldgods.nu/freebsd_5.4_alpha_20050622_0544.txt

FreeBSD 5.4 x86:
Number of tests : 1907               984
Tests skipped   :  923 ( 48.4%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :   22 (  1.2%) (  2.2%)
Tests passed    :  962 ( 50.4%) ( 97.8%)
http://php.novell.stoldgods.nu/freebsd_5.4_x86_20050622_0544.txt

HP-UX 11.23 ia64:
Number of tests : 1907               929
Tests skipped   :  978 ( 51.3%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :   43 (  2.3%) (  4.6%)
Tests passed    :  886 ( 46.5%) ( 95.4%)
http://php.novell.stoldgods.nu/hp-ux_11.23_ia64_20050622_0544.txt

HP-UX 11.23 pa-risc:
Number of tests : 1907               984
Tests skipped   :  923 ( 48.4%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :   36 (  1.9%) (  3.7%)
Tests passed    :  948 ( 49.7%) ( 96.3%)
http://php.novell.stoldgods.nu/hp-ux_11.23_pa-risc_20050622_0544.txt

SuSE ES9 amd64:
Number of tests : 1907               982
Tests skipped   :  925 ( 48.5%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :   11 (  0.6%) (  1.1%)
Tests passed    :  971 ( 50.9%) ( 98.9%)
http://php.novell.stoldgods.nu/suse_es9_amd64_20050622_0544.txt

SuSE ES9 ia64:
Number of tests : 1907               989
Tests skipped   :  918 ( 48.1%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :   12 (  0.6%) (  1.2%)
Tests passed    :  977 ( 51.2%) ( 98.8%)
http://php.novell.stoldgods.nu/suse_es9_ia64_20050622_0544.txt

RedHat ES4 ia64:
Number of tests : 1907               989
Tests skipped   :  918 ( 48.1%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :   10 (  0.5%) (  1.0%)
Tests passed    :  979 ( 51.3%) ( 99.0%)
http://php.novell.stoldgods.nu/redhat_es4_ia64_20050622_0544.txt

Tru64 5.1B alpha (without Jani's patch, bug #33433):
Number of tests : 1907               982
Tests skipped   :  925 ( 48.5%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :   53 (  2.8%) (  5.4%)
Tests passed    :  929 ( 48.7%) ( 94.6%)
http://php.novell.stoldgods.nu/tru64_5.1B_alpha_20050622_0544.txt

Tru64 5.1B alpha (with Jani's patch, bug #33433):
Number of tests : 1907               982
Tests skipped   :  925 ( 48.5%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :   29 (  1.5%) (  3.0%)
Tests passed    :  953 ( 50.0%) ( 97.0%)
http://php.novell.stoldgods.nu/tru64_5.1B_alpha_20050622_0609.txt


Magnus

-- 
Spouse, n.:
	Someone who'll stand by you through all the trouble you
	wouldn't have had if you'd stayed single.

---

## #16859 — Markus Lervik — 2005-06-22T16:41:46+00:00

URL: https://externals.io/message/16814#16859 · In reply to: #16814

> Hi,
>
> You can reach Beta 2 at http://snaps.php.net/~andi/
> If there are no surprise show stoppers I'll put it live tomorrow evening.

../configure --with-apxs=/usr/local/apache/bin/apxs --with-openssl
--with-curl --with-zlib --with-bz2 --enable-exif --with-pgsql=/usr 
--enable-soap --enable-wddx --without-sqlite --with-xsl 
--with-jpeg-dir=/usr/local/ --with-png-dir=/usr/local/ --without-mysql
--with-iconv --with-xslt-sablot --with-gd --enable-debug

=====================================================================
TIME END 2005-06-22 19:40:46
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :   59
Exts tested     :   25
---------------------------------------------------------------------

Number of tests : 1907              1355
Tests skipped   :  552 ( 28.9%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :   12 (  0.6%) (  0.9%)
Tests passed    : 1343 ( 70.4%) ( 99.1%)
---------------------------------------------------------------------
Time taken      :  139 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test for buffering in core functions with implicit flush off 
[tests/func/008.phpt]
Bug #33389 (double free() when exporting a ReflectionClass) 
[tests/reflection/bug33389.phpt]
Bug #31177 (Memory leak) [Zend/tests/bug31177.phpt]
Bug #32086 (strtotime don't work in DST) [ext/date/tests/bug32086.phpt]
Bug #22544 (TrueColor transparency in PNG images). 
[ext/gd/tests/bug22544.phpt]
iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt]
Bug #29992 (foreach by reference corrupts the array) 
[ext/standard/tests/array/bug29992.phpt]
various `fputcsv()` functionality tests [ext/standard/tests/file/fputcsv.phpt]
 `strtotime()` function [ext/standard/tests/time/002.phpt]
Bug #27780 (strtotime(+1 xxx) returns a wrong date/time) 
[ext/standard/tests/time/bug27780.phpt]
Bug #26614 (CDATA sections skipped on line count) 
[ext/xml/tests/bug26614.phpt]
Bug #32001 (xml_parse*() goes into infinite loop when autodetection in effect) 
[ext/xml/tests/bug32001.phpt]
=====================================================================



-- 
Markus Lervik
Chief Technology Officer
Necora Systems Oy
http://www.necora.fi
