[PHP-CVS] svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/ext/sqlite3/sqlite3.c branches/PHP_5_3/ext/sqlite3/tests/sqlite3_35_stmt_readonly.phpt trunk/ext/sqlite3/sqlite3.c trunk/ext/sqlite3

2010-12-31 Thread Scott MacVicar
scottmac Fri, 31 Dec 2010 16:37:12 +

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

Log:
Add SQLite3_Stmt::readOnly for checking if a statement is read only

Changed paths:
U   php/php-src/branches/PHP_5_3/NEWS
U   php/php-src/branches/PHP_5_3/ext/sqlite3/sqlite3.c
A   
php/php-src/branches/PHP_5_3/ext/sqlite3/tests/sqlite3_35_stmt_readonly.phpt
U   php/php-src/trunk/ext/sqlite3/sqlite3.c
A   php/php-src/trunk/ext/sqlite3/tests/sqlite3_35_stmt_readonly.phpt

Modified: php/php-src/branches/PHP_5_3/NEWS
===
--- php/php-src/branches/PHP_5_3/NEWS	2010-12-31 15:10:43 UTC (rev 306929)
+++ php/php-src/branches/PHP_5_3/NEWS	2010-12-31 16:37:12 UTC (rev 306930)
@@ -1,6 +1,6 @@
 PHPNEWS
 |||
-?? ??? 20??, PHP 5.3.5
+?? ??? 2011, PHP 5.3.5
 - Upgraded bundled Sqlite3 to version 3.7.4. (Ilia)
 - Upgraded bundled PCRE to version 8.11. (Ilia)

@@ -79,8 +79,9 @@
   . Fixed bug #53515 (property_exists incorrect on ArrayObject null and 0
 values). (Felipe)

-- SQLite extension:
+- SQLite3 extension:
   . Fixed memory leaked introduced by the NULL poisoning patch (Mateusz Kocielski, Pierre)
+  . Add SQlite3_Stmt::readonly() for checking if a statement is read only. (Scott)

 - Streams:
   . Implemented FR #26158 (open arbitrary file descriptor with fopen). (Gustavo)

Modified: php/php-src/branches/PHP_5_3/ext/sqlite3/sqlite3.c
===
--- php/php-src/branches/PHP_5_3/ext/sqlite3/sqlite3.c	2010-12-31 15:10:43 UTC (rev 306929)
+++ php/php-src/branches/PHP_5_3/ext/sqlite3/sqlite3.c	2010-12-31 16:37:12 UTC (rev 306930)
@@ -1081,10 +1081,9 @@

 static int php_sqlite3_stream_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC)
 {
-	/* TODO: fill in details based on Data: and Content-Length: headers, and/or data
-	 * from curl_easy_getinfo().
-	 * For now, return -1 to indicate that it doesn't make sense to stat this stream */
-	return -1;
+	php_stream_sqlite3_data *sqlite3_stream = (php_stream_sqlite3_data *) stream-abstract;
+	ssb-sb.st_size = sqlite3_stream-size;
+	return 0;
 }

 static php_stream_ops php_stream_sqlite3_ops = {
@@ -1234,6 +1233,27 @@
 }
 /* }}} */

+/* {{{ proto bool SQLite3Stmt::readOnly()
+   Returns true if a statement is definitely read only */
+PHP_METHOD(sqlite3stmt, readOnly)
+{
+	php_sqlite3_stmt *stmt_obj;
+	zval *object = getThis();
+	stmt_obj = (php_sqlite3_stmt *)zend_object_store_get_object(object TSRMLS_CC);
+
+	if (zend_parse_parameters_none() == FAILURE) {
+		return;
+	}
+
+#if SQLITE_VERSION_NUMBER = 3007004
+	if (sqlite3_stmt_readonly(stmt_obj-stmt)) {
+		RETURN_TRUE;
+	}
+#endif
+	RETURN_FALSE;
+}
+/* }}} */
+
 static int register_bound_parameter_to_sqlite(struct php_sqlite3_bound_param *param, php_sqlite3_stmt *stmt TSRMLS_DC) /* {{{ */
 {
 	HashTable *hash;
@@ -1804,6 +1824,7 @@
 	PHP_ME(sqlite3stmt, execute,	arginfo_sqlite3_void, ZEND_ACC_PUBLIC)
 	PHP_ME(sqlite3stmt, bindParam,	arginfo_sqlite3stmt_bindparam, ZEND_ACC_PUBLIC)
 	PHP_ME(sqlite3stmt, bindValue,	arginfo_sqlite3stmt_bindvalue, ZEND_ACC_PUBLIC)
+	PHP_ME(sqlite3stmt, readOnly,	arginfo_sqlite3_void, ZEND_ACC_PUBLIC)
 	PHP_ME(sqlite3stmt, __construct, arginfo_sqlite3stmt_construct, ZEND_ACC_PRIVATE|ZEND_ACC_CTOR)
 	{NULL, NULL, NULL}
 };

