[PHP-CVS] cvs: php-src(PHP_4_4) / NEWS configure.in /main php_version.h
derick Wed Apr 11 06:11:51 2007 UTC Modified files: (Branch: PHP_4_4) /php-src/main php_version.h /php-srcconfigure.in NEWS Log: - 4.4.7RC1. http://cvs.php.net/viewvc.cgi/php-src/main/php_version.h?r1=1.66.2.81.2.38r2=1.66.2.81.2.39diff_format=u Index: php-src/main/php_version.h diff -u php-src/main/php_version.h:1.66.2.81.2.38 php-src/main/php_version.h:1.66.2.81.2.39 --- php-src/main/php_version.h:1.66.2.81.2.38 Wed Feb 28 18:26:31 2007 +++ php-src/main/php_version.h Wed Apr 11 06:11:50 2007 @@ -3,5 +3,5 @@ #define PHP_MAJOR_VERSION 4 #define PHP_MINOR_VERSION 4 #define PHP_RELEASE_VERSION 7 -#define PHP_EXTRA_VERSION -dev -#define PHP_VERSION 4.4.7-dev +#define PHP_EXTRA_VERSION RC1 +#define PHP_VERSION 4.4.7RC1 http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.396.2.164.2.42r2=1.396.2.164.2.43diff_format=u Index: php-src/configure.in diff -u php-src/configure.in:1.396.2.164.2.42 php-src/configure.in:1.396.2.164.2.43 --- php-src/configure.in:1.396.2.164.2.42 Wed Feb 28 18:26:31 2007 +++ php-src/configure.inWed Apr 11 06:11:51 2007 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.396.2.164.2.42 2007/02/28 18:26:31 derick Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.396.2.164.2.43 2007/04/11 06:11:51 derick Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -38,7 +38,7 @@ MAJOR_VERSION=4 MINOR_VERSION=4 RELEASE_VERSION=7 -EXTRA_VERSION=-dev +EXTRA_VERSION=RC1 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$RELEASE_VERSION$EXTRA_VERSION dnl Define where extension directories are located in the configure context http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.1247.2.920.2.219r2=1.1247.2.920.2.220diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.1247.2.920.2.219 php-src/NEWS:1.1247.2.920.2.220 --- php-src/NEWS:1.1247.2.920.2.219 Wed Apr 4 19:52:25 2007 +++ php-src/NEWSWed Apr 11 06:11:51 2007 @@ -1,27 +1,27 @@ PHP 4 NEWS ||| -?? ??? 2007, Version 4.4.7 -- Fixed MOPB-33-2007 PHP mail() Message ASCIIZ Byte Truncation. (Ilia) -- Fixed CRLF injection inside ftp_putcmd(). (Ilia) +11 Apr 2007, Version 4.4.7RC1 +- Fixed MOPB-33-2007 (PHP mail() Message ASCIIZ Byte Truncation). (Ilia) - Fixed MOPB-32-2007 (Double free inside session_decode()). (Ilia) -- Fixed MOPB-21-2007 An open_basedir/safe_mode bypass inside the - compress.bzip2 wraper. (Ilia) -- Fixed MOPB-22-2007 PHP session_regenerate_id() Double Free Vulnerability. - (Ilia) -- Fixed MOPB-26-2007 mb_parse_str() can be used to activate - register_globals. (Ilia) -- Fixed CVE-2007-1001, GD wbmp used with invalid image size (Pierre) -- Fixed CVE-2007-0455, Buffer overflow in gdImageStringFTEx (used by imagettf - function) (Kees Cook, Pierre) +- Fixed MOPB-26-2007 (mb_parse_str() can be used to activate + register_globals). (Ilia) +- Fixed MOPB-24-2007 (Fixed unallocated memory access/double free in in + array_user_key_compare()). (Stas) +- Fixed MOPB-22-2007 (PHP session_regenerate_id() Double Free Vulnerability). + (Ilia) +- Fixed MOPB-21-2007 (An open_basedir/safe_mode bypass inside the + compress.bzip2 wraper). (Ilia) +- Fixed MOPB-8-2007 (XSS in phpinfo()). (Joe Orton, Stas) +- Fixed CVE-2007-1001 (GD wbmp used with invalid image size). (Pierre) +- Fixed CVE-2007-0455 (Buffer overflow in gdImageStringFTEx, used by imagettf + function). (Kees Cook, Pierre) - Fixed bug #40998 (long session array keys are truncated). (Tony) - Fixed bug #40915 (addcslashes unexpected behavior with binary input). (Tony) -- Fixed bug #40831 (cURL extension doesn't clean up the buffer of reused +- Fixed bug #40831 (cURL extension doesn't clean up the buffer of reused handle). (Tony) - Fixed bug #40747 (possible crash in session when save_path is out of open_basedir). (Tony) -- Fixed MOPB-8, XSS in phpinfo() (Joe Orton, Stas) -- Fixed unallocated memory access/double free in in array_user_key_compare() - (MOPB-24 by Stefan Esser) (Stas) +- Fixed CRLF injection inside ftp_putcmd(). (Ilia) 28 Feb 2007, Version 4.4.6 -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_4_4) / NEWS configure.in /main php_version.h
derick Wed Apr 11 06:13:02 2007 UTC Modified files: (Branch: PHP_4_4) /php-src/main php_version.h /php-srcconfigure.in NEWS Log: - Back to -dev. http://cvs.php.net/viewvc.cgi/php-src/main/php_version.h?r1=1.66.2.81.2.39r2=1.66.2.81.2.40diff_format=u Index: php-src/main/php_version.h diff -u php-src/main/php_version.h:1.66.2.81.2.39 php-src/main/php_version.h:1.66.2.81.2.40 --- php-src/main/php_version.h:1.66.2.81.2.39 Wed Apr 11 06:11:50 2007 +++ php-src/main/php_version.h Wed Apr 11 06:13:02 2007 @@ -3,5 +3,5 @@ #define PHP_MAJOR_VERSION 4 #define PHP_MINOR_VERSION 4 #define PHP_RELEASE_VERSION 7 -#define PHP_EXTRA_VERSION RC1 -#define PHP_VERSION 4.4.7RC1 +#define PHP_EXTRA_VERSION RC2-dev +#define PHP_VERSION 4.4.7RC2-dev http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.396.2.164.2.43r2=1.396.2.164.2.44diff_format=u Index: php-src/configure.in diff -u php-src/configure.in:1.396.2.164.2.43 php-src/configure.in:1.396.2.164.2.44 --- php-src/configure.in:1.396.2.164.2.43 Wed Apr 11 06:11:51 2007 +++ php-src/configure.inWed Apr 11 06:13:02 2007 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.396.2.164.2.43 2007/04/11 06:11:51 derick Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.396.2.164.2.44 2007/04/11 06:13:02 derick Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -38,7 +38,7 @@ MAJOR_VERSION=4 MINOR_VERSION=4 RELEASE_VERSION=7 -EXTRA_VERSION=RC1 +EXTRA_VERSION=RC2-dev VERSION=$MAJOR_VERSION.$MINOR_VERSION.$RELEASE_VERSION$EXTRA_VERSION dnl Define where extension directories are located in the configure context http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.1247.2.920.2.220r2=1.1247.2.920.2.221diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.1247.2.920.2.220 php-src/NEWS:1.1247.2.920.2.221 --- php-src/NEWS:1.1247.2.920.2.220 Wed Apr 11 06:11:51 2007 +++ php-src/NEWSWed Apr 11 06:13:02 2007 @@ -1,5 +1,7 @@ PHP 4 NEWS ||| +?? ??? 2007, Version 4.4.7 + 11 Apr 2007, Version 4.4.7RC1 - Fixed MOPB-33-2007 (PHP mail() Message ASCIIZ Byte Truncation). (Ilia) - Fixed MOPB-32-2007 (Double free inside session_decode()). (Ilia) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /ext/gd config.m4
scottmacWed Apr 11 10:43:28 2007 UTC Modified files: /php-src/ext/gd config.m4 Log: fix #41048 (PHP6 Segmentation fault issue) http://cvs.php.net/viewvc.cgi/php-src/ext/gd/config.m4?r1=1.170r2=1.171diff_format=u Index: php-src/ext/gd/config.m4 diff -u php-src/ext/gd/config.m4:1.170 php-src/ext/gd/config.m4:1.171 --- php-src/ext/gd/config.m4:1.170 Thu Apr 5 11:59:13 2007 +++ php-src/ext/gd/config.m4Wed Apr 11 10:43:28 2007 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.170 2007/04/05 11:59:13 pajoye Exp $ +dnl $Id: config.m4,v 1.171 2007/04/11 10:43:28 scottmac Exp $ dnl dnl @@ -288,6 +288,7 @@ AC_DEFINE(HAVE_GD_GIF_READ, 1, [ ]) AC_DEFINE(HAVE_GD_GIF_CREATE, 1, [ ]) AC_DEFINE(HAVE_GD_FONTCACHESHUTDOWN,1, [ ]) + AC_DEFINE(HAVE_GD_FONTMUTEX,1, [ ]) elif test $PHP_GD != no; then -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_2) /ext/gd config.w32
pajoye Wed Apr 11 11:44:20 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/gd config.w32 Log: - add HAVE_GD_FONTCACHESHUTDOWN to w32 build script (always here) http://cvs.php.net/viewvc.cgi/php-src/ext/gd/config.w32?r1=1.10.4.2r2=1.10.4.3diff_format=u Index: php-src/ext/gd/config.w32 diff -u php-src/ext/gd/config.w32:1.10.4.2 php-src/ext/gd/config.w32:1.10.4.3 --- php-src/ext/gd/config.w32:1.10.4.2 Fri Apr 6 15:38:35 2007 +++ php-src/ext/gd/config.w32 Wed Apr 11 11:44:20 2007 @@ -1,4 +1,4 @@ -// $Id: config.w32,v 1.10.4.2 2007/04/06 15:38:35 pajoye Exp $ +// $Id: config.w32,v 1.10.4.3 2007/04/11 11:44:20 pajoye Exp $ // vim:ft=javascript ARG_WITH(gd, Bundled GD support, yes,shared); @@ -40,6 +40,7 @@ /D HAVE_GDIMAGECOLORRESOLVE=1 \ /D HAVE_GD_IMAGESETBRUSH=1 \ /D HAVE_GD_IMAGESETTILE=1 \ +/D HAVE_GD_FONTCACHESHUTDOWN=1 \ /D HAVE_GD_FONTMUTEX=1 \ /D HAVE_LIBFREETYPE=1 \ /D HAVE_GD_JPG \ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /ext/standard/tests/array array_merge.phpt array_push.phpt count_recursive.phpt /ext/standard/tests/strings fprintf.phpt md5.phpt
zoe Wed Apr 11 11:44:37 2007 UTC Added files: /php-src/ext/standard/tests/array array_merge.phpt array_push.phpt /php-src/ext/standard/tests/strings fprintf.phpt Modified files: /php-src/ext/standard/tests/array count_recursive.phpt /php-src/ext/standard/tests/strings md5.phpt Log: new tests: array_merge, array_push, fprintf. modified tests: count_recursive, md5. http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/count_recursive.phpt?r1=1.4r2=1.5diff_format=u Index: php-src/ext/standard/tests/array/count_recursive.phpt diff -u php-src/ext/standard/tests/array/count_recursive.phpt:1.4 php-src/ext/standard/tests/array/count_recursive.phpt:1.5 --- php-src/ext/standard/tests/array/count_recursive.phpt:1.4 Sat Nov 16 17:26:52 2002 +++ php-src/ext/standard/tests/array/count_recursive.phpt Wed Apr 11 11:44:37 2007 @@ -1,52 +1,234 @@ --TEST-- -count +Test count() function --FILE-- ?php -print Testing NULL...\n; +/* Prototype: int count ( mixed $var [, int $mode] ); + Discription: Count elements in an array, or properties in an object +*/ + +echo *** Testing basic functionality of count() function ***\n; +print -- Testing NULL --\n; $arr = NULL; print COUNT_NORMAL: should be 0, is .count($arr, COUNT_NORMAL).\n; print COUNT_RECURSIVE: should be 0, is .count($arr, COUNT_RECURSIVE).\n; -print Testing arrays...\n; +print -- Testing arrays --\n; $arr = array(1, array(3, 4, array(6, array(8; print COUNT_NORMAL: should be 2, is .count($arr, COUNT_NORMAL).\n; print COUNT_RECURSIVE: should be 8, is .count($arr, COUNT_RECURSIVE).\n; -print Testing hashes...\n; +print -- Testing hashes --\n; $arr = array(a = 1, b = 2, array(c = 3, array(d = 5))); print COUNT_NORMAL: should be 3, is .count($arr, COUNT_NORMAL).\n; print COUNT_RECURSIVE: should be 6, is .count($arr, COUNT_RECURSIVE).\n; -print Testing strings...\n; +print -- Testing strings --\n; print COUNT_NORMAL: should be 1, is .count(string, COUNT_NORMAL).\n; print COUNT_RECURSIVE: should be 1, is .count(string, COUNT_RECURSIVE).\n; -print Testing various types with no second argument.\n; +print -- Testing various types with no second argument --\n; print COUNT_NORMAL: should be 1, is .count(string).\n; print COUNT_NORMAL: should be 2, is .count(array(a, array(b))).\n; $arr = array('a'=array(NULL, NULL, NULL), 1=array(NULL=1, 1=NULL), array(array(array(array(array(NULL)); -print Testing really cool arrays ;)\n; +print -- Testing really cool arrays --\n; print COUNT_NORMAL: should be 3, is .count($arr, COUNT_NORMAL).\n; print COUNT_RECURSIVE: should be 13, is .count($arr, COUNT_RECURSIVE).\n; + +echo \n*** Testing possible variations of count() function on arrays ***; +$count_array = array( + array(), + array( 1 = string), + array( = string, 0 = a, NULL = b, -1.00 = c, + array(array(array(NULL, + array( -2.4 = 12, array(array(1, 2, array(array(0), + array( a = 1, b = -2.344, b = string, c = NULL, d = -2.344), + array( 4 = 1, 3 = -2.344, 3 = string, 2 = NULL, + 1 = -2.344, array()), + array( TRUE = TRUE, FALSE = FALSE, = , = , +NULL = NULL, \x000 = \x000, \000 = \000), + array( NULL, 1.23 = Hi, string = hello, + array( = World, -2.34 = a, 0 = b)) +); + +$i = 0; +foreach ($count_array as $count_value) { + echo \n-- Iteration $i --\n; + print COUNT_NORMAL is .count($count_value, COUNT_NORMAL).\n; + print COUNT_RECURSIVE is .count($count_value, COUNT_RECURSIVE).\n; + $i++; +} + + +/* Testing count() by passing constant with no second argument */ +print \n-- Testing count() on constants with no second argument --\n; +print COUNT_NORMAL: should be 1, is .count(100).\n; +print COUNT_NORMAL: should be 1, is .count(-23.45).\n; + +print \n-- Testing count() on NULL and Unset variables --\n; +print COUNT_NORMAL: should be 0, is .count(NULL).\n; +print COUNT_NORMAL: should be 1, is .count().\n; +print COUNT_NORMAL: should be 0, is [EMAIL PROTECTED]($a).\n; + + +print \n-- Testing count() on an empty sub-array --\n; +$arr = array(1, array(3, 4, array())); +print COUNT_NORMAL: should be 2, is .count($arr, COUNT_NORMAL).\n; +print COUNT_RECURSIVE: should be 5, is .count($arr, COUNT_RECURSIVE).\n; + +echo \n-- Testing count() on objects with Countable interface --\n; +class count_class implements Countable { + private $var_private; + public $var_public; + protected $var_protected; + + public function count() { +return 3; + } +} + +$obj = new count_class(); +print COUNT_NORMAL: should be 3, is .count($obj).\n; + + +echo \n-- Testing count() on resource type --\n; +$resource1 = fopen( __FILE__, r ); // Creating file(stream type) resource +$resource2 = opendir( . ); // Creating dir resource + +/* creating an array with resources as elements */ +$arr_resource = array(a = $resource1, b = $resource2); +var_dump(count($arr_resource)); + +echo \n-- Testing count() on
[PHP-CVS] cvs: php-src /ext/gd config.w32
pajoye Wed Apr 11 11:45:19 2007 UTC Modified files: /php-src/ext/gd config.w32 Log: - add HAVE_GD_FONTMUTEX and HAVE_GD_FONTCACHESHUTDOWN to win32 build http://cvs.php.net/viewvc.cgi/php-src/ext/gd/config.w32?r1=1.22r2=1.23diff_format=u Index: php-src/ext/gd/config.w32 diff -u php-src/ext/gd/config.w32:1.22 php-src/ext/gd/config.w32:1.23 --- php-src/ext/gd/config.w32:1.22 Fri Apr 6 15:42:27 2007 +++ php-src/ext/gd/config.w32 Wed Apr 11 11:45:19 2007 @@ -1,4 +1,4 @@ -// $Id: config.w32,v 1.22 2007/04/06 15:42:27 pajoye Exp $ +// $Id: config.w32,v 1.23 2007/04/11 11:45:19 pajoye Exp $ // vim:ft=javascript ARG_WITH(gd, Bundled GD support, yes,shared); @@ -39,6 +39,8 @@ /D HAVE_GD_IMAGESETTILE=1 \ /D HAVE_GD_FONTMUTEX=1 \ /D HAVE_LIBFREETYPE=1 \ +/D HAVE_GD_FONTCACHESHUTDOWN=1 \ +/D HAVE_GD_FONTMUTEX=1 \ /D HAVE_GD_JPG \ /D HAVE_GD_PNG \ /D HAVE_GD_STRINGFTEX=1 \ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src / Makefile.global
tony2001Wed Apr 11 16:02:56 2007 UTC Modified files: /php-srcMakefile.global Log: we don't ship libmysql anymore, so there is no need for this message http://cvs.php.net/viewvc.cgi/php-src/Makefile.global?r1=1.71r2=1.72diff_format=u Index: php-src/Makefile.global diff -u php-src/Makefile.global:1.71 php-src/Makefile.global:1.72 --- php-src/Makefile.global:1.71Mon Feb 26 14:51:26 2007 +++ php-src/Makefile.global Wed Apr 11 16:02:56 2007 @@ -9,7 +9,6 @@ @echo @echo Build complete. @echo Don't forget to run 'make test'. - @echo (It is safe to ignore warnings about tempnam and tmpnam). @echo build-modules: $(PHP_MODULES) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_2) / Makefile.global
tony2001Wed Apr 11 16:03:06 2007 UTC Modified files: (Branch: PHP_5_2) /php-srcMakefile.global Log: MFH http://cvs.php.net/viewvc.cgi/php-src/Makefile.global?r1=1.57.2.5.2.1r2=1.57.2.5.2.2diff_format=u Index: php-src/Makefile.global diff -u php-src/Makefile.global:1.57.2.5.2.1 php-src/Makefile.global:1.57.2.5.2.2 --- php-src/Makefile.global:1.57.2.5.2.1Mon Feb 26 14:51:44 2007 +++ php-src/Makefile.global Wed Apr 11 16:03:06 2007 @@ -9,7 +9,6 @@ @echo @echo Build complete. @echo Don't forget to run 'make test'. - @echo (It is safe to ignore warnings about tempnam and tmpnam). @echo build-modules: $(PHP_MODULES) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_2) /ext/ncurses ncurses.c
georg Wed Apr 11 18:37:16 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/ncursesncurses.c Log: added support for HOME and END key http://cvs.php.net/viewvc.cgi/php-src/ext/ncurses/ncurses.c?r1=1.30.2.1.2.2r2=1.30.2.1.2.3diff_format=u Index: php-src/ext/ncurses/ncurses.c diff -u php-src/ext/ncurses/ncurses.c:1.30.2.1.2.2 php-src/ext/ncurses/ncurses.c:1.30.2.1.2.3 --- php-src/ext/ncurses/ncurses.c:1.30.2.1.2.2 Fri Jan 12 12:17:32 2007 +++ php-src/ext/ncurses/ncurses.c Wed Apr 11 18:37:15 2007 @@ -98,11 +98,12 @@ PHP_NCURSES_CONST(KEY_UP); PHP_NCURSES_CONST(KEY_LEFT); PHP_NCURSES_CONST(KEY_RIGHT); + PHP_NCURSES_CONST(KEY_HOME); + PHP_NCURSES_CONST(KEY_END); PHP_NCURSES_CONST(KEY_BACKSPACE); PHP_NCURSES_CONST(KEY_MOUSE); PHP_NCURSES_CONST(KEY_F0); - /* TODO:this macro sux, we have 65 function key, so we need a little loop */ PHP_NCURSES_FKEY_CONST(1); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_2) /ext/ncurses ncurses.c
iliaa Wed Apr 11 22:19:11 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/ncursesncurses.c Log: Don't define KEY_END twice http://cvs.php.net/viewvc.cgi/php-src/ext/ncurses/ncurses.c?r1=1.30.2.1.2.3r2=1.30.2.1.2.4diff_format=u Index: php-src/ext/ncurses/ncurses.c diff -u php-src/ext/ncurses/ncurses.c:1.30.2.1.2.3 php-src/ext/ncurses/ncurses.c:1.30.2.1.2.4 --- php-src/ext/ncurses/ncurses.c:1.30.2.1.2.3 Wed Apr 11 18:37:15 2007 +++ php-src/ext/ncurses/ncurses.c Wed Apr 11 22:19:11 2007 @@ -151,7 +151,6 @@ PHP_NCURSES_CONST(KEY_COMMAND); PHP_NCURSES_CONST(KEY_COPY); PHP_NCURSES_CONST(KEY_CREATE); - PHP_NCURSES_CONST(KEY_END); PHP_NCURSES_CONST(KEY_EXIT); PHP_NCURSES_CONST(KEY_FIND); PHP_NCURSES_CONST(KEY_HELP); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /ext/soap/tests/bugs bug34657.phpt
tony2001Wed Apr 11 22:29:46 2007 UTC Modified files: /php-src/ext/soap/tests/bugsbug34657.phpt Log: improve test http://cvs.php.net/viewvc.cgi/php-src/ext/soap/tests/bugs/bug34657.phpt?r1=1.3r2=1.4diff_format=u Index: php-src/ext/soap/tests/bugs/bug34657.phpt diff -u php-src/ext/soap/tests/bugs/bug34657.phpt:1.3 php-src/ext/soap/tests/bugs/bug34657.phpt:1.4 --- php-src/ext/soap/tests/bugs/bug34657.phpt:1.3 Tue Apr 10 21:38:09 2007 +++ php-src/ext/soap/tests/bugs/bug34657.phpt Wed Apr 11 22:29:46 2007 @@ -23,8 +23,9 @@ } catch (Exception $e) { echo get_class($e).\n; } +? --EXPECTF-- -Warning: SoapClient::__construct(): php_network_getaddresses: getaddrinfo failed: %sbug34657.php on line 3 +Warning: SoapClient::__construct(): %s %sbug34657.php on line 3 Warning: SoapClient::__construct(http://i_dont_exist.com/some.wsdl): failed to open stream: %sbug34657.php on line 3 -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_2) /ext/soap/tests/bugs bug34657.phpt
tony2001Wed Apr 11 22:29:53 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/soap/tests/bugsbug34657.phpt Log: improve test http://cvs.php.net/viewvc.cgi/php-src/ext/soap/tests/bugs/bug34657.phpt?r1=1.1.2.4r2=1.1.2.5diff_format=u Index: php-src/ext/soap/tests/bugs/bug34657.phpt diff -u php-src/ext/soap/tests/bugs/bug34657.phpt:1.1.2.4 php-src/ext/soap/tests/bugs/bug34657.phpt:1.1.2.5 --- php-src/ext/soap/tests/bugs/bug34657.phpt:1.1.2.4 Tue Apr 10 21:38:20 2007 +++ php-src/ext/soap/tests/bugs/bug34657.phpt Wed Apr 11 22:29:53 2007 @@ -23,8 +23,9 @@ } catch (Exception $e) { echo get_class($e).\n; } +? --EXPECTF-- -Warning: SoapClient::SoapClient(): php_network_getaddresses: getaddrinfo failed: %sbug34657.php on line 3 +Warning: SoapClient::SoapClient(): %s %sbug34657.php on line 3 Warning: SoapClient::SoapClient(http://i_dont_exist.com/some.wsdl): failed to open stream: %sbug34657.php on line 3 -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_2) /ext/date/tests bug35885.phpt
tony2001Wed Apr 11 22:34:48 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/date/tests bug35885.phpt Log: minor improvement http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/bug35885.phpt?r1=1.1.2.2r2=1.1.2.2.2.1diff_format=u Index: php-src/ext/date/tests/bug35885.phpt diff -u php-src/ext/date/tests/bug35885.phpt:1.1.2.2 php-src/ext/date/tests/bug35885.phpt:1.1.2.2.2.1 --- php-src/ext/date/tests/bug35885.phpt:1.1.2.2Wed Jan 4 21:31:35 2006 +++ php-src/ext/date/tests/bug35885.phptWed Apr 11 22:34:48 2007 @@ -7,7 +7,13 @@ $ts = date(DATE_ISO8601, strtotime('NOW')); $ts2 = date(DATE_ISO8601, time()); -var_dump($ts == $ts2); +$res = ($ts == $ts2); +var_dump($res); + +if (!$res) { + var_dump($ts); + var_dump($ts2); +} ? --EXPECT-- -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /ext/date/tests bug35885.phpt
tony2001Wed Apr 11 22:35:25 2007 UTC Modified files: /php-src/ext/date/tests bug35885.phpt Log: MFB http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/bug35885.phpt?r1=1.1r2=1.2diff_format=u Index: php-src/ext/date/tests/bug35885.phpt diff -u php-src/ext/date/tests/bug35885.phpt:1.1 php-src/ext/date/tests/bug35885.phpt:1.2 --- php-src/ext/date/tests/bug35885.phpt:1.1Wed Jan 4 15:56:58 2006 +++ php-src/ext/date/tests/bug35885.phptWed Apr 11 22:35:25 2007 @@ -7,7 +7,13 @@ $ts = date(DATE_ISO8601, strtotime('NOW')); $ts2 = date(DATE_ISO8601, time()); -var_dump($ts == $ts2); +$res = ($ts == $ts2); +var_dump($res); + +if (!$res) { + var_dump($ts); + var_dump($ts2); +} ? --EXPECT-- -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php