]> granicus.if.org Git - php/log
php
10 years agoRemove mktime() and gmmktime() $is_dst parameter
Nikita Popov [Wed, 10 Sep 2014 16:18:02 +0000 (18:18 +0200)]
Remove mktime() and gmmktime() $is_dst parameter

10 years agoRemove for #-style comments in ini files
Nikita Popov [Sat, 17 Jan 2015 17:03:42 +0000 (18:03 +0100)]
Remove for #-style comments in ini files

10 years agoRemove static calls from incompatible $this context
Nikita Popov [Wed, 10 Sep 2014 14:08:20 +0000 (16:08 +0200)]
Remove static calls from incompatible $this context

10 years agoFAST ZPP for strtok() and nl2br()
Rasmus Lerdorf [Sat, 17 Jan 2015 16:30:40 +0000 (08:30 -0800)]
FAST ZPP for strtok() and nl2br()
Looking at some template-driven code that calls these
hundreds of times per request

10 years agoattempt to fix again :<
Xinchen Hui [Sat, 17 Jan 2015 07:21:32 +0000 (15:21 +0800)]
attempt to fix again :<

10 years agoFix again
Xinchen Hui [Sat, 17 Jan 2015 06:43:05 +0000 (14:43 +0800)]
Fix again

10 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Sat, 17 Jan 2015 05:21:45 +0000 (13:21 +0800)]
Merge branch 'PHP-5.6'

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Sat, 17 Jan 2015 05:21:36 +0000 (13:21 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years agoUpdate year
Xinchen Hui [Sat, 17 Jan 2015 05:21:20 +0000 (13:21 +0800)]
Update year

10 years agoUpdate copyright year to 2015
Дмитрий Пацура [Sat, 17 Jan 2015 04:58:00 +0000 (12:58 +0800)]
Update copyright year to 2015

10 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Sat, 17 Jan 2015 04:12:16 +0000 (12:12 +0800)]
Merge branch 'master' of https://git.php.net/repository/php-src