Added: php/php-src/branches/PHP_5_3/ext/sqlite3/tests/sqlite3_35_stmt_readonly.phpt
===
--- php/php-src/branches/PHP_5_3/ext/sqlite3/tests/sqlite3_35_stmt_readonly.phpt	(rev 0)
+++ php/php-src/branches/PHP_5_3/ext/sqlite3/tests/sqlite3_35_stmt_readonly.phpt	2010-12-31 16:37:12 UTC (rev 306930)
@@ -0,0 +1,53 @@
+--TEST--
+SQLite3_stmt::readOnly check
+--SKIPIF--
+?php require_once(dirname(__FILE__) . '/skipif.inc');
+$version = SQLite3::version();
+if ($version['versionNumber']  3007004) {
+  die(skip);
+}
+?
+--FILE--
+?php
+
+require_once(dirname(__FILE__) . '/new_db.inc');
+define('TIMENOW', time());
+
+echo Creating Table\n;
+var_dump($db-exec('CREATE TABLE test (time INTEGER, id STRING)'));
+
+echo INSERT into table\n;
+var_dump($db-exec(INSERT INTO test (time, id) VALUES ( . TIMENOW . , 'a')));
+var_dump($db-exec(INSERT INTO test (time, id) VALUES ( . TIMENOW . , 'b')));
+
+echo Checking select statement\n;
+$stmt = $db-prepare(SELECT * FROM test WHERE id = ? ORDER BY id ASC);
+var_dump($stmt-readOnly());
+
+echo Checking update statement\n;
+$stmt = $db-prepare(UPDATE test SET id = 'c' WHERE id = ?);
+var_dump($stmt-readOnly());
+
+echo Checking delete statement\n;
+$stmt = $db-prepare(DELETE FROM test);
+var_dump($stmt-readOnly());
+
+echo Closing database\n;
+var_dump($db-close());
+echo Done\n;
+?
+--EXPECTF--
+Creating Table
+bool(true)
+INSERT 

[PHP-CVS] svn: /php/php-src/trunk/ NEWS UPGRADING Zend/tests/026.phpt Zend/tests/033.phpt Zend/tests/bug52041.phpt Zend/tests/bug52614.phpt Zend/zend_execute.c ext/dom/tests/bug47430.phpt ext/reflecti

2010-12-31 Thread Scott MacVicar
scottmac Fri, 31 Dec 2010 16:57:45 +

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

Log:
Silently casting an empty string, null or false into an object by adding a 
property
is pretty non-intuitive. If the same value was 1 or true you get a warning and 
it halts.

Since we can't break BC completely (yet) lets bump this from E_STRICT.

Also added a new section to UPGRADING for engine changes.

?php
$x = '';
// $x = null;
// $x = false;
$x-baz = 1;
var_dump($x);

$y = 1;
$y-baz = 1;
var_dump($y);

Changed paths:
U   php/php-src/trunk/NEWS
U   php/php-src/trunk/UPGRADING
U   php/php-src/trunk/Zend/tests/026.phpt
U   php/php-src/trunk/Zend/tests/033.phpt
U   php/php-src/trunk/Zend/tests/bug52041.phpt
U   php/php-src/trunk/Zend/tests/bug52614.phpt
U   php/php-src/trunk/Zend/zend_execute.c
U   php/php-src/trunk/ext/dom/tests/bug47430.phpt
U   php/php-src/trunk/ext/reflection/tests/bug40431.phpt
U   php/php-src/trunk/tests/classes/implicit_instantiation_001.phpt

Modified: php/php-src/trunk/NEWS
===
--- php/php-src/trunk/NEWS	2010-12-31 16:37:12 UTC (rev 306930)
+++ php/php-src/trunk/NEWS	2010-12-31 16:57:45 UTC (rev 306931)
@@ -27,6 +27,8 @@
 - Changed array_combine() to return empty array instead of FALSE when both
   parameter arrays are empty. FR #34857. (joel.per...@gmail.com)
 - Changed third parameter of preg_match_all() to optional. FR #53238. (Adam)
+- Changed silent casting of null/''/false into an Object when adding
+  a property into a warning. (Scott)

 - General improvements:
   . Added multibyte suppport by default. Previosly php had to be compiled

Modified: php/php-src/trunk/UPGRADING
===
--- php/php-src/trunk/UPGRADING	2010-12-31 16:37:12 UTC (rev 306930)
+++ php/php-src/trunk/UPGRADING	2010-12-31 16:57:45 UTC (rev 306931)
@@ -4,19 +4,19 @@

 1. Changes made to default configuration
 2. Reserved words and classes
-3. Changes made to existing functions
-4. Changes made to existing methods
-5. Changes made to existing classes
-6. Deprecated
-7. Removed
-8. Extensions:
+3. Changes made to engine behaviour
+4. Changes made to existing functions
+5. Changes made to existing methods
+6. Changes made to existing classes
+7. Deprecated
+8. Removed
+9. Extensions:
  a. moved out to PECL and actively maintained there
  b. no longer maintained
  c. with changed behaviour
  d. no longer possible to disable
