[PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/main/main.c branches/PHP_5_4/main/php.h trunk/main/main.c trunk/main/php.h

2011-06-24 Thread Derick Rethans
derick   Fri, 24 Jun 2011 11:19:34 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=312431

Log:
- Added a new PHPAPI function to return module_initialized:
  php_get_module_initialized().

Changed paths:
U   php/php-src/branches/PHP_5_4/main/main.c
U   php/php-src/branches/PHP_5_4/main/php.h
U   php/php-src/trunk/main/main.c
U   php/php-src/trunk/main/php.h

Modified: php/php-src/branches/PHP_5_4/main/main.c
===
--- php/php-src/branches/PHP_5_4/main/main.c2011-06-24 09:26:23 UTC (rev 
312430)
+++ php/php-src/branches/PHP_5_4/main/main.c2011-06-24 11:19:34 UTC (rev 
312431)
@@ -528,6 +528,13 @@
 }
 /* }}} */

+/* {{{ php_get_module_initialized
+ */
+PHPAPI int php_get_module_initialized(void)
+{
+   return module_initialized;
+}
+
 /* {{{ php_log_err
  */
 PHPAPI void php_log_err(char *log_message TSRMLS_DC)

Modified: php/php-src/branches/PHP_5_4/main/php.h
===
--- php/php-src/branches/PHP_5_4/main/php.h 2011-06-24 09:26:23 UTC (rev 
312430)
+++ php/php-src/branches/PHP_5_4/main/php.h 2011-06-24 11:19:34 UTC (rev 
312431)
@@ -285,6 +285,7 @@
 PHPAPI int php_write(void *buf, uint size TSRMLS_DC);
 PHPAPI int php_printf(const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1,
2);
+PHPAPI int php_get_module_initialized(void);
 PHPAPI void php_log_err(char *log_message TSRMLS_DC);
 int Debug(char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1, 2);
 int cfgparse(void);

Modified: php/php-src/trunk/main/main.c
===
--- php/php-src/trunk/main/main.c   2011-06-24 09:26:23 UTC (rev 312430)
+++ php/php-src/trunk/main/main.c   2011-06-24 11:19:34 UTC (rev 312431)
@@ -528,6 +528,13 @@
 }
 /* }}} */

+/* {{{ php_get_module_initialized
+ */
+PHPAPI int php_get_module_initialized(void)
+{
+   return module_initialized;
+}
+
 /* {{{ php_log_err
  */
 PHPAPI void php_log_err(char *log_message TSRMLS_DC)

Modified: php/php-src/trunk/main/php.h
===
--- php/php-src/trunk/main/php.h2011-06-24 09:26:23 UTC (rev 312430)
+++ php/php-src/trunk/main/php.h2011-06-24 11:19:34 UTC (rev 312431)
@@ -285,6 +285,7 @@
 PHPAPI int php_write(void *buf, uint size TSRMLS_DC);
 PHPAPI int php_printf(const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1,
2);
+PHPAPI int php_get_module_initialized(void);
 PHPAPI void php_log_err(char *log_message TSRMLS_DC);
 int Debug(char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1, 2);
 int cfgparse(void);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-CVS] svn: /SVNROOT/ global_avail

2011-06-24 Thread David Soria Parra
dsp  Fri, 24 Jun 2011 12:49:05 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=312434

Log:
give felipe access to systems as he works on pecl2.php.net

Changed paths:
U   SVNROOT/global_avail

Modified: SVNROOT/global_avail
===
--- SVNROOT/global_avail2011-06-24 12:08:20 UTC (rev 312433)
+++ SVNROOT/global_avail2011-06-24 12:49:05 UTC (rev 312434)
@@ -129,7 +129,7 @@
 avail|changelog|php/php-src,gtk/php-gtk

 # Some people have access to change the day-to-day code on the various php.net 
machines
-avail|imajes,edink,derick,sfox,wez,goba,mj,pajoye,bjori,philip,danbrown,rlms,dsp|systems
+avail|imajes,edink,derick,sfox,wez,goba,mj,pajoye,bjori,philip,danbrown,rlms,dsp,felipe|systems

 # Finally, there are various people with access to various bits and
 # pieces of other SVN modules.

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-CVS] svn: /SVNROOT/ global_avail

2011-06-24 Thread Ferenc Kovacs
On Fri, Jun 24, 2011 at 2:49 PM, David Soria Parra d...@php.net wrote:

 dsp  Fri, 24 Jun 2011 12:49:05 +

 Revision: http://svn.php.net/viewvc?view=revisionrevision=312434

 Log:
 give felipe access to systems as he works on pecl2.php.net


I'm also involved with the new pecl server, do I need this?
what does it do?

Tyrael


Re: [PHP-CVS] svn: /SVNROOT/ global_avail

