[PHP-users 11339] Re: PHP4.2.3ÌGoO(was:FormÌzñÏ)

Moriyoshi Koizumi php-users@php.gr.jp
Thu, 07 Nov 2002 14:11:55 +0900


¾®Àô¤Ç¤¹¡£

¤´¶¨ÎÏ´¶¼Õ¤Ç¤¹¡£

¤¨¤¨(´À)¡¢Ê̤βսê¤Ç¤â²¿ÅÙ¤«Êó¹ð¤¬¾å¤¬¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢
2»þ´Ö¤«¤«¤Ã¤Æ¤·¤Þ¤¦¤Î¤Ï(¤È¤¤¤¦¤«¡¢Ìµ¸Â¥ë¡¼¥×¡©)¡¢
ÌÀ¤é¤«¤Ë¥Ð¥°¤Ç¤¹¡£°Ê²¼¤ËÄ´ººÊýË¡¤ò¼¨¤·¤Þ¤·¤¿¡£

¥½¡¼¥¹¥Ä¥ê¡¼¤Î¥È¥Ã¥×¤«¤é¡¢

$ ./sapi/cli/php tests/strings/002.phpt

¤ò¼Â¹Ô¤¹¤ë¤È¡¢

--TEST--
Formatted print functions
--POST--
--GET--
--FILE--
printf test 1:simple string
printf test 2:42
printf test 3:3.333333

...

¤Î¤è¤¦¤Ëɽ¼¨¤µ¤ì¤ë¤Ï¤º¤Ê¤Î¤Ç¤¹¤¬¡¢¤³¤ì¤Ç¤â¥¹¥¯¥ê¥×¥È¤Î¼Â¹Ô¤¬½ªÎ»
¤·¤Ê¤±¤ì¤Ð¡¢¥Æ¥¹¥È¥±¡¼¥¹Â¦¤ÇȯÀ¸¤·¤¿ÌäÂê¤Ê¤Î¤Ç¡¢¼¡¤Î¼ê½ç¤ò»È¤Ã¤Æ
gdb ¤ò»È¤Ã¤Æ¥Ð¥Ã¥¯¥È¥ì¡¼¥¹¤òÀ¸À®¤·¤ÆÁ÷¤Ã¤Æ¤¤¤¿¤À¤±¤Þ¤»¤ó¤Ç¤·¤ç¤¦¤«¡£
Á÷¤êÀè¤Ï»ä¤ËľÀܤǤ⹽¤¤¤Þ¤»¤ó¤·(¤½¤Î¾ì¹ç¤Ïdev¤ËžÁ÷¤·¤Þ¤¹)¡¢¤Þ¤¿¤Ï 
php-dev ¤ËÅꤲ¤Æ¤¤¤¿¤À¤¤¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£

¤µ¤Æ¡¢bt ¤Ê¤ó¤Ç¤¹¤¬
(¤â¤Ã¤ÈÎɤ¤ÊýË¡¤¬¤¢¤ì¤Ð¡¢¤½¤ì¤Ç·ë¹½¤Ç¤¹)

$ gdb sapi/cli/php
GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
...

(gdb) run tests/strings/002.phpt
...

¤³¤³¤ÇºÇ¸å¤Ë Program exited normally. ¤È½Ð¤ì¤ÐÌäÂꤢ¤ê¤Þ¤»¤ó¡£
¤â¤·¥×¥í¥ó¥×¥È¤¬½Ð¤Ê¤¤¾ì¹ç¤Ï¡¢Å¬Åö¤Ê½ê¤Ç Ctrl+C ¤·¤Æ¡¢

(gdb) bt

¤È¤·¤Æ¤¯¤À¤µ¤¤¡£¥Ð¥Ã¥¯¥È¥ì¡¼¥¹¤¬½Ð¤Þ¤¹¡£

¤â¤·¡¢¥Æ¥¹¥È¥±¡¼¥¹Â¦¤ÎÌäÂê¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢run-tests.php ¤ÎÌäÂê¤Ç¤¢¤ë¤È
¹Í¤¨¤é¤ì¤Þ¤¹¡£¤³¤Î¾ì¹ç¤â¥Ð¥Ã¥¯¥È¥ì¡¼¥¹¤¬¤¢¤ë¤ÈÈó¾ï¤Ë½õ¤«¤ê¤Þ¤¹¡£