-9. Changes in SAPI support
-10. Changes in INI directives
-11. Syntax additions
+10. Changes in SAPI support
+11. Changes in INI directives
 12. Syntax additions
 13. Windows support
 14. New in PHP X.Y:
@@ -87,8 +87,22 @@

 -

+=
+3. Changes made to engine behaviour
+=
+
+- Turning null, false or empty string into an object by adding a property
+  will now emit a warning instead of an E_STRICT error.
+
+  $test = null;
+  $test-baz = 1;
+
+  To create a generic object you can use StdClass:
+  $test = new StdClass;
+  $text-baz = 1;
+
 =
-3. Changes made to existing functions
+4. Changes made to existing functions
 =

 - array_combine now returns array() instead of FALSE when two empty arrays are
@@ -150,23 +164,23 @@


 ===
-4. Changes made to existing methods
+5. Changes made to existing methods
 ===

 -

 ===
-5. Changes made to existing classes
+6. Changes made to existing classes
 ===

 -

 =
-6. Deprecated
+7. Deprecated
 =

 ==
-7. Removed
+8. Removed
 ==

 a. removed features
@@ -215,7 +229,7 @@
- continue $var;

 =
-8. Extensions
+9. Extensions
 =

  a. moved out to PECL and actively maintained there
@@ -237,7 +251,7 @@
 -

 ==
-9. Changes in SAPI support
+10. Changes in SAPI support
 ==

 - The REQUEST_TIME value inside server now returns a floating point number
@@ -245,7 +259,7 @@
   value should be returning float and not time_t.

 =
-10. Changes in INI directives
+11. Changes in INI directives
 =

 - Added session.upload_progress.enabled, session.upload_progress.cleanup,
@@ -264,7 +278,7 @@
   three times.

 
-11. Syntax additions
+12. Syntax additions
 

 - Array dereferencing.
@@ -273,14 +287,14 @@
 $foo-bar()[0]

 ===
-12. Windows support
+13. Windows support
 ===

 - is_link now works properly for symbolic links on Windows Vista
   or later. Earlier systems do not support symbolic links.

 ===
-13. New in PHP X.Y:
+14. 

[PHP-CVS] svn: /php/php-src/trunk/ TSRM/TSRM.c TSRM/TSRM.h TSRM/tsrm_nw.c TSRM/tsrm_nw.h TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.h TSRM/tsrm_win32.c TSRM/tsrm_win32.h Zend/acconfig.h Zend/zend.c

2010-12-31 Thread Felipe Pena
felipe   Sat, 01 Jan 2011 02:17:06 +

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

Log:
- Year++