2011-06-24 Thread David Soria Parra
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

it's just to update the dns servers if necessary.

Am 24.06.11 15:23, schrieb Ferenc Kovacs:
 
 
 On Fri, Jun 24, 2011 at 2:49 PM, David Soria Parra d...@php.net
 mailto:d...@php.net wrote:
 
 dsp  Fri, 24 Jun 2011 12:49:05 +
 
 Revision: http://svn.php.net/viewvc?view=revisionrevision=312434
 http://svn.php.net/viewvc?view=revisionrevision=312434
 
 Log:
 give felipe access to systems as he works on pecl2.php.net
 http://pecl2.php.net
 
 
 I'm also involved with the new pecl server, do I need this?
 what does it do?
 
 Tyrael 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOBJAkAAoJEAT0aMuPE7Z1M64P/A8rR/B3L9nTLFK7FCapyOgO
bejPPLbnXCFSqepkKbrcgp3ET6eBrPRn+2dARHhzdbvnzpTRWSYqG7Rppnx00gyc
8DywOMK4x+M0COKnbtB7YpVNTq78iAoboTzyDsD3s1h3ijPrTSG4ARuFR5359lYJ
QGM287ByVeAAH0DXEosk/1Mw0VqMIn8vsq4tCSRUZ/BuMbX5MZ6lC87vzR4GiQxJ
HdE2wM81liwnwhBN4rDu7pFDKpCFmDITjBLkYTXffO2f84U0Kq0cwjxbG1qtz5k/
Nx8778Oz0UEX+6LMh72slwPHFCKF3eTusZHRynQmo3D/oUGT1VVOVWxB8LMVr9mM
I5HLEmG7t5TPazx8tzvvn27wpGTQRJT7bcXC7FwXSPoCOpEQxOn7nJpIXDOw/jv+
CcX8XePyhgfeiChNVJHT1AasqyDTvonj5/BUGUfxjdtbjJ5WO1ZqxHKZXe0J49yk
x2o+hDRMFwKf3hlIBS0PYcmsdliCq48ZS2pcT+XpEx2AVufqP2/qrxyENkCQNL5S
KYTqgFkrTV9kXdn1Xs3Vcfko0H/ZMWQoThYPcvgGHiBvTf3pQYgCIOMNNaYFa2B3
jDyqxohntoh6nJCb345OPtRrbt6gWSbR2/IVUP0exK5NP/tCE+6Fkuere/ceABuj
oczdD55mkq40NveEYG9Z
=b/4W
-END PGP SIGNATURE-

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/pcntl/tests/pcntl_exec.phpt branches/PHP_5_3/ext/pcntl/tests/pcntl_exec_2.phpt branches/PHP_5_3/ext/pcntl/tests/pcntl_exec_3.phpt branches/PHP_5_3/ext

2011-06-24 Thread Felipe Pena
felipe   Fri, 24 Jun 2011 19:18:06 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=312440

Log:
- Added SKIPIF

Changed paths:
U   php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_exec.phpt
U   php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_exec_2.phpt
U   php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_exec_3.phpt
U   php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_signal.phpt
U   php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_wait.phpt
U   php/php-src/branches/PHP_5_4/ext/pcntl/tests/pcntl_exec.phpt
U   php/php-src/branches/PHP_5_4/ext/pcntl/tests/pcntl_exec_2.phpt
U   php/php-src/branches/PHP_5_4/ext/pcntl/tests/pcntl_exec_3.phpt
U   php/php-src/branches/PHP_5_4/ext/pcntl/tests/pcntl_signal.phpt
U   php/php-src/branches/PHP_5_4/ext/pcntl/tests/pcntl_wait.phpt
U   php/php-src/trunk/ext/pcntl/tests/pcntl_exec.phpt
U   php/php-src/trunk/ext/pcntl/tests/pcntl_exec_2.phpt
U   php/php-src/trunk/ext/pcntl/tests/pcntl_exec_3.phpt
U   php/php-src/trunk/ext/pcntl/tests/pcntl_signal.phpt
U   php/php-src/trunk/ext/pcntl/tests/pcntl_wait.phpt

Modified: php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_exec.phpt
===
--- php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_exec.phpt	2011-06-24 19:00:32 UTC (rev 312439)
+++ php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_exec.phpt	2011-06-24 19:18:06 UTC (rev 312440)
@@ -1,7 +1,10 @@
 --TEST--
 pcntl_exec()
 --SKIPIF--
-?php if (!getenv(TEST_PHP_EXECUTABLE) || !is_executable(getenv(TEST_PHP_EXECUTABLE))) die(skip TEST_PHP_EXECUTABLE not set); ?
+?php
+if (!extension_loaded(pcntl)) print skip;
+if (!getenv(TEST_PHP_EXECUTABLE) || !is_executable(getenv(TEST_PHP_EXECUTABLE))) die(skip TEST_PHP_EXECUTABLE not set);
+?
 --FILE--
 ?php
 echo ok\n;

