[PHP-users 19491] PHP5.0.0 Beta3 Released!!
Seiji Masugata
s.masugata @ digicom.dnp.co.jp
2003年 12月 22日 (月) 09:31:53 JST
こんにちわ、桝形です。
ようやくというか、色々とごたごたした感じがありましたがようやく
PHP5.0.0 Beta3がリリースされていますね。
この調子だとRCリリースは年始以降っぽいですね。
http://www.php.net/
http://www.php.net/NEWS_PHP_5_0_0b3.txt
----------------------------------------------------------------------
PHP 5.0 Beta 3 released!
[21-Dec-2003] PHP 5.0 Beta 3 has been released.
The third beta of PHP is also scheduled to be the last one
(barring unexpected surprises).
This beta incorporates dozens of bug fixes since Beta 2,
better XML support and many other improvements, some of
which are documented in the NEWS file.
Some of the key features of PHP 5 include:
PHP 5 features the Zend Engine 2.
XML support has been completely redone in PHP 5, all
extensions are now focused around the excellent libxml2
library (http://www.xmlsoft.org/).
SQLite has been bundled with PHP.
For more information on SQLite, please visit their website.
A new SimpleXML extension for easily accessing and manipulating
XML as PHP objects.
It can also interface with the DOM extension and vice-versa.
Streams have been greatly improved, including the ability to
access low-level socket operations on streams.
----------------------------------------------------------------------
時間やマシンに余裕があるお方は、QAテストに参加してみたり、実際に
動かして動作確認してみる等、ご協力して頂ければ。。。と思います。
古い話ですが、こんなものを発見。
http://www.zdnet.co.jp/enterprise/0311/13/epn01.html
----------------------------------------------------------------------
PHP 4とのコード互換性についてはかなり論議されてきたのですが、
設定ファイルphp.iniにコンパティビリティモードのパラメータを
用意しました。
オンにすることでPHP 4のOBモデルを改変する必要なくそのまま
動作します。PHP 4で実現していた機能の制限もありません。
----------------------------------------------------------------------
非常に雑なのですが、下記のQAテスト方法をまとめてみました。
不備等あれば遠慮なく指摘して頂ければ。。。と思います。
----------------------------------------------------------------------
【テスト方法】
----------------------------------------------------------------------
% tar zxf php-5.0.0b3.tar.gz
% cd php-5.0.0b3
% ./configure(望みのオプション)
% (configureが正常に終了したら)make
% (makeが正常に終了したら)make test
Please allow this report to be send to the PHP QA
team. This will give us a better understanding in how
PHP's test cases are doing.
(choose "s" to just save the results to a file)? [Yns]: Y ← "Y"と入力
Please enter your email address.
(Your address will be mangled so that it will not go out on any
mailinglist in plain text): s.masugata @ digicom.dnp.co.jp ← メアドを入力
----------------------------------------------------------------------
----------------------------------------------------------------------
【注意点】
----------------------------------------------------------------------
libxml2 :2.5.10以降が必要。
libsxlt :1.0.18以降が必要。
curl :7.10.5以降が必要。
mcrypt :2.5.6以降が必要。
zlib :1.0.9以降が必要。
bz2 :1.0.0以降が必要。
PHP5.0.0b3:PHP4との共存は不可。
./confgire時に--disable-cliを指定してはいけません。
理由があって既存のphp.iniファイルを利用したくない場合は、./configure
の指定で、
--with-config-file-path=/home/masugata/php
等と、php.iniの指定位置を、変更するとよいでしょう。
その際、指定した上記ディレクトリにphp.iniファイルを配置&設定する
事をお忘れなく。
壁の中にいる人は、make test完了後のメール自動送信は行われないので
手動でメールを送信する必要があります。
下記の様なメッセージが出ます。
Warning: fsockopen(): unable to connect to qa.php.net:80 (Operation timed out) in /usr/local/src/php-5.0.0b3/run-tests.php on line
527
The test script was unable to automatically send the report to PHP's QA Team
Please send php_test_results_20031222_0921.txt to qa-reports @ lists.php.net manually, thank you.
この場合、./configureを実行したディレクトリに
「php_test_results_20031222_0921.txt」
等のファイルが生成されているので、このファイルの中身を、
「php-qa @ lists.php.net」宛に、件名を
(FAILED TEST SUMMARYがあった場合)
Test results for 5.0.0b3 [failed]
(FAILED TEST SUMMARYがなかった場合)
Test results for 5.0.0b3 [success]
等として、送信しています。
コンパイルオプションが多いせいか、自分の環境下で[success]はほとんど
見かけません。
ファイルを添付して送信も行えますが、添付する・添付しない関わらず
送信するサイズが大きいとメーリングリストからエラーで戻ってきます。
この場合、お手数ですが、コンパイルオプションを分割して、make testを
行い、ファイルを分割してメール送信して下さい。これが一番面倒です。
----------------------------------------------------------------------
----------------------------------------------------------------------
【FreeBSD 4.8-RELEASEでのQAテスト結果。。。多い】
----------------------------------------------------------------------
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 40
Exts tested : 41
---------------------------------------------------------------------
Number of tests : 886
Tests skipped : 182 (20.5%)
Tests warned : 1 ( 0.1%)
Tests failed : 74 ( 8.4%)
Tests passed : 629 (71.0%)
---------------------------------------------------------------------
Time taken : 779 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
ZE2 ArrayAccess and sub Arrays [tests/classes/array_access_005.phpt]
ZE2 assign_op property of overloaded object [tests/classes/assign_op_property_001.phpt]
ZE2 post increment/decrement property of overloaded object [tests/classes/incdec_property_001.phpt]
ZE2 post increment/decrement property of overloaded object with assignment [tests/classes/incdec_property_002.phpt]
ZE2 pre increment/decrement property of overloaded object [tests/classes/incdec_property_003.phpt]
ZE2 pre increment/decrement property of overloaded object with assignment [tests/classes/incdec_property_004.phpt]
Formatted print functions [tests/strings/002.phpt]
Bug #22836 (returning references to NULL) [Zend/tests/bug22836.phpt]
Bug #26281 (switch() crash when condition is a string offset) [Zend/tests/bug26281.phpt]
Gettext basic test [ext/gettext/tests/gettext_basic.phpt]
EUC-JP to ISO-2022-JP [ext/iconv/tests/eucjp2iso2022jp.phpt]
EUC-JP to SJIS [ext/iconv/tests/eucjp2sjis.phpt]
EUC-JP to UTF8 [ext/iconv/tests/eucjp2utf8.phpt]
iconv() test 1 [ext/iconv/tests/iconv001.phpt]
iconv_mime_encode() [ext/iconv/tests/iconv_mime_encode.phpt]
iconv_strlen() [ext/iconv/tests/iconv_strlen.phpt]
iconv_strpos() [ext/iconv/tests/iconv_strpos.phpt]
iconv_strrpos() [ext/iconv/tests/iconv_strrpos.phpt]
iconv_substr() [ext/iconv/tests/iconv_substr.phpt]
ob_iconv_handler() [ext/iconv/tests/ob_iconv_handler.phpt]
Translit failure [ext/iconv/tests/translit-failure.phpt]
Bug #20087 (Assertion failure) [ext/mbstring/tests/bug20087.phpt]
Bug #26639 (mb_convert_variables() clutters variables beyond the references) [ext/mbstring/tests/bug26639.phpt]
mb_strtoupper() / mb_strtolower() [ext/mbstring/tests/casefold.phpt]
mb_convert_encoding() [ext/mbstring/tests/mb_convert_encoding.phpt]
mb_convert_variables() [ext/mbstring/tests/mb_convert_variables.phpt]
mb_detect_encoding() [ext/mbstring/tests/mb_detect_encoding.phpt]
mb_detect_order() [ext/mbstring/tests/mb_detect_order.phpt]
mb_ereg() [ext/mbstring/tests/mb_ereg.phpt]
mb_ereg_search() stuff [ext/mbstring/tests/mb_ereg_search_xxx.phpt]
mb_http_output() [ext/mbstring/tests/mb_http_output.phpt]
mb_internal_encoding() [ext/mbstring/tests/mb_internal_encoding.phpt]
mb_output_handler() (EUC-JP) [ext/mbstring/tests/mb_output_handler_euc_jp.phpt]
mb_preferred_mime_name() [ext/mbstring/tests/mb_preferred_mime_name.phpt]
mb_send_mail() test 2 (lang=Japanese) [ext/mbstring/tests/mb_send_mail02.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]
mb_strcut() [ext/mbstring/tests/mb_strcut.phpt]
mb_strimwidth() [ext/mbstring/tests/mb_strimwidth.phpt]
mb_strlen() [ext/mbstring/tests/mb_strlen.phpt]
mb_strpos() [ext/mbstring/tests/mb_strpos.phpt]
mb_strwidth() [ext/mbstring/tests/mb_strwidth.phpt]
mb_substitute_character() [ext/mbstring/tests/mb_substitute_character.phpt]
mb_substr() [ext/mbstring/tests/mb_substr.phpt]
Function overloading test 1 [ext/mbstring/tests/overload01.phpt]
Function overloading test 2 [ext/mbstring/tests/overload02.phpt]
Simple multi-byte print test (EUC-JP) [ext/mbstring/tests/simpletest.phpt]
mhash() test [ext/mhash/tests/001.phpt]
mhash_keygen_s2k() test [ext/mhash/tests/003.phpt]
Ming: Simple SWFAction() test [ext/ming/tests/swfaction.phpt]
OpenSSL private key functions [ext/openssl/tests/001.phpt]
openssl: get public key from generated private key [ext/openssl/tests/bug25614.phpt]
SimpleXML: adding/removing attributes [ext/simplexml/tests/014.phpt]
SimpleXML: modifying attributes of singular subnode [ext/simplexml/tests/016.phpt]
Bug #25756 (validate_schema_file() broken) [ext/simplexml/tests/bug25756.phpt]
Bug #26615 (exec crash on long input lines) [ext/standard/tests/file/bug26615.phpt]
date_sunrise() and date_sunset() functions [ext/standard/tests/general_functions/sunfuncts.phpt]
serialize()/unserialize()/var_dump() [ext/standard/tests/serialize/001.phpt]
HTML entities [ext/standard/tests/strings/htmlentities.phpt]
htmlentities() test 1 (cp1252) [ext/standard/tests/strings/htmlentities01.phpt]
htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15) [ext/standard/tests/strings/htmlentities02.phpt] (warn: possibly braindead libc)
htmlentities() test 3 (setlocale / de_DE.ISO-8859-1) [ext/standard/tests/strings/htmlentities03.phpt]
htmlentities() test 4 (setlocale / ja_JP.EUC-JP) [ext/standard/tests/strings/htmlentities04.phpt]
htmlentities() test 10 (default_charset / cp1252) [ext/standard/tests/strings/htmlentities10.phpt]
htmlentities() test 11 (default_charset / ISO-8859-15) [ext/standard/tests/strings/htmlentities11.phpt]
htmlentities() test 12 (default_charset / ISO-8859-1) [ext/standard/tests/strings/htmlentities12.phpt]
htmlentities() test 13 (default_charset / EUC-JP) [ext/standard/tests/strings/htmlentities13.phpt]
Test strtoupper on non-ASCII characters [ext/standard/tests/strings/strtoupper.phpt]
Check for mktime with out-of-range parameters [ext/standard/tests/time/003.phpt]
mktime() [ext/standard/tests/time/mktime.phpt]
Bug #26463 (token_get_all() does not correctly handle semicolons after T_END_HEREDOC) [ext/tokenizer/tests/bug26463.phpt]
wddx deserialization test [ext/wddx/tests/001.phpt]
UTF-8<->ISO Latin 1 encoding/decoding test [ext/xml/tests/xml006.phpt]
Test 8: Stream Wrapper Includes [ext/xsl/tests/xslt008.phpt]
=====================================================================
----------------------------------------------------------------------
--
Seiji Masugata<s.masugata @ digicom.dnp.co.jp>
PHP-users メーリングリストの案内