Changed paths:
U   php/php-src/trunk/TSRM/TSRM.c
U   php/php-src/trunk/TSRM/TSRM.h
U   php/php-src/trunk/TSRM/tsrm_nw.c
U   php/php-src/trunk/TSRM/tsrm_nw.h
U   php/php-src/trunk/TSRM/tsrm_virtual_cwd.c
U   php/php-src/trunk/TSRM/tsrm_virtual_cwd.h
U   php/php-src/trunk/TSRM/tsrm_win32.c
U   php/php-src/trunk/TSRM/tsrm_win32.h
U   php/php-src/trunk/Zend/acconfig.h
U   php/php-src/trunk/Zend/zend.c
U   php/php-src/trunk/Zend/zend.h
U   php/php-src/trunk/Zend/zend_API.c
U   php/php-src/trunk/Zend/zend_API.h
U   php/php-src/trunk/Zend/zend_alloc.c
U   php/php-src/trunk/Zend/zend_alloc.h
U   php/php-src/trunk/Zend/zend_build.h
U   php/php-src/trunk/Zend/zend_builtin_functions.c
U   php/php-src/trunk/Zend/zend_builtin_functions.h
U   php/php-src/trunk/Zend/zend_closures.c
U   php/php-src/trunk/Zend/zend_closures.h
U   php/php-src/trunk/Zend/zend_compile.c
U   php/php-src/trunk/Zend/zend_compile.h
U   php/php-src/trunk/Zend/zend_config.nw.h
U   php/php-src/trunk/Zend/zend_config.w32.h
U   php/php-src/trunk/Zend/zend_constants.c
U   php/php-src/trunk/Zend/zend_constants.h
U   php/php-src/trunk/Zend/zend_default_classes.c
U   php/php-src/trunk/Zend/zend_dynamic_array.c
U   php/php-src/trunk/Zend/zend_dynamic_array.h
U   php/php-src/trunk/Zend/zend_errors.h
U   php/php-src/trunk/Zend/zend_exceptions.c
U   php/php-src/trunk/Zend/zend_exceptions.h
U   php/php-src/trunk/Zend/zend_execute.c
U   php/php-src/trunk/Zend/zend_execute.h
U   php/php-src/trunk/Zend/zend_execute_API.c
U   php/php-src/trunk/Zend/zend_extensions.c
U   php/php-src/trunk/Zend/zend_extensions.h
U   php/php-src/trunk/Zend/zend_float.c
U   php/php-src/trunk/Zend/zend_float.h
U   php/php-src/trunk/Zend/zend_gc.c
U   php/php-src/trunk/Zend/zend_gc.h
U   php/php-src/trunk/Zend/zend_globals.h
U   php/php-src/trunk/Zend/zend_globals_macros.h
U   php/php-src/trunk/Zend/zend_hash.c
U   php/php-src/trunk/Zend/zend_hash.h
U   php/php-src/trunk/Zend/zend_highlight.c
U   php/php-src/trunk/Zend/zend_highlight.h
U   php/php-src/trunk/Zend/zend_indent.c
U   php/php-src/trunk/Zend/zend_indent.h
U   php/php-src/trunk/Zend/zend_ini.c
U   php/php-src/trunk/Zend/zend_ini.h
U   php/php-src/trunk/Zend/zend_ini_parser.y
U   php/php-src/trunk/Zend/zend_ini_scanner.c
U   php/php-src/trunk/Zend/zend_ini_scanner.h
U   php/php-src/trunk/Zend/zend_ini_scanner.l
U   php/php-src/trunk/Zend/zend_interfaces.c
U   php/php-src/trunk/Zend/zend_interfaces.h
U   php/php-src/trunk/Zend/zend_istdiostream.h
U   php/php-src/trunk/Zend/zend_iterators.c
U   php/php-src/trunk/Zend/zend_iterators.h
U   php/php-src/trunk/Zend/zend_language_parser.y
U   php/php-src/trunk/Zend/zend_language_scanner.c
U   php/php-src/trunk/Zend/zend_language_scanner.h
U   php/php-src/trunk/Zend/zend_language_scanner.l
U   php/php-src/trunk/Zend/zend_list.c
U   php/php-src/trunk/Zend/zend_list.h
U   php/php-src/trunk/Zend/zend_llist.c
U   php/php-src/trunk/Zend/zend_llist.h
U   php/php-src/trunk/Zend/zend_modules.h
U   php/php-src/trunk/Zend/zend_multibyte.c
U   php/php-src/trunk/Zend/zend_multibyte.h
U   php/php-src/trunk/Zend/zend_multiply.h
U   php/php-src/trunk/Zend/zend_object_handlers.c
U   php/php-src/trunk/Zend/zend_object_handlers.h
U   php/php-src/trunk/Zend/zend_objects.c
U   php/php-src/trunk/Zend/zend_objects.h
U   php/php-src/trunk/Zend/zend_objects_API.c
U   php/php-src/trunk/Zend/zend_objects_API.h
U   php/php-src/trunk/Zend/zend_opcode.c
U   php/php-src/trunk/Zend/zend_operators.c
U   php/php-src/trunk/Zend/zend_operators.h
U   php/php-src/trunk/Zend/zend_ptr_stack.c
U   php/php-src/trunk/Zend/zend_ptr_stack.h
U   php/php-src/trunk/Zend/zend_qsort.c
U   php/php-src/trunk/Zend/zend_qsort.h
U   php/php-src/trunk/Zend/zend_sprintf.c
U   php/php-src/trunk/Zend/zend_stack.c
U   php/php-src/trunk/Zend/zend_stack.h
U   php/php-src/trunk/Zend/zend_static_allocator.c
U   php/php-src/trunk/Zend/zend_static_allocator.h
U   php/php-src/trunk/Zend/zend_stream.c
U   php/php-src/trunk/Zend/zend_stream.h
U   php/php-src/trunk/Zend/zend_string.c
U   php/php-src/trunk/Zend/zend_string.h
U   php/php-src/trunk/Zend/zend_strtod.h
U   php/php-src/trunk/Zend/zend_ts_hash.c
U   php/php-src/trunk/Zend/zend_ts_hash.h
U   php/php-src/trunk/Zend/zend_types.h
U   php/php-src/trunk/Zend/zend_variables.c
U   php/php-src/trunk/Zend/zend_variables.h
U   php/php-src/trunk/Zend/zend_vm.h
U   php/php-src/trunk/Zend/zend_vm_def.h
U   php/php-src/trunk/Zend/zend_vm_execute.h

[PHP-CVS] svn: /php/php-src/branches/PHP_5_3/ TSRM/TSRM.c TSRM/TSRM.h TSRM/tsrm_nw.c TSRM/tsrm_nw.h TSRM/tsrm_virtual_cwd.c TSRM/tsrm_virtual_cwd.h TSRM/tsrm_win32.c TSRM/tsrm_win32.h Zend/acconfig.h

2010-12-31 Thread Felipe Pena
felipe   Sat, 01 Jan 2011 02:19:59 +

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

Log:
- Year++