$ export TEST_EXECUTABLE="sapi/cli/php"
(bourne ¥·¥§¥ë¤Î¾ì¹ç¤Ç¤¹¡£Å¬µ¹ÃÖ¤­´¹¤¨¤Æ¤¯¤À¤µ¤¤)
$ $TEST_EXECUTABLE run-tests.php tests/strings/002.phpt

°Ê¾å¤Î¼ê½ç¤Ç¥Æ¥¹¥¿¡¼¤¬Ìµ¸Â¥ë¡¼¥×¤Ë´Ù¤é¤Ê¤¤¤«¤É¤¦¤«¤ò
Ä´¤Ù¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

¥À¥á¤Ç¤·¤¿¤é¡¢

$ gdb $TEST_EXECUTABLE
(gdb) run run-tests.php tests/strings/002.phpt
...

¤Ê´¶¤¸¤Ç¡¢bt ¤òºÎ¼è¤·¤Æ¤¯¤À¤µ¤¤¡£

°Ê¾å·ë¹½ÌÌÅݤ¯¤µ¤¤¤³¤È¤Ê¤Î¤Ç¡¢¤ª»þ´Ö¤¬¤¢¤ë¤È¤­¤Ç¹½¤¤¤Þ¤»¤ó¤«¤é¡¢
¤´¶¨ÎϤ¤¤¿¤À¤±¤ë¤È¹¬¤¤¤Ç¤¹¡£

¤½¤ì¤Ç¤Ï¡£

KATOH Yasufumi <karma@prog.club.ne.jp> wrote:

> ²ÃÆ£ÂÙʸ¤Ç¤¹¡¥
> 
> >>> On Wed, 06 Nov 2002 08:43:54 +0900
>     in message   "[PHP-users 11299] Re: PHP4.2.3¤Î¥¨¥ó¥Ð¥°(was:Form ¤ÎÇÛÎóÊÑ¿ô)"
>                   Moriyoshi Koizumi-san wrote:
> 
> > $ make test
> > ¤È¤¹¤ë¤È¡¢¥Ó¥ë¥É¤Î¸å¡¢¥æ¥Ë¥Ã¥È¥Æ¥¹¥È¤¬Áö¤ê¤Þ¤¹¡£
> > (make install ¤ÏɬÍפ¢¤ê¤Þ¤»¤ó)
> 
> ¤³¤ì¤Ã¤Æ»þ´Ö¤¬¤¹¤´¤¯¤«¤«¤ë¤â¤Î¤Ê¤Î¤Ç¤·¤ç¤¦¤«?
> 
> make test ¤·¤Æ¤«¤é 2h °Ê¾å·Ð²á¤·¤Æ¤¤¤Þ¤¹¤¬
> 
> | PASS $this in constructor test [tests/lang/030.phpt]
> | PASS Internal hash position bug on assignment (Bug #16227) [tests/lang/031.phpt]
> | PASS Class method registration [tests/lang/032.phpt]
> | PASS Alternative syntaxes test [tests/lang/033.phpt]
> | SKIP Locale settings affecting float parsing [tests/lang/034.phpt]
> | SKIP ZE2: set_exception_handler() [tests/lang/035.phpt] (reason: Zend engine 2 required)
> | PASS String functions [tests/strings/001.phpt]
> | PASS Formatted print functions [tests/strings/002.phpt]
> 
> ¤Î¸åÆ°¤­¤¬Á´¤¯¤¢¤ê¤Þ¤»¤ó¡¥
> 
> ¤Á¤Ê¤ß¤Ë Celeron 466MHz, Memory 192MB ¤Î¥Þ¥·¥ó¤Ç¤¹¡¥
> 
> -- 
> ==============================================
> ((((    ²ÃÆ£ÂÙʸ
> ¡û-¡û                karma @ prog.club.ne.jp
> ==============================================
> (Web Page) http://www.ae.wakwak.com/%7Ekarma/
> ==============================================
> ¤½¤Î¾¤Î¥è¡¼¥í¥Ã¥Ñ¤Î²»³Ú¤Î¥Ú¡¼¥¸¤ò¹¹¿·(October 28)
> _______________________________________________
> PHP-users mailing list
> PHP-users@php.gr.jp
> http://ns1.php.gr.jp/mailman/listinfo/php-users