Modified: php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_exec_2.phpt
===
--- php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_exec_2.phpt	2011-06-24 19:00:32 UTC (rev 312439)
+++ php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_exec_2.phpt	2011-06-24 19:18:06 UTC (rev 312440)
@@ -1,7 +1,12 @@
 --TEST--
 pcntl_exec() 2
 --SKIPIF--
-?php if (!getenv(TEST_PHP_EXECUTABLE) || !is_executable(getenv(TEST_PHP_EXECUTABLE))) die(skip TEST_PHP_EXECUTABLE not set); ?
+?php
+
+if (!extension_loaded(pcntl)) print skip;
+if (!getenv(TEST_PHP_EXECUTABLE) || !is_executable(getenv(TEST_PHP_EXECUTABLE))) die(skip TEST_PHP_EXECUTABLE not set);
+
+?
 --FILE--
 ?php
 if (getenv(PCNTL_EXEC_TEST_IS_CHILD)) {

Modified: php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_exec_3.phpt
===
--- php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_exec_3.phpt	2011-06-24 19:00:32 UTC (rev 312439)
+++ php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_exec_3.phpt	2011-06-24 19:18:06 UTC (rev 312440)
@@ -1,5 +1,7 @@
 --TEST--
 pcntl_exec() 3
+--SKIPIF--
+?php if (!extension_loaded(pcntl)) print skip; ?
 --FILE--
 ?php
 var_dump(pcntl_exec());

Modified: php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_signal.phpt
===
--- php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_signal.phpt	2011-06-24 19:00:32 UTC (rev 312439)
+++ php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_signal.phpt	2011-06-24 19:18:06 UTC (rev 312440)
@@ -1,6 +1,7 @@
 --TEST--
 pcntl_signal()
 --SKIPIF--
+?php if (!extension_loaded(pcntl)) print skip; ?
 ?php if (!extension_loaded(posix)) die(skip posix extension not available); ?
 --FILE--
 ?php

Modified: php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_wait.phpt
===
--- php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_wait.phpt	2011-06-24 19:00:32 UTC (rev 312439)
+++ php/php-src/branches/PHP_5_3/ext/pcntl/tests/pcntl_wait.phpt	2011-06-24 19:18:06 UTC (rev 312440)
@@ -1,8 +1,8 @@
 --TEST--
 pcntl_wait()
 --SKIPIF--
+?php if (!extension_loaded(pcntl)) print skip; ?
 ?php if (!extension_loaded(posix)) die(skip posix extension not available); ?
-?php
 --FILE--
 ?php
 $pid = pcntl_fork();

Modified: php/php-src/branches/PHP_5_4/ext/pcntl/tests/pcntl_exec.phpt
===
--- php/php-src/branches/PHP_5_4/ext/pcntl/tests/pcntl_exec.phpt	2011-06-24 19:00:32 UTC (rev 312439)
+++ php/php-src/branches/PHP_5_4/ext/pcntl/tests/pcntl_exec.phpt	2011-06-24 19:18:06 UTC (rev 312440)
@@ -1,7 +1,10 @@
 --TEST--
 pcntl_exec()
 --SKIPIF--
-?php if (!getenv(TEST_PHP_EXECUTABLE) || !is_executable(getenv(TEST_PHP_EXECUTABLE))) die(skip TEST_PHP_EXECUTABLE not set); ?
+?php
+if (!extension_loaded(pcntl)) print skip;
+if (!getenv(TEST_PHP_EXECUTABLE) || !is_executable(getenv(TEST_PHP_EXECUTABLE))) die(skip TEST_PHP_EXECUTABLE not set);
+?
 --FILE--
 ?php
 

[PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/tests/basic/bug51709_1.phpt branches/PHP_5_4/tests/basic/bug51709_2.phpt branches/PHP_5_4/tests/lang/bug21820.phpt trunk/tests/basic/bug51709_1.phpt trunk

2011-06-24 Thread Felipe Pena
felipe   Fri, 24 Jun 2011 19:23:25 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=312441

Log:
- Fixed tests

Changed paths:
U   php/php-src/branches/PHP_5_4/tests/basic/bug51709_1.phpt
U   php/php-src/branches/PHP_5_4/tests/basic/bug51709_2.phpt
U   php/php-src/branches/PHP_5_4/tests/lang/bug21820.phpt
U   php/php-src/trunk/tests/basic/bug51709_1.phpt
U   php/php-src/trunk/tests/basic/bug51709_2.phpt
U   php/php-src/trunk/tests/lang/bug21820.phpt

Modified: php/php-src/branches/PHP_5_4/tests/basic/bug51709_1.phpt
===
--- php/php-src/branches/PHP_5_4/tests/basic/bug51709_1.phpt2011-06-24 
19:18:06 UTC (rev 312440)
+++ php/php-src/branches/PHP_5_4/tests/basic/bug51709_1.phpt2011-06-24 
19:23:25 UTC (rev 312441)
@@ -13,4 +13,4 @@
 ===DONE===
 ?php exit(0); ?
 --EXPECTF--
-Parse error: syntax error, unexpected T_FOR, expecting T_STRING in 
%sbug51709_1.php on line %d
+Parse error: syntax error, unexpected 'for' (T_FOR), expecting identifier 
(T_STRING) in %sbug51709_1.php on line %d

Modified: php/php-src/branches/PHP_5_4/tests/basic/bug51709_2.phpt
===
--- php/php-src/branches/PHP_5_4/tests/basic/bug51709_2.phpt2011-06-24 
19:18:06 UTC (rev 312440)
+++ php/php-src/branches/PHP_5_4/tests/basic/bug51709_2.phpt2011-06-24 
19:23:25 UTC (rev 312441)
@@ -13,4 +13,4 @@
 ===DONE===
 ?php exit(0); ?
 --EXPECTF--
-Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in 
%sbug51709_2.php on line %d
+Parse error: syntax error, unexpected 'goto' (T_GOTO), expecting identifier 
(T_STRING) in %sbug51709_2.php on line %d

Modified: php/php-src/branches/PHP_5_4/tests/lang/bug21820.phpt
===
--- php/php-src/branches/PHP_5_4/tests/lang/bug21820.phpt   2011-06-24 
19:18:06 UTC (rev 312440)
+++ php/php-src/branches/PHP_5_4/tests/lang/bug21820.phpt   2011-06-24 
19:23:25 UTC (rev 312441)
@@ -9,5 +9,5 @@
 echo $arr['foo'];

 ?
---EXPECTREGEX--
-Parse error: (parse|syntax) error, .*expecting `?T_STRING'? or `?T_VARIABLE'? 
or `?T_NUM_STRING'? in .*bug21820.php on line .*
+--EXPECTF--
+Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), 
expecting identifier (T_STRING) or variable (T_VARIABLE) or number 
(T_NUM_STRING) in %sbug21820.php on line %d

Modified: php/php-src/trunk/tests/basic/bug51709_1.phpt
===
--- php/php-src/trunk/tests/basic/bug51709_1.phpt   2011-06-24 19:18:06 UTC 
(rev 312440)
+++ php/php-src/trunk/tests/basic/bug51709_1.phpt   2011-06-24 19:23:25 UTC 
(rev 312441)
@@ -13,4 +13,4 @@
 ===DONE===
 ?php exit(0); ?
 --EXPECTF--
-Parse error: syntax error, unexpected T_FOR, expecting T_STRING in 
%sbug51709_1.php on line %d
+Parse error: syntax error, unexpected 'for' (T_FOR), expecting identifier 
(T_STRING) in %sbug51709_1.php on line %d

Modified: php/php-src/trunk/tests/basic/bug51709_2.phpt
===
--- php/php-src/trunk/tests/basic/bug51709_2.phpt   2011-06-24 19:18:06 UTC 
(rev 312440)
+++ php/php-src/trunk/tests/basic/bug51709_2.phpt   2011-06-24 19:23:25 UTC 
(rev 312441)
@@ -13,4 +13,4 @@
 ===DONE===
 ?php exit(0); ?
 --EXPECTF--
-Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in 
%sbug51709_2.php on line %d
+Parse error: syntax error, unexpected 'goto' (T_GOTO), expecting identifier 
(T_STRING) in %sbug51709_2.php on line %d

Modified: php/php-src/trunk/tests/lang/bug21820.phpt
===
--- php/php-src/trunk/tests/lang/bug21820.phpt  2011-06-24 19:18:06 UTC (rev 
312440)
+++ php/php-src/trunk/tests/lang/bug21820.phpt  2011-06-24 19:23:25 UTC (rev 
312441)
@@ -9,5 +9,5 @@
 echo $arr['foo'];

 ?
---EXPECTREGEX--
-Parse error: (parse|syntax) error, .*expecting `?T_STRING'? or `?T_VARIABLE'? 
or `?T_NUM_STRING'? in .*bug21820.php on line .*
+--EXPECTF--
+Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), 
expecting identifier (T_STRING) or variable (T_VARIABLE) or number 
(T_NUM_STRING) in %sbug21820.php on line %d

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-CVS] svn: /SVNROOT/ global_avail

2011-06-24 Thread Philip Olson
philip   Fri, 24 Jun 2011 22:27:27 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=312445

Log:
Added web/qa to 'The PHP Web Group'

Changed paths:
U   SVNROOT/global_avail

Modified: SVNROOT/global_avail
===
--- SVNROOT/global_avail2011-06-24 19:56:46 UTC (rev 312444)
+++ SVNROOT/global_avail2011-06-24 22:27:27 UTC (rev 312445)
@@ -50,9 +50,9 @@
 
avail|lucas,jmertic,bobby,takagi,gcc,cem,mfp,ansriniv,jsgoupil,mazzanet,frogger,coldocean,fleaslob,torben,lynch,kk,ted,paul,mbritton,bibi,mrobinso,perugini,tzwenny,drews,paulsen,hartmann,leon,jonen,tschuer,tfromm,manuel,danbeck,sli,jmcastagnetto,mohrt,samesch,soneca,ronabop,glace,latoserver,rafael,jcmeloni,chrullrich,mk,troels,mathieu,phaethon,mj,corean,pandach,cycle98,vizvil,regina,cynic,jpm,dams,karoora,pcraft,suvia,zimt,ftfuture,ag315,bbonev,afortaleza,neotron,cg,delrom,jkj,hellekin,kgergely,cnewbill,fuzzy74,bjoern,fams,smasiello,dim,lucasr,cpereira,ernani,theseer,noribsd,subjective,ufux,hadar_p,asautins,dbenson,aleczapka,tom,amiller,cortesi,rarruda,betz,alindeman,thyla,cucinato,zyprexia,tpug,mitja,conni,sts,nmav,subbie,leszek,spheroid,slawek,alan_dangelo,ae,nohn,kaser01,visualmind,kurtz,luk,tronic,moh,gerzson,webler,spooky,cece,daniel,boo,nhoizey,joerg,hakan,chief977,shlomi,raful,yuval,tomer,barak,ido,mork,lior,gal,adiju,cr_depend,florian,kappu,muricaru,dt,critix,ck,cos!
 
tra,fancao0515,tibee,eriksson,wenz,bs,anderson,matroz,ave,adu,mmeier,wentzel,scaro,aspinei,lmaxcar,manuzhai,darvina,peter,maxim,romakhin,n0nick,attila,sagi,kai,microbrain,rhheo,shimi,djworld,emil,lboshell,netholic,dmitry83,progcom,verdana,yincheng,surfmax,nicos,bbd,cyril,gregory,hudzilla,klean,mignoni,wiesemann,xqi,mersal,zruya,sean,staybyte,aber_sabeel,alzahrani,thomaslio,jippie,antonio,ahxiao,akcakayaa,allhibi,aner,black,class007,digo,dima,dorons,eshare,hpop1,itay,juppie,mrmatrix,saad,thomasgm,xbite,tobsn,jome,analytik,outsider,heymarcel,asmodean,bader,elmaystro,sp,truelight,gnuhacker,_batman_,sachat,dallas,dejan,zer0fill,steve3d,lm92,bradmssw,tahani,victor,erica,simonh,phpman,mrphp,notarius,joseph,mmkhajah,mohammed,proton,klootz,takashima,leoca,ahmad,abobader,fboudot,wurm,hakawy,felix,ahmedss,mahrous2020,yorgo,gal_ga,abodive,ama,andras,hassen,jkhdk,okamura,popov,xman,fernandoc,avenger,hwin,tix,alrehawi_,liuming,ramysaweres,astone,shiflett,jaenecke,bdensley,adamchan,jingf!
 s,murphy,potatotsang,the_q,jsheets,xelis,equerci,phpcatala,tofanini,um
ut,kriga,ray,royhuggins,logician,almanar,alexws,gonik,haiaw,lkwang_cn,shadowwulf,telecart,pongsakorn,naveed,shivas,tularis,angela,decorj,hitcho,kevinkee,nmee,thx1140,crotalus,didou,novotnyr,sil,traduim,gui,mgf,ivanr,michal,tsirman,momo,cysoft,firefox,kouber,mipac,muslem,tomysk,vemarkov,garth,lord_lele,stone,laacz,retnug,ernestyang,hatem,house,luisdaniel,nizar,nvivo,seth,tomh,danguer,adam,nio,wassago,beeven,colacino,zvaranka,cesarguru,chubu,dark2907,portoban,reven,wizzard,sywr,koendw83,rylin,webstudio,jsjohnst,dmanusset,et,pitiphan,mbr,cdalar,alrashoudi,hafid,enough,zhouhao007,jnorbi,lorenzohgh,denisr,coder03,jcclaros,thomas,freeman,rioter,jschultz,davey,belleto,jtacon,yuw,elfyn,noam,nathan,salman,cheezy,ene,rezaiqbal,purnomo,dufiga_php,ftp_geo,udhien,prio,luckyguy354,maf,handi,meme,satiri,maddankara,rildo,hd,ali,lpj,adhitama,engkongs,preilly,dave,marcelo,curt,fd,javi,mrmaster,fa,vrana,apaxx,pjotrik,marduk,narcotia1234,enloma,trizo,xmadda,redshift,alifikri,coder,dodol_maniac,!
 
eflorin,adywarna,kyokpae,milans,lovchy,spermwhale,phaze,baoengb,derek,yannick,daan,xxiengb,ott,mg,kennyt,tomsommer,poz,zamolxe,bishmila,ph1,irchtml,rogamer,bortolini,sapfir,guru,ahmed,robinhood,sohli,amt,romain,hlecuanda,thessoro,nforbes,jolan,laze,bagilevi,young,shakaali,chokobo,portalufpa,teecee,blindman,holst,schst,mnv,sodhi,aidan,jellybob,lauer,shenkong,jad,robert,peterhuewe,ogre,techtonik,narigone,realtebo,krid,mclay,dasch,miwaniec,abdshomad,sammywg,aeoris,mez,jed,hsc,luckec,dmytton,choudesh,phpvcn,simp,michael,grantc,atex,katja,sthulbourn,mikl,kevinsz,roast,tessus,gavinfo,rant,ramsey,arkadius,erinet,omar,oliver,rquadling,timo,shadda,joeaccord,ezyang,ljbuesch,knut,asonge,ron,nicobn,jacques,void,mcbrown,simionea,preinheimer,stanprog,msaraujo,asbjornit,philippe,sezer,rmlr,hradtke,alan,danielc,danbrown,alexxed,psalehpoor,loudi,abedford,morgue,nilgun,saltybeagle,dedemorton,eniac2008,jawed,ch,mgdm,ericstewart,mager,keito,juxecl,chx,vito,beverloo,joris,mumumu,brandon,santiag!
 o,ajcollison,rbowen,ruslany,satoruyoshida,seld,degeberg,yago,seros,dta
jchreber,jwage,ambrish,shein,frozenfire,x1v4nx,carlos,nikola,baijh,nullw0rm,danielb,thijs,orientalcoder,sh_mashaqi,dominis,irfan,dre,marionunes,ditto,mirry,superb,moacir,itanea,vitali,duodraco,craigkitterman,mfonda,nbpoole|phpdoc,phd,web/doc,web/doc-editor

 # The PHP Web Group maintains www.php.net, news.php.net, bugs.php.net,
-# people.php.net and master.php.net.
+# people.php.net, master.php.net, 

[PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/run-tests.php branches/PHP_5_4/run-tests.php trunk/run-tests.php

2011-06-24 Thread Christopher Jones
sixd Fri, 24 Jun 2011 23:10:37 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=312447

Log:
Add http_proxy env var support to run-tests.php result submission

Changed paths:
U   php/php-src/branches/PHP_5_3/run-tests.php
U   php/php-src/branches/PHP_5_4/run-tests.php
U   php/php-src/trunk/run-tests.php

Modified: php/php-src/branches/PHP_5_3/run-tests.php
===
--- php/php-src/branches/PHP_5_3/run-tests.php	2011-06-24 22:27:57 UTC (rev 312446)
+++ php/php-src/branches/PHP_5_3/run-tests.php	2011-06-24 23:10:37 UTC (rev 312447)
@@ -312,6 +312,7 @@

 define('PHP_QA_EMAIL', 'qa-repo...@lists.php.net');
 define('QA_SUBMISSION_PAGE', 'http://qa.php.net/buildtest-process.php');
+define('QA_REPORTS_PAGE', 'http://qa.php.net/reports');

 function save_or_mail_results()
 {
@@ -324,9 +325,11 @@
 		if ($sum_results['FAILED'] || $sum_results['BORKED'] || $sum_results['WARNED'] || $sum_results['LEAKED'] || $sum_results['XFAILED']) {
 			echo \nYou may have found a problem in PHP.;
 		}
-		echo \nWe would like to send this report automatically to the\n;
-		echo PHP QA team, to give us a better understanding of how\nthe test cases are doing. If you don't want to send it\n;
-		echo immediately, you can choose \s\ to save the report to\na file that you can send us later.\n;
+		echo \nThis report can be automatically sent to the PHP QA team at\n;
+		echo QA_REPORTS_PAGE .  and http://news.php.net/php.qa.reports\n;;
+		echo This gives us a better understanding of PHP's behavior.\n;
+		echo If you don't want to send the report immediately you can choose\n;
+		echo option \s\ to save it.	You can then email it to . PHP_QA_EMAIL .  later.\n;
 		echo Do you want to send this report now? [Yns]: ;
 		flush();

@@ -951,14 +954,24 @@
 {
 	$url_bits = parse_url(QA_SUBMISSION_PAGE);

-	if (empty($url_bits['port'])) {
-		$url_bits['port'] = 80;
-	}
+if (($proxy = getenv('http_proxy'))) {
+$proxy = parse_url($proxy);
+$path = $url_bits['host'].$url_bits['path'];
+$host = $proxy['host'];
+if (empty($proxy['port'])) {
+$proxy['port'] = 80;
+}
+$port = $proxy['port'];
+} else {
+$path = $url_bits['path'];
+$host = $url_bits['host'];
+$port = empty($url_bits['port']) ? 80 : $port = $url_bits['port'];
+}

 	$data = php_test_data= . urlencode(base64_encode(str_replace(\00, '[0x0]', $data)));
 	$data_length = strlen($data);

-	$fs = fsockopen($url_bits['host'], $url_bits['port'], $errno, $errstr, 10);
+	$fs = fsockopen($host, $port, $errno, $errstr, 10);

 	if (!$fs) {
 		return false;
@@ -966,9 +979,9 @@

 	$php_version = urlencode(TESTED_PHP_VERSION);

-	echo \nPosting to {$url_bits['host']} {$url_bits['path']}\n;
-	fwrite($fs, POST  . $url_bits['path'] . ?status=$statusversion=$php_version HTTP/1.1\r\n);
-	fwrite($fs, Host:  . $url_bits['host'] . \r\n);
+	echo \nPosting to . QA_SUBMISSION_PAGE . \n;
+	fwrite($fs, POST  . $path . ?status=$statusversion=$php_version HTTP/1.1\r\n);
+	fwrite($fs, Host:  . $host . \r\n);
 	fwrite($fs, User-Agent: QA Browser 0.1\r\n);
 	fwrite($fs, Content-Type: application/x-www-form-urlencoded\r\n);
 	fwrite($fs, Content-Length:  . $data_length . \r\n\r\n);

Modified: php/php-src/branches/PHP_5_4/run-tests.php
===
--- php/php-src/branches/PHP_5_4/run-tests.php	2011-06-24 22:27:57 UTC (rev 312446)
+++ php/php-src/branches/PHP_5_4/run-tests.php	2011-06-24 23:10:37 UTC (rev 312447)
@@ -312,6 +312,7 @@

 define('PHP_QA_EMAIL', 'qa-repo...@lists.php.net');
 define('QA_SUBMISSION_PAGE', 'http://qa.php.net/buildtest-process.php');
+define('QA_REPORTS_PAGE', 'http://qa.php.net/reports');

 function save_or_mail_results()
 {
@@ -324,9 +325,11 @@
 		if ($sum_results['FAILED'] || $sum_results['BORKED'] || $sum_results['WARNED'] || $sum_results['LEAKED'] || $sum_results['XFAILED']) {
 			echo \nYou may have found a problem in PHP.;
 		}
-		echo \nWe would like to send this report automatically to the\n;
-		echo PHP QA team, to give us a better understanding of how\nthe test cases are doing. If you don't want to send it\n;
-		echo immediately, you can choose \s\ to save the report to\na file that you can send us later.\n;
+		echo \nThis report can be automatically sent to the PHP QA team at\n;
+		echo QA_REPORTS_PAGE .  and http://news.php.net/php.qa.reports\n;;
+		echo This gives us a better understanding of PHP's behavior.\n;
+		echo If you don't want to send the report immediately you can choose\n;
+		echo option \s\ to save it.	You can then email it to . PHP_QA_EMAIL .  later.\n;
 		echo Do you want to send this report now? [Yns]: ;
 		flush();

@@ -951,14 +954,24 @@
 {
 	$url_bits = parse_url(QA_SUBMISSION_PAGE);

-	if (empty($url_bits['port'])) {
-		$url_bits['port'] = 80;
-	}
+if (($proxy = getenv('http_proxy'))) {
+$proxy = 

[PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt branches/PHP_5_3/ext/spl/tests/Sp

2011-06-24 Thread Knut Urdalen
knut Sat, 25 Jun 2011 04:50:42 +

Revision: http://svn.php.net/viewvc?view=revisionrevision=312449

Log:
fixed/refactored some spl tests related to owner/group retrieval

Changed paths:
U   
php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt
U   
php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt
U   
php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileInfo_getGroup_basic.phpt
U   
php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileInfo_getOwner_basic.phpt
U   
php/php-src/branches/PHP_5_4/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt
U   
php/php-src/branches/PHP_5_4/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt
U   
php/php-src/branches/PHP_5_4/ext/spl/tests/SplFileInfo_getGroup_basic.phpt
U   
php/php-src/branches/PHP_5_4/ext/spl/tests/SplFileInfo_getOwner_basic.phpt
U   php/php-src/trunk/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt
U   php/php-src/trunk/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt
U   php/php-src/trunk/ext/spl/tests/SplFileInfo_getGroup_basic.phpt
U   php/php-src/trunk/ext/spl/tests/SplFileInfo_getOwner_basic.phpt

Modified: php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt
===
--- php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt	2011-06-25 04:32:14 UTC (rev 312448)
+++ php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt	2011-06-25 04:50:42 UTC (rev 312449)
@@ -8,23 +8,19 @@
 Francesco Trucchia f...@ideato.it
 Jacopo Romei jac...@sviluppoagile.it
 #Test Fest Cesena (Italy) on 2009-06-20
---SKIPIF--
-?php
-if (substr(PHP_OS, 0, 3) == 'WIN') die(skip this test not for Windows platforms);
-?
 --FILE--
 ?php
-
-shell_exec('mkdir test_dir_ptfi');
-$dir = new DirectoryIterator('test_dir_ptfi');
-$result = shell_exec('ls -lnd test_dir_ptfi | cut -d  -f 4');
-
-var_dump($dir-getGroup() == $result);
-
+$dirname = basename(__FILE__, '.phpt');
+mkdir($dirname);
+$dir = new DirectoryIterator($dirname);
+$expected = filegroup($dirname);
+$actual = $dir-getGroup();
+var_dump($expected == $actual);
 ?
 --CLEAN--
 ?php
-rmdir('test_dir_ptfi');
+$dirname = basename(__FILE__, '.phpt');
+rmdir($dirname);
 ?
 --EXPECTF--
 bool(true)

Modified: php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt
===
--- php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt	2011-06-25 04:32:14 UTC (rev 312448)
+++ php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt	2011-06-25 04:50:42 UTC (rev 312449)
@@ -1,29 +1,26 @@
---TEST--
-SPL: Spl Directory Iterator test getOwner
---CREDITS--
+--TEST--
+SPL: DirectoryIterator test getOwner
+--CREDITS--
 Cesare D'Amico cesare.dam...@gruppovolta.it
 Andrea Giorgini agi...@gmail.com
 Filippo De Santis f...@ideato.it
 Daniel Londero daniel.lond...@gmail.com
 Francesco Trucchia f...@ideato.it
 Jacopo Romei jac...@sviluppoagile.it
-#Test Fest Cesena (Italy) on 2009-06-20
---SKIPIF--
-?php
-if (substr(PHP_OS, 0, 3) == 'WIN') die(skip this test not for Windows platforms);
-?
---FILE--
-?php
-
-shell_exec('mkdir test_dir_ptfi');
-$dir = new DirectoryIterator('test_dir_ptfi');
-$result = shell_exec('ls -lnd test_dir_ptfi | cut -d  -f 3');
-var_dump($dir-getOwner() == $result);
-
+#Test Fest Cesena (Italy) on 2009-06-20
+--FILE--
+?php
+$dirname = basename(__FILE__, '.phpt');
+mkdir($dirname);
+$dir = new DirectoryIterator($dirname);
+$expected = fileowner($dirname);
+$actual = $dir-getOwner();
+var_dump($expected == $actual);
 ?
 --CLEAN--
 ?php
-rmdir('test_dir_ptfi');
-?
---EXPECTF--
+$dirname = basename(__FILE__, '.phpt');
+rmdir($dirname);
+?
+--EXPECTF--
 bool(true)

Modified: php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileInfo_getGroup_basic.phpt
===
--- php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileInfo_getGroup_basic.phpt	2011-06-25 04:32:14 UTC (rev 312448)
+++ php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileInfo_getGroup_basic.phpt	2011-06-25 04:50:42 UTC (rev 312449)
@@ -1,30 +1,26 @@
---TEST--
-SPL: Spl File Info test getGroup
---CREDITS--
+--TEST--
+SPL: SplFileInfo test getGroup
+--CREDITS--
 Cesare D'Amico cesare.dam...@gruppovolta.it
 Andrea Giorgini agi...@gmail.com
 Filippo De Santis f...@ideato.it
 Daniel Londero daniel.lond...@gmail.com
 Francesco Trucchia f...@ideato.it
 Jacopo Romei jac...@sviluppoagile.it
-#Test Fest Cesena (Italy) on 2009-06-20
---SKIPIF--
-?php
-if (substr(PHP_OS, 0, 3) == 'WIN') die(skip this test not for Windows platforms);
-?
---FILE--
-?php
-
-//file
-touch ('test_file_ptfi');
-$fileInfo = new SplFileInfo('test_file_ptfi');
-$result = shell_exec('ls -ln test_file_ptfi | cut -d  -f 4');