Changed paths:
U   php/php-src/branches/PHP_5_3/TSRM/TSRM.c
U   php/php-src/branches/PHP_5_3/TSRM/TSRM.h
U   php/php-src/branches/PHP_5_3/TSRM/tsrm_nw.c
U   php/php-src/branches/PHP_5_3/TSRM/tsrm_nw.h
U   php/php-src/branches/PHP_5_3/TSRM/tsrm_virtual_cwd.c
U   php/php-src/branches/PHP_5_3/TSRM/tsrm_virtual_cwd.h
U   php/php-src/branches/PHP_5_3/TSRM/tsrm_win32.c
U   php/php-src/branches/PHP_5_3/TSRM/tsrm_win32.h
U   php/php-src/branches/PHP_5_3/Zend/acconfig.h
U   php/php-src/branches/PHP_5_3/Zend/zend.c
U   php/php-src/branches/PHP_5_3/Zend/zend.h
U   php/php-src/branches/PHP_5_3/Zend/zend_API.c
U   php/php-src/branches/PHP_5_3/Zend/zend_API.h
U   php/php-src/branches/PHP_5_3/Zend/zend_alloc.c
U   php/php-src/branches/PHP_5_3/Zend/zend_alloc.h
U   php/php-src/branches/PHP_5_3/Zend/zend_build.h
U   php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.c
U   php/php-src/branches/PHP_5_3/Zend/zend_builtin_functions.h
U   php/php-src/branches/PHP_5_3/Zend/zend_closures.c
U   php/php-src/branches/PHP_5_3/Zend/zend_closures.h
U   php/php-src/branches/PHP_5_3/Zend/zend_compile.c
U   php/php-src/branches/PHP_5_3/Zend/zend_compile.h
U   php/php-src/branches/PHP_5_3/Zend/zend_config.nw.h
U   php/php-src/branches/PHP_5_3/Zend/zend_config.w32.h
U   php/php-src/branches/PHP_5_3/Zend/zend_constants.c
U   php/php-src/branches/PHP_5_3/Zend/zend_constants.h
U   php/php-src/branches/PHP_5_3/Zend/zend_default_classes.c
U   php/php-src/branches/PHP_5_3/Zend/zend_dynamic_array.c
U   php/php-src/branches/PHP_5_3/Zend/zend_dynamic_array.h
U   php/php-src/branches/PHP_5_3/Zend/zend_errors.h
U   php/php-src/branches/PHP_5_3/Zend/zend_exceptions.c
U   php/php-src/branches/PHP_5_3/Zend/zend_exceptions.h
U   php/php-src/branches/PHP_5_3/Zend/zend_execute.c
U   php/php-src/branches/PHP_5_3/Zend/zend_execute.h
U   php/php-src/branches/PHP_5_3/Zend/zend_execute_API.c
U   php/php-src/branches/PHP_5_3/Zend/zend_extensions.c
U   php/php-src/branches/PHP_5_3/Zend/zend_extensions.h
U   php/php-src/branches/PHP_5_3/Zend/zend_fast_cache.h
U   php/php-src/branches/PHP_5_3/Zend/zend_float.c
U   php/php-src/branches/PHP_5_3/Zend/zend_float.h
U   php/php-src/branches/PHP_5_3/Zend/zend_gc.c
U   php/php-src/branches/PHP_5_3/Zend/zend_gc.h
U   php/php-src/branches/PHP_5_3/Zend/zend_globals.h
U   php/php-src/branches/PHP_5_3/Zend/zend_globals_macros.h
U   php/php-src/branches/PHP_5_3/Zend/zend_hash.c
U   php/php-src/branches/PHP_5_3/Zend/zend_hash.h
U   php/php-src/branches/PHP_5_3/Zend/zend_highlight.c
U   php/php-src/branches/PHP_5_3/Zend/zend_highlight.h
U   php/php-src/branches/PHP_5_3/Zend/zend_indent.c
U   php/php-src/branches/PHP_5_3/Zend/zend_indent.h
U   php/php-src/branches/PHP_5_3/Zend/zend_ini.c
U   php/php-src/branches/PHP_5_3/Zend/zend_ini.h
U   php/php-src/branches/PHP_5_3/Zend/zend_ini_parser.y
U   php/php-src/branches/PHP_5_3/Zend/zend_ini_scanner.c
U   php/php-src/branches/PHP_5_3/Zend/zend_ini_scanner.h
U   php/php-src/branches/PHP_5_3/Zend/zend_ini_scanner.l
U   php/php-src/branches/PHP_5_3/Zend/zend_interfaces.c
U   php/php-src/branches/PHP_5_3/Zend/zend_interfaces.h
U   php/php-src/branches/PHP_5_3/Zend/zend_istdiostream.h
U   php/php-src/branches/PHP_5_3/Zend/zend_iterators.c
U   php/php-src/branches/PHP_5_3/Zend/zend_iterators.h
U   php/php-src/branches/PHP_5_3/Zend/zend_language_parser.y
U   php/php-src/branches/PHP_5_3/Zend/zend_language_scanner.c
U   php/php-src/branches/PHP_5_3/Zend/zend_language_scanner.h
U   php/php-src/branches/PHP_5_3/Zend/zend_language_scanner.l
U   php/php-src/branches/PHP_5_3/Zend/zend_list.c
U   php/php-src/branches/PHP_5_3/Zend/zend_list.h
U   php/php-src/branches/PHP_5_3/Zend/zend_llist.c
U   php/php-src/branches/PHP_5_3/Zend/zend_llist.h
U   php/php-src/branches/PHP_5_3/Zend/zend_modules.h
U   php/php-src/branches/PHP_5_3/Zend/zend_multibyte.c
U   php/php-src/branches/PHP_5_3/Zend/zend_multibyte.h
U   php/php-src/branches/PHP_5_3/Zend/zend_multiply.h
U   php/php-src/branches/PHP_5_3/Zend/zend_object_handlers.c
U   php/php-src/branches/PHP_5_3/Zend/zend_object_handlers.h
U   php/php-src/branches/PHP_5_3/Zend/zend_objects.c
U   php/php-src/branches/PHP_5_3/Zend/zend_objects.h
U   php/php-src/branches/PHP_5_3/Zend/zend_objects_API.c
U   php/php-src/branches/PHP_5_3/Zend/zend_objects_API.h
U   php/php-src/branches/PHP_5_3/Zend/zend_opcode.c
U   php/php-src/branches/PHP_5_3/Zend/zend_operators.c
U   php/php-src/branches/PHP_5_3/Zend/zend_operators.h
U   php/php-src/branches/PHP_5_3/Zend/zend_ptr_stack.c
U   