10 years agoTry to fix ext/intl/tests/collator_asort.phpt (according to CI's output)
Xinchen Hui [Sat, 17 Jan 2015 04:11:49 +0000 (12:11 +0800)]
Try to fix ext/intl/tests/collator_asort.phpt (according to CI's output)

10 years agoAdd IntlChar class to intl extension
Sara Golemon [Mon, 15 Dec 2014 22:29:52 +0000 (14:29 -0800)]
Add IntlChar class to intl extension

Exposes ICU's uchar functionality as a set of static methods

10 years agofix format strings, resource handle is int
Anatol Belski [Fri, 16 Jan 2015 10:37:25 +0000 (11:37 +0100)]
fix format strings, resource handle is int

10 years agocleanup
Anatol Belski [Thu, 15 Jan 2015 14:16:25 +0000 (15:16 +0100)]
cleanup

10 years agoOptimized extract
Xinchen Hui [Fri, 16 Jan 2015 10:12:33 +0000 (18:12 +0800)]
Optimized extract

symbol table already be rebuilt.. no need use set_local_var

10 years agoOptimized array_slice
Xinchen Hui [Fri, 16 Jan 2015 09:54:50 +0000 (17:54 +0800)]
Optimized array_slice

10 years agoAdded test for array_unique
Xinchen Hui [Fri, 16 Jan 2015 09:12:50 +0000 (17:12 +0800)]
Added test for array_unique

10 years agoRevert "Optimize array_unique to save some comparation calls"
Xinchen Hui [Fri, 16 Jan 2015 07:21:21 +0000 (15:21 +0800)]
Revert "Optimize array_unique to save some comparation calls"

Unsafe optimization

This reverts commit b57dc41e075a88e8808d66973521dfdbd4a43336.

10 years agoRevert "We could do more...."
Xinchen Hui [Fri, 16 Jan 2015 07:21:12 +0000 (15:21 +0800)]
Revert "We could do more...."

This reverts commit 11f615b3118f34dd8a118261d03c386d9dc0bbfd.

10 years agoFixed key length
Xinchen Hui [Fri, 16 Jan 2015 05:56:21 +0000 (00:56 -0500)]
Fixed key length

10 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Xinchen Hui [Fri, 16 Jan 2015 05:53:26 +0000 (00:53 -0500)]
Merge branch 'master' of https://git.php.net/repository/php-src

10 years agoFixed key length
Xinchen Hui [Fri, 16 Jan 2015 05:52:36 +0000 (00:52 -0500)]
Fixed key length

10 years agounused var
Xinchen Hui [Fri, 16 Jan 2015 04:18:59 +0000 (12:18 +0800)]
unused var

10 years agounused variable
Xinchen Hui [Fri, 16 Jan 2015 04:16:44 +0000 (12:16 +0800)]
unused variable

10 years agoWeird, is nobody compiling this?
Rasmus Lerdorf [Fri, 16 Jan 2015 01:44:11 +0000 (17:44 -0800)]
Weird, is nobody compiling this?

10 years agoPartially revert 3477135cd1024c897dc070c37ddae411839b6e7e
Dmitry Stogov [Thu, 15 Jan 2015 23:21:27 +0000 (02:21 +0300)]
Partially revert 3477135cd1024c897dc070c37ddae411839b6e7e

10 years agoFixed build without alloca()
Dmitry Stogov [Thu, 15 Jan 2015 18:43:17 +0000 (21:43 +0300)]
Fixed build without alloca()

10 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Thu, 15 Jan 2015 18:09:20 +0000 (21:09 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  updated NEWS
  updated NEWS
  PDO_MySQL: Differentiate between linux and win32 when passing unix_socket
  bump year
  bump year
  Bump year

10 years agoFixed double free
Dmitry Stogov [Thu, 15 Jan 2015 18:08:43 +0000 (21:08 +0300)]
Fixed double free

10 years agoAvoid usage of uninitialized data
Dmitry Stogov [Thu, 15 Jan 2015 18:08:21 +0000 (21:08 +0300)]
Avoid usage of uninitialized data

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Thu, 15 Jan 2015 16:51:43 +0000 (17:51 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  updated NEWS
  updated NEWS
  PDO_MySQL: Differentiate between linux and win32 when passing unix_socket

Conflicts:
ext/pdo_mysql/mysql_driver.c

10 years agoupdated NEWS
Anatol Belski [Thu, 15 Jan 2015 16:48:59 +0000 (17:48 +0100)]
updated NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Thu, 15 Jan 2015 16:48:11 +0000 (17:48 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  updated NEWS
  PDO_MySQL: Differentiate between linux and win32 when passing unix_socket

10 years agoupdated NEWS
Anatol Belski [Thu, 15 Jan 2015 15:42:17 +0000 (16:42 +0100)]
updated NEWS

10 years agoPDO_MySQL: Differentiate between linux and win32 when passing unix_socket
steffen [Mon, 5 Jan 2015 15:50:20 +0000 (16:50 +0100)]
PDO_MySQL: Differentiate between linux and win32 when passing unix_socket

Unix uses "127.0.0.1" as default host for named pipes,
while when using Windows a "." is required as host by mysqlnd.
(This can be seen at mysqlnd.c (line 945 or searching #ifndef PHP_WIN32)

10 years agobump year
Xinchen Hui [Thu, 15 Jan 2015 15:27:30 +0000 (23:27 +0800)]
bump year

10 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Thu, 15 Jan 2015 15:27:18 +0000 (23:27 +0800)]
Merge branch 'PHP-5.6'

10 years agobump year
Xinchen Hui [Thu, 15 Jan 2015 15:26:37 +0000 (23:26 +0800)]
bump year

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Thu, 15 Jan 2015 15:26:24 +0000 (23:26 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years agoBump year
Xinchen Hui [Thu, 15 Jan 2015 15:09:28 +0000 (23:09 +0800)]
Bump year

10 years agoFixed malloc/emalloc mess
Dmitry Stogov [Thu, 15 Jan 2015 15:05:58 +0000 (18:05 +0300)]
Fixed malloc/emalloc mess

10 years agoBug fix for wrong regex in mail
matbech [Tue, 13 Jan 2015 11:53:00 +0000 (12:53 +0100)]
Bug fix for wrong regex in mail

The wrong string PHP_WIN32_MAIL_UNIFY_REPLACE instead of PHP_WIN32_MAIL_UNIFY_PATTERN is used for the regex.

10 years agoInitialize ht->nTableMask
Dmitry Stogov [Thu, 15 Jan 2015 12:21:38 +0000 (15:21 +0300)]
Initialize ht->nTableMask

10 years agoSave one condition
Xinchen Hui [Thu, 15 Jan 2015 10:41:25 +0000 (18:41 +0800)]
Save one condition

10 years agooptimize offset computation
Anatol Belski [Thu, 15 Jan 2015 10:14:09 +0000 (11:14 +0100)]
optimize offset computation

10 years agodon't return value in the void function
Anatol Belski [Thu, 15 Jan 2015 10:02:32 +0000 (11:02 +0100)]
don't return value in the void function

10 years agofix "unknown void * size" err
Anatol Belski [Thu, 15 Jan 2015 10:01:18 +0000 (11:01 +0100)]
fix "unknown void * size" err

10 years agoWe could do more....
Xinchen Hui [Thu, 15 Jan 2015 09:29:01 +0000 (04:29 -0500)]
We could do more....

10 years agoFixed missed test
Xinchen Hui [Thu, 15 Jan 2015 06:17:58 +0000 (01:17 -0500)]
Fixed missed test

10 years agoFixed tests on 32-bits
Xinchen Hui [Thu, 15 Jan 2015 06:23:47 +0000 (14:23 +0800)]
Fixed tests on 32-bits

10 years agoOptimize array_unique to save some comparation calls
Xinchen Hui [Thu, 15 Jan 2015 05:57:06 +0000 (13:57 +0800)]
Optimize array_unique to save some comparation calls

10 years agoMerge branch 'zend_sort' of https://github.com/laruence/php-src
Xinchen Hui [Thu, 15 Jan 2015 03:14:43 +0000 (22:14 -0500)]
Merge branch 'zend_sort' of https://github.com/laruence/php-src

10 years agoFix bug #68816 - pointer to local outside of scope
Stanislav Malyshev [Thu, 15 Jan 2015 00:14:43 +0000 (16:14 -0800)]
Fix bug #68816 - pointer to local outside of scope

10 years agoFix bug #68817: Null pointer deference
Stanislav Malyshev [Thu, 15 Jan 2015 00:12:35 +0000 (16:12 -0800)]
Fix bug #68817: Null pointer deference

10 years agoMerge branch 'PHP-5.6'
Daniel Lowrey [Wed, 14 Jan 2015 19:33:54 +0000 (20:33 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Update NEWS
  Fixed bug #55618 (use case-insensitive cert name matching)

10 years agoFixed typo
Dmitry Stogov [Wed, 14 Jan 2015 18:09:06 +0000 (21:09 +0300)]
Fixed typo

10 years agoAvoid string reallocation in strtr()
Dmitry Stogov [Wed, 14 Jan 2015 17:58:41 +0000 (20:58 +0300)]
Avoid string reallocation in strtr()

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Daniel Lowrey [Wed, 14 Jan 2015 17:09:07 +0000 (18:09 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Update NEWS
  Fixed bug #55618 (use case-insensitive cert name matching)

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Daniel Lowrey [Wed, 14 Jan 2015 17:04:41 +0000 (18:04 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Update NEWS
  Fixed bug #55618 (use case-insensitive cert name matching)

10 years agoUpdate NEWS
Daniel Lowrey [Wed, 14 Jan 2015 17:03:27 +0000 (18:03 +0100)]
Update NEWS

10 years agoFixed bug #55618 (use case-insensitive cert name matching)
Daniel Lowrey [Wed, 14 Jan 2015 17:02:50 +0000 (18:02 +0100)]
Fixed bug #55618 (use case-insensitive cert name matching)

10 years agoImprove "instanceof". Interfaces of the left operand should be checked only if the...
Dmitry Stogov [Wed, 14 Jan 2015 12:06:26 +0000 (15:06 +0300)]
Improve "instanceof". Interfaces of the left operand should be checked only if the right operand is interafce itself.

10 years agoIpmrove strtr() by maintaining a set of characters that may start a matched pattern...
Dmitry Stogov [Wed, 14 Jan 2015 12:04:04 +0000 (15:04 +0300)]
Ipmrove strtr() by maintaining a set of characters that may start a matched pattern and avoid zend_hash_find() calls for other paterns.

10 years agocleanup
Anatol Belski [Wed, 14 Jan 2015 11:31:57 +0000 (12:31 +0100)]
cleanup

10 years agofixed zend_hash_init() when the lzcnt instruction isn't supported
Anatol Belski [Wed, 14 Jan 2015 11:29:50 +0000 (12:29 +0100)]
fixed zend_hash_init() when the lzcnt instruction isn't supported

10 years agoFaster sorting algo
Xinchen Hui [Wed, 14 Jan 2015 09:22:58 +0000 (17:22 +0800)]
Faster sorting algo

10 years agoOptimized str_[i]replace to aviod reallocations and repeatable conversions to lowercase
Dmitry Stogov [Tue, 13 Jan 2015 20:23:50 +0000 (23:23 +0300)]
Optimized str_[i]replace to aviod reallocations and repeatable conversions to lowercase

10 years agoUpdate NEWS
Xinchen Hui [Tue, 13 Jan 2015 15:39:33 +0000 (23:39 +0800)]
Update NEWS

10 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Tue, 13 Jan 2015 15:39:16 +0000 (23:39 +0800)]
Merge branch 'PHP-5.6'

10 years agoUpdate NEWS
Xinchen Hui [Tue, 13 Jan 2015 15:38:57 +0000 (23:38 +0800)]
Update NEWS

10 years agoReorder conditions to make "fast paths" shorter
Dmitry Stogov [Tue, 13 Jan 2015 12:31:42 +0000 (15:31 +0300)]
Reorder conditions to make "fast paths" shorter

10 years agoImproved access to object properties (cache property offset instead of pointer to...
Dmitry Stogov [Tue, 13 Jan 2015 08:33:00 +0000 (11:33 +0300)]
Improved access to object properties (cache property offset instead of pointer to property_info).

10 years agoFixed possible double free
Dmitry Stogov [Tue, 13 Jan 2015 08:32:36 +0000 (11:32 +0300)]
Fixed possible double free

10 years agoHandle run-time cache for static properties directly in executor.
Dmitry Stogov [Tue, 13 Jan 2015 06:33:15 +0000 (09:33 +0300)]
Handle run-time cache for static properties directly in executor.
Removed cache_slot argument in zend_std_get_static_property() and zend_std_unset_static_property().

10 years agoFixed possible crash
Dmitry Stogov [Tue, 13 Jan 2015 05:30:54 +0000 (08:30 +0300)]
Fixed possible crash

10 years agoAdd hinting
Xinchen Hui [Tue, 13 Jan 2015 03:06:40 +0000 (22:06 -0500)]
Add hinting

10 years agoImproved access to static property. Now we cache pointers to zval instead of pointers...
Dmitry Stogov [Tue, 13 Jan 2015 00:32:51 +0000 (03:32 +0300)]
Improved access to static property. Now we cache pointers to zval instead of pointers to property_info.

10 years agoOnly backup vm_stack* if generator->stack has not been freed
Bob Weinand [Mon, 12 Jan 2015 21:30:38 +0000 (22:30 +0100)]
Only backup vm_stack* if generator->stack has not been freed

10 years agoSlight improvement in copying script from opcache SHM into process memory
Dmitry Stogov [Mon, 12 Jan 2015 20:51:40 +0000 (23:51 +0300)]
Slight improvement in copying script from opcache SHM into process memory

10 years agoOptimized error_reporting() similar to silence operator (ZEND_BEGIN_SILENCE opcode).
Dmitry Stogov [Mon, 12 Jan 2015 20:50:03 +0000 (23:50 +0300)]
Optimized error_reporting() similar to silence operator (ZEND_BEGIN_SILENCE opcode).

10 years agoFixed type (case sensetive/insensetive mess)
Dmitry Stogov [Mon, 12 Jan 2015 19:30:55 +0000 (22:30 +0300)]
Fixed type (case sensetive/insensetive mess)

10 years agoUse FAST_ZPP in few more frequently used functions
Dmitry Stogov [Mon, 12 Jan 2015 16:26:12 +0000 (19:26 +0300)]
Use FAST_ZPP in few more frequently used functions

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Mon, 12 Jan 2015 16:03:00 +0000 (17:03 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed bug #68771 SQL syntax error in sqlite lib

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Mon, 12 Jan 2015 16:02:18 +0000 (17:02 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #68771 SQL syntax error in sqlite lib

10 years agoFixed bug #68771 SQL syntax error in sqlite lib
Anatol Belski [Mon, 12 Jan 2015 15:55:47 +0000 (16:55 +0100)]
Fixed bug #68771 SQL syntax error in sqlite lib

10 years agoAdded special optimized cases when strtr() called with zero or one search/replace...
Dmitry Stogov [Mon, 12 Jan 2015 13:51:59 +0000 (16:51 +0300)]
Added special optimized cases when strtr() called with zero or one search/replace pair.

10 years agoMerge branch 'master' of git.php.net:php-src
Anatol Belski [Mon, 12 Jan 2015 12:01:27 +0000 (13:01 +0100)]
Merge branch 'master' of git.php.net:php-src

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Mon, 12 Jan 2015 12:00:45 +0000 (13:00 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  updated libs_versions.txt
  updated libs_versions.txt
  Fix bug #68784
  Fix bug #68784
  We can't output absolute S and T values for the Diophantine solution here since it can vary based on the libgmp version we are linking against and in general there are almost always multiple valid solutions
  We can't output absolute S and T values for the Diophantine solution here since it can vary based on the libgmp version we are linking against and in general there are almost always multiple valid solutions

10 years agoupdated libs_versions.txt
Anatol Belski [Mon, 12 Jan 2015 11:59:59 +0000 (12:59 +0100)]
updated libs_versions.txt

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Mon, 12 Jan 2015 11:58:37 +0000 (12:58 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  updated libs_versions.txt
  Fix bug #68784
  We can't output absolute S and T values for the Diophantine solution here since it can vary based on the libgmp version we are linking against and in general there are almost always multiple valid solutions

10 years agoupdated libs_versions.txt
Anatol Belski [Mon, 12 Jan 2015 11:58:00 +0000 (12:58 +0100)]
updated libs_versions.txt

10 years agoFixed reference support
Dmitry Stogov [Mon, 12 Jan 2015 11:43:32 +0000 (14:43 +0300)]
Fixed reference support

10 years agoFaster strrpos implementation
Xinchen Hui [Mon, 12 Jan 2015 09:24:37 +0000 (17:24 +0800)]
Faster strrpos implementation

10 years agoFaster zend_memnstr for long text
Xinchen Hui [Mon, 12 Jan 2015 07:34:46 +0000 (15:34 +0800)]
Faster zend_memnstr for long text

10 years agoFixed #68790 (Missing return)
Xinchen Hui [Sun, 11 Jan 2015 03:19:49 +0000 (22:19 -0500)]
Fixed #68790 (Missing return)

10 years agotrailing whitespace removal
Stanislav Malyshev [Sat, 3 Jan 2015 09:22:58 +0000 (01:22 -0800)]
trailing whitespace removal

10 years agoFix missing ZVAL_DEREF()
Bob Weinand [Sat, 10 Jan 2015 21:29:00 +0000 (22:29 +0100)]
Fix missing ZVAL_DEREF()

10 years agoFixed #68779 (Incorrect sizeof)
Xinchen Hui [Sat, 10 Jan 2015 15:58:22 +0000 (10:58 -0500)]
Fixed #68779 (Incorrect sizeof)

10 years agoFix bug #68784
Rasmus Lerdorf [Sat, 10 Jan 2015 02:08:36 +0000 (18:08 -0800)]
Fix bug #68784