[PHP-CVS] svn: /php/php-src/trunk/ext/phar/ dirstream.c dirstream.h func_interceptors.c func_interceptors.h phar.c phar_internal.h phar_object.c phar_path_check.c pharzip.h php_phar.h stream.c stream.

2010-12-31 Thread Felipe Pena
felipe   Sat, 01 Jan 2011 02:46:03 +

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

Log:
- Year++

Changed paths:
U   php/php-src/trunk/ext/phar/dirstream.c
U   php/php-src/trunk/ext/phar/dirstream.h
U   php/php-src/trunk/ext/phar/func_interceptors.c
U   php/php-src/trunk/ext/phar/func_interceptors.h
U   php/php-src/trunk/ext/phar/phar.c
U   php/php-src/trunk/ext/phar/phar_internal.h
U   php/php-src/trunk/ext/phar/phar_object.c
U   php/php-src/trunk/ext/phar/phar_path_check.c
U   php/php-src/trunk/ext/phar/pharzip.h
U   php/php-src/trunk/ext/phar/php_phar.h
U   php/php-src/trunk/ext/phar/stream.c
U   php/php-src/trunk/ext/phar/stream.h
U   php/php-src/trunk/ext/phar/stub.h
U   php/php-src/trunk/ext/phar/tar.c
U   php/php-src/trunk/ext/phar/tar.h
U   php/php-src/trunk/ext/phar/util.c
U   php/php-src/trunk/ext/phar/zip.c

Modified: php/php-src/trunk/ext/phar/dirstream.c
===
--- php/php-src/trunk/ext/phar/dirstream.c	2011-01-01 02:19:59 UTC (rev 306939)
+++ php/php-src/trunk/ext/phar/dirstream.c	2011-01-01 02:46:03 UTC (rev 306940)
@@ -2,7 +2,7 @@
   +--+
   | phar:// stream wrapper support   |
   +--+
-  | Copyright (c) 2005-2009 The PHP Group|
+  | Copyright (c) 2005-2011 The PHP Group|
   +--+
   | This source file is subject to version 3.01 of the PHP license,  |
   | that is bundled with this package in the file LICENSE, and is|

Modified: php/php-src/trunk/ext/phar/dirstream.h
===
--- php/php-src/trunk/ext/phar/dirstream.h	2011-01-01 02:19:59 UTC (rev 306939)
+++ php/php-src/trunk/ext/phar/dirstream.h	2011-01-01 02:46:03 UTC (rev 306940)
@@ -2,7 +2,7 @@
   +--+
   | phar php single-file executable PHP extension|
   +--+
-  | Copyright (c) 2006-2009 The PHP Group|
+  | Copyright (c) 2006-2011 The PHP Group|
   +--+
   | This source file is subject to version 3.01 of the PHP license,  |
   | that is bundled with this package in the file LICENSE, and is|

Modified: php/php-src/trunk/ext/phar/func_interceptors.c
===
--- php/php-src/trunk/ext/phar/func_interceptors.c	2011-01-01 02:19:59 UTC (rev 306939)
+++ php/php-src/trunk/ext/phar/func_interceptors.c	2011-01-01 02:46:03 UTC (rev 306940)
@@ -2,7 +2,7 @@
   +--+
   | phar php single-file executable PHP extension|
   +--+
-  | Copyright (c) 2005-2009 The PHP Group|
+  | Copyright (c) 2005-2011 The PHP Group|
   +--+
   | This source file is subject to version 3.01 of the PHP license,  |
   | that is bundled with this package in the file LICENSE, and is|

Modified: php/php-src/trunk/ext/phar/func_interceptors.h
===
--- php/php-src/trunk/ext/phar/func_interceptors.h	2011-01-01 02:19:59 UTC (rev 306939)
+++ php/php-src/trunk/ext/phar/func_interceptors.h	2011-01-01 02:46:03 UTC (rev 306940)
@@ -2,7 +2,7 @@
   +--+
   | phar php single-file executable PHP extension|
   +--+
-  | Copyright (c) 2006-2009 The PHP Group|
+  | Copyright (c) 2006-2011 The PHP Group|
   +--+
   | This source file is subject to version 3.01 of the PHP license,  |
   | that is bundled with this package in the file LICENSE, and is|

Modified: php/php-src/trunk/ext/phar/phar.c
===
--- php/php-src/trunk/ext/phar/phar.c	2011-01-01 02:19:59 UTC (rev 306939)
+++ php/php-src/trunk/ext/phar/phar.c	2011-01-01 02:46:03 UTC (rev 306940)
@@ -2,7 +2,7 @@
   +--+
   | phar php single-file 

[PHP-CVS] svn: /php/php-src/branches/PHP_5_3/ext/phar/ dirstream.c dirstream.h func_interceptors.c func_interceptors.h phar.c phar_internal.h phar_object.c phar_path_check.c pharzip.h php_phar.h strea

2010-12-31 Thread Felipe Pena
felipe   Sat, 01 Jan 2011 02:48:19 +

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

Log:
- Year++

Changed paths:
U   php/php-src/branches/PHP_5_3/ext/phar/dirstream.c
U   php/php-src/branches/PHP_5_3/ext/phar/dirstream.h
U   php/php-src/branches/PHP_5_3/ext/phar/func_interceptors.c
U   php/php-src/branches/PHP_5_3/ext/phar/func_interceptors.h
U   php/php-src/branches/PHP_5_3/ext/phar/phar.c
U   php/php-src/branches/PHP_5_3/ext/phar/phar_internal.h
U   php/php-src/branches/PHP_5_3/ext/phar/phar_object.c
U   php/php-src/branches/PHP_5_3/ext/phar/phar_path_check.c
U   php/php-src/branches/PHP_5_3/ext/phar/pharzip.h
U   php/php-src/branches/PHP_5_3/ext/phar/php_phar.h
U   php/php-src/branches/PHP_5_3/ext/phar/stream.c
U   php/php-src/branches/PHP_5_3/ext/phar/stream.h
U   php/php-src/branches/PHP_5_3/ext/phar/stub.h
U   php/php-src/branches/PHP_5_3/ext/phar/tar.c
U   php/php-src/branches/PHP_5_3/ext/phar/tar.h
U   php/php-src/branches/PHP_5_3/ext/phar/util.c
U   php/php-src/branches/PHP_5_3/ext/phar/zip.c

Modified: php/php-src/branches/PHP_5_3/ext/phar/dirstream.c
===
--- php/php-src/branches/PHP_5_3/ext/phar/dirstream.c	2011-01-01 02:46:03 UTC (rev 306940)
+++ php/php-src/branches/PHP_5_3/ext/phar/dirstream.c	2011-01-01 02:48:19 UTC (rev 306941)
@@ -2,7 +2,7 @@
   +--+
   | phar:// stream wrapper support   |
   +--+
-  | Copyright (c) 2005-2009 The PHP Group|
+  | Copyright (c) 2005-2011 The PHP Group|
   +--+
   | This source file is subject to version 3.01 of the PHP license,  |
   | that is bundled with this package in the file LICENSE, and is|

Modified: php/php-src/branches/PHP_5_3/ext/phar/dirstream.h
===
--- php/php-src/branches/PHP_5_3/ext/phar/dirstream.h	2011-01-01 02:46:03 UTC (rev 306940)
+++ php/php-src/branches/PHP_5_3/ext/phar/dirstream.h	2011-01-01 02:48:19 UTC (rev 306941)
@@ -2,7 +2,7 @@
   +--+
   | phar php single-file executable PHP extension|
   +--+
-  | Copyright (c) 2006-2009 The PHP Group|
+  | Copyright (c) 2006-2011 The PHP Group|
   +--+
   | This source file is subject to version 3.01 of the PHP license,  |
   | that is bundled with this package in the file LICENSE, and is|

Modified: php/php-src/branches/PHP_5_3/ext/phar/func_interceptors.c
===
--- php/php-src/branches/PHP_5_3/ext/phar/func_interceptors.c	2011-01-01 02:46:03 UTC (rev 306940)
+++ php/php-src/branches/PHP_5_3/ext/phar/func_interceptors.c	2011-01-01 02:48:19 UTC (rev 306941)
@@ -2,7 +2,7 @@
   +--+
   | phar php single-file executable PHP extension|
   +--+
-  | Copyright (c) 2005-2009 The PHP Group|
+  | Copyright (c) 2005-2011 The PHP Group|
   +--+
   | This source file is subject to version 3.01 of the PHP license,  |
   | that is bundled with this package in the file LICENSE, and is|

Modified: php/php-src/branches/PHP_5_3/ext/phar/func_interceptors.h
===
--- php/php-src/branches/PHP_5_3/ext/phar/func_interceptors.h	2011-01-01 02:46:03 UTC (rev 306940)
+++ php/php-src/branches/PHP_5_3/ext/phar/func_interceptors.h	2011-01-01 02:48:19 UTC (rev 306941)
@@ -2,7 +2,7 @@
   +--+
   | phar php single-file executable PHP extension|
   +--+
-  | Copyright (c) 2006-2009 The PHP Group|
+  | Copyright (c) 2006-2011 The PHP Group|
   +--+
   | This source file is subject to version 3.01 of the PHP license,  |
   | that is bundled with this package in the file LICENSE, and is|

Modified: php/php-src/branches/PHP_5_3/ext/phar/phar.c

[PHP-CVS] svn: /php/php-src/trunk/ext/fileinfo/ fileinfo.c php_fileinfo.h

2010-12-31 Thread Felipe Pena
felipe   Sat, 01 Jan 2011 02:51:18 +

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

Log:
- Year++

Changed paths:
U   php/php-src/trunk/ext/fileinfo/fileinfo.c
U   php/php-src/trunk/ext/fileinfo/php_fileinfo.h

Modified: php/php-src/trunk/ext/fileinfo/fileinfo.c
===
--- php/php-src/trunk/ext/fileinfo/fileinfo.c   2011-01-01 02:48:19 UTC (rev 
306941)
+++ php/php-src/trunk/ext/fileinfo/fileinfo.c   2011-01-01 02:51:18 UTC (rev 
306942)
@@ -2,7 +2,7 @@
   +--+
   | PHP Version 5|
   +--+
-  | Copyright (c) 1997-2004 The PHP Group|
+  | Copyright (c) 1997-2011 The PHP Group|
   +--+
   | This source file is subject to version 3.0 of the PHP license,   |
   | that is bundled with this package in the file LICENSE, and is|

Modified: php/php-src/trunk/ext/fileinfo/php_fileinfo.h
===
--- php/php-src/trunk/ext/fileinfo/php_fileinfo.h   2011-01-01 02:48:19 UTC 
(rev 306941)
+++ php/php-src/trunk/ext/fileinfo/php_fileinfo.h   2011-01-01 02:51:18 UTC 
(rev 306942)
@@ -2,7 +2,7 @@
   +--+
   | PHP Version 5|
   +--+
-  | Copyright (c) 1997-2004 The PHP Group|
+  | Copyright (c) 1997-2011 The PHP Group|
   +--+
   | This source file is subject to version 3.0 of the PHP license,   |
   | that is bundled with this package in the file LICENSE, and is|

-- 
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/fileinfo/ fileinfo.c php_fileinfo.h

2010-12-31 Thread Felipe Pena
felipe   Sat, 01 Jan 2011 02:51:27 +

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

Log:
- Year++

Changed paths:
U   php/php-src/branches/PHP_5_3/ext/fileinfo/fileinfo.c
U   php/php-src/branches/PHP_5_3/ext/fileinfo/php_fileinfo.h

Modified: php/php-src/branches/PHP_5_3/ext/fileinfo/fileinfo.c
===
--- php/php-src/branches/PHP_5_3/ext/fileinfo/fileinfo.c2011-01-01 
02:51:18 UTC (rev 306942)
+++ php/php-src/branches/PHP_5_3/ext/fileinfo/fileinfo.c2011-01-01 
02:51:27 UTC (rev 306943)
@@ -2,7 +2,7 @@
   +--+
   | PHP Version 5|
   +--+
-  | Copyright (c) 1997-2004 The PHP Group|
+  | Copyright (c) 1997-2011 The PHP Group|
   +--+
   | This source file is subject to version 3.0 of the PHP license,   |
   | that is bundled with this package in the file LICENSE, and is|

Modified: php/php-src/branches/PHP_5_3/ext/fileinfo/php_fileinfo.h
===
--- php/php-src/branches/PHP_5_3/ext/fileinfo/php_fileinfo.h2011-01-01 
02:51:18 UTC (rev 306942)
+++ php/php-src/branches/PHP_5_3/ext/fileinfo/php_fileinfo.h2011-01-01 
02:51:27 UTC (rev 306943)
@@ -2,7 +2,7 @@
   +--+
   | PHP Version 5|
   +--+
-  | Copyright (c) 1997-2004 The PHP Group|
+  | Copyright (c) 1997-2011 The PHP Group|
   +--+
   | This source file is subject to version 3.0 of the PHP license,   |
   | that is bundled with this package in the file LICENSE, and is|

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