]> granicus.if.org Git - php/log
php
9 years agoAdded e-SSA based DFA optimisation framework (incomplete)
Dmitry Stogov [Tue, 15 Dec 2015 21:49:44 +0000 (00:49 +0300)]
Added e-SSA based DFA optimisation framework (incomplete)

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Mon, 14 Dec 2015 17:23:15 +0000 (09:23 -0800)]
Merge branch 'PHP-7.0'

9 years agoNEWS entry for #55651
Lior Kaplan [Tue, 15 Dec 2015 11:28:54 +0000 (13:28 +0200)]
NEWS entry for #55651

9 years agoMerge branch 'PHP-7.0'
Lior Kaplan [Tue, 15 Dec 2015 11:26:53 +0000 (13:26 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Implement FR #55651 (Option to ignore the returned FTP PASV address)

9 years agoNEWS entry for #55651
Lior Kaplan [Tue, 15 Dec 2015 09:52:33 +0000 (11:52 +0200)]
NEWS entry for #55651

9 years agoImplement FR #55651 (Option to ignore the returned FTP PASV address)
Avi Brender [Tue, 15 Dec 2015 09:51:32 +0000 (11:51 +0200)]
Implement FR #55651 (Option to ignore the returned FTP PASV address)

9 years agoRemove extra line
Lior Kaplan [Tue, 15 Dec 2015 09:15:30 +0000 (11:15 +0200)]
Remove extra line

9 years agoNEWS entry for #55651
Lior Kaplan [Tue, 15 Dec 2015 09:13:19 +0000 (11:13 +0200)]
NEWS entry for #55651

9 years agoImplement FR #55651 (Option to ignore the returned FTP PASV address)
Avi Brender [Thu, 10 Dec 2015 09:37:03 +0000 (11:37 +0200)]
Implement FR #55651 (Option to ignore the returned FTP PASV address)

9 years agoFugbix typo
Sebastian Bergmann [Tue, 15 Dec 2015 08:16:46 +0000 (09:16 +0100)]
Fugbix typo

9 years agoUpdate NEWS
Yasuo Ohgaki [Tue, 15 Dec 2015 01:41:39 +0000 (10:41 +0900)]
Update NEWS

9 years agoUpdate NEWS
Yasuo Ohgaki [Tue, 15 Dec 2015 01:40:07 +0000 (10:40 +0900)]
Update NEWS

9 years agoMerge branch 'PHP-7.0'
Yasuo Ohgaki [Tue, 15 Dec 2015 01:31:44 +0000 (10:31 +0900)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed Bug #71122 Session GC may not remove obsolete session data

9 years agoFix merge conflict
Yasuo Ohgaki [Tue, 15 Dec 2015 01:30:16 +0000 (10:30 +0900)]
Fix merge conflict

9 years agoFixed Bug #71122 Session GC may not remove obsolete session data
Yasuo Ohgaki [Tue, 15 Dec 2015 01:27:28 +0000 (10:27 +0900)]
Fixed Bug #71122 Session GC may not remove obsolete session data

9 years agoFix live_range updates on ZEND(_FE)_FREE opcodes in block_pass
Bob Weinand [Mon, 14 Dec 2015 22:40:28 +0000 (23:40 +0100)]
Fix live_range updates on ZEND(_FE)_FREE opcodes in block_pass

9 years agoUnused vars
Xinchen Hui [Mon, 14 Dec 2015 17:23:01 +0000 (09:23 -0800)]
Unused vars

9 years agoUse FETCH_CLASS_EXCEPTION for instanceof
Nikita Popov [Mon, 14 Dec 2015 16:50:20 +0000 (17:50 +0100)]
Use FETCH_CLASS_EXCEPTION for instanceof

This does not collide with NO_AUTOLOAD -- missing classes will be
silenced, but invalid use of self etc will result in an exception
instead of a fatal error.

9 years agoFix leaks due to UNUSED CE fetch
Nikita Popov [Mon, 14 Dec 2015 16:30:45 +0000 (17:30 +0100)]
Fix leaks due to UNUSED CE fetch

9 years agoSupport uwsgi sapi in opcache
Rasmus Lerdorf [Mon, 14 Dec 2015 14:09:17 +0000 (06:09 -0800)]
Support uwsgi sapi in opcache

9 years agoSupport uwsgi sapi in opcache
Rasmus Lerdorf [Mon, 14 Dec 2015 14:09:17 +0000 (06:09 -0800)]
Support uwsgi sapi in opcache

9 years agoSupport uwsgi sapi in opcache
Rasmus Lerdorf [Mon, 14 Dec 2015 14:09:17 +0000 (06:09 -0800)]
Support uwsgi sapi in opcache

9 years agoAdd result op for ASSERT_CHECK to fix SSA
Nikita Popov [Mon, 14 Dec 2015 11:31:00 +0000 (12:31 +0100)]
Add result op for ASSERT_CHECK to fix SSA

Otherwise one source of the phi node at the join point will be
borked.

I'm marking the ASSERT_CHECK result as unused in pass2, which is
a bit ugly.

9 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Mon, 14 Dec 2015 09:15:03 +0000 (17:15 +0800)]
Merge branch 'master' of git.php.net:/php-src

9 years agoTypo
Xinchen Hui [Mon, 14 Dec 2015 09:14:41 +0000 (17:14 +0800)]
Typo

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 14 Dec 2015 08:15:36 +0000 (09:15 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Refactor password_hash to use random_bytes internally to generate salts

9 years agoRefactor password_hash to use random_bytes internally to generate salts
Anthony Ferrara [Sun, 18 Oct 2015 22:53:43 +0000 (18:53 -0400)]
Refactor password_hash to use random_bytes internally to generate salts

9 years agoFixed bug #71100 (long2ip() doesn't accept integers in strict mode)
Xinchen Hui [Mon, 14 Dec 2015 06:55:44 +0000 (14:55 +0800)]
Fixed bug #71100 (long2ip() doesn't accept integers in strict mode)

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Mon, 14 Dec 2015 02:54:30 +0000 (10:54 +0800)]
Merge branch 'PHP-7.0'

9 years agoAdded NEWS
Xinchen Hui [Mon, 14 Dec 2015 02:54:10 +0000 (10:54 +0800)]
Added NEWS

9 years agoDon't check non-CVs for UNDEF in BOOL(_NOT)
Nikita Popov [Sun, 13 Dec 2015 23:32:40 +0000 (00:32 +0100)]
Don't check non-CVs for UNDEF in BOOL(_NOT)

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Sun, 13 Dec 2015 23:29:57 +0000 (00:29 +0100)]
Merge branch 'PHP-7.0'

9 years agoDo not swap operands in array addition
Nikita Popov [Sun, 13 Dec 2015 23:28:41 +0000 (00:28 +0100)]
Do not swap operands in array addition

As we support constant array operands nowadays, the original check
didn't work anymore.

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 13 Dec 2015 13:06:22 +0000 (05:06 -0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #71109 (ZEND_MOD_CONFLICTS("xdebug") doesn't work)
Xinchen Hui [Sun, 13 Dec 2015 13:06:08 +0000 (05:06 -0800)]
Fixed bug #71109 (ZEND_MOD_CONFLICTS("xdebug") doesn't work)

9 years agoMerge branch 'optimize-strtolower' of https://github.com/hnw/php-src
Xinchen Hui [Sun, 13 Dec 2015 06:57:44 +0000 (22:57 -0800)]
Merge branch 'optimize-strtolower' of https://github.com/hnw/php-src

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 13 Dec 2015 06:52:51 +0000 (22:52 -0800)]
Merge branch 'PHP-7.0'

9 years agoInternal function argumensts cleanup (strict_types)
Xinchen Hui [Sun, 13 Dec 2015 06:52:37 +0000 (22:52 -0800)]
Internal function argumensts cleanup (strict_types)

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 13 Dec 2015 06:38:15 +0000 (22:38 -0800)]
Merge branch 'PHP-7.0'

9 years agoFixed test
Xinchen Hui [Sun, 13 Dec 2015 06:37:50 +0000 (22:37 -0800)]
Fixed test

9 years agoOptimize strtolower()/strtoupper()
Yoshio HANAWA [Sun, 13 Dec 2015 05:22:50 +0000 (14:22 +0900)]
Optimize strtolower()/strtoupper()

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 13 Dec 2015 02:45:39 +0000 (18:45 -0800)]
Merge branch 'PHP-7.0'

9 years agoUse format string
Xinchen Hui [Sun, 13 Dec 2015 02:45:11 +0000 (18:45 -0800)]
Use format string

9 years agoDrop superfluous assignment
Nikita Popov [Sat, 12 Dec 2015 22:21:36 +0000 (23:21 +0100)]
Drop superfluous assignment

And fix a branch annotation.

9 years agoMerge branch 'PHP-7.0'
Christopher Jones [Sat, 12 Dec 2015 21:22:30 +0000 (08:22 +1100)]
Merge branch 'PHP-7.0'

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christopher Jones [Sat, 12 Dec 2015 21:22:14 +0000 (08:22 +1100)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoUpdate README
Christopher Jones [Sat, 12 Dec 2015 21:21:41 +0000 (08:21 +1100)]
Update README

9 years agoMerge branch 'PHP-7.0'
Reeze Xia [Sat, 12 Dec 2015 15:29:46 +0000 (23:29 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Unused value casting should be `void`

9 years agoUnused value casting should be `void`
Reeze Xia [Sat, 12 Dec 2015 15:25:30 +0000 (23:25 +0800)]
Unused value casting should be `void`

9 years agoMerge branch 'PHP-7.0'
Christopher Jones [Sat, 12 Dec 2015 05:08:14 +0000 (16:08 +1100)]
Merge branch 'PHP-7.0'

9 years agoPrepare for a PECL release
Christopher Jones [Sat, 12 Dec 2015 05:07:57 +0000 (16:07 +1100)]
Prepare for a PECL release

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christopher Jones [Sat, 12 Dec 2015 05:06:44 +0000 (16:06 +1100)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoPrepare for a PECL release
Christopher Jones [Sat, 12 Dec 2015 05:06:08 +0000 (16:06 +1100)]
Prepare for a PECL release

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Fri, 11 Dec 2015 17:13:26 +0000 (09:13 -0800)]
Merge branch 'PHP-7.0'

Conflicts:
NEWS

9 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Fri, 11 Dec 2015 17:13:00 +0000 (09:13 -0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

9 years agoFixed bug #71092 (Segmentation fault with return type hinting)
Xinchen Hui [Fri, 11 Dec 2015 17:11:28 +0000 (09:11 -0800)]
Fixed bug #71092 (Segmentation fault with return type hinting)

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Fri, 11 Dec 2015 16:43:51 +0000 (17:43 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS
  backported 7c981192eb26fbb93be767cd6b2dc765d370bbab from 7.0

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Fri, 11 Dec 2015 16:43:36 +0000 (17:43 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS
  backported 7c981192eb26fbb93be767cd6b2dc765d370bbab from 7.0

9 years agoupdate NEWS
Anatol Belski [Fri, 11 Dec 2015 16:42:01 +0000 (17:42 +0100)]
update NEWS

9 years agobackported 7c981192eb26fbb93be767cd6b2dc765d370bbab from 7.0
Anatol Belski [Fri, 11 Dec 2015 16:39:57 +0000 (17:39 +0100)]
backported 7c981192eb26fbb93be767cd6b2dc765d370bbab from 7.0

the way it doesn't hurt BC

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Fri, 11 Dec 2015 15:33:47 +0000 (16:33 +0100)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #71094
Nikita Popov [Fri, 11 Dec 2015 15:32:10 +0000 (16:32 +0100)]
Fixed bug #71094

I didn't see any non-dummy readline tests to work off, so this
change is tested manually only.

While at it also fix other zval_dtors and use ZVAL_COPY.

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Fri, 11 Dec 2015 15:06:28 +0000 (16:06 +0100)]
Merge branch 'PHP-7.0'

9 years agoFix bug #71086
Nikita Popov [Fri, 11 Dec 2015 15:04:32 +0000 (16:04 +0100)]
Fix bug #71086

9 years agoRemove BP_VAR_REF
Nikita Popov [Fri, 11 Dec 2015 14:56:52 +0000 (15:56 +0100)]
Remove BP_VAR_REF

The distinction between BP_VAR_REF and BP_VAR_W is no longer
revelant, since we dropped support for =& new.

9 years agows fixes
Dmitry Stogov [Fri, 11 Dec 2015 14:40:23 +0000 (17:40 +0300)]
ws fixes

9 years agodos2unix
Dmitry Stogov [Fri, 11 Dec 2015 14:29:42 +0000 (17:29 +0300)]
dos2unix

9 years agoAdded e-SSA based DFA optimisation framework (incomplete)
Dmitry Stogov [Fri, 11 Dec 2015 14:24:55 +0000 (17:24 +0300)]
Added e-SSA based DFA optimisation framework (incomplete)

9 years agoMerge branch 'PHP-7.0'
Remi Collet [Fri, 11 Dec 2015 12:23:36 +0000 (13:23 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  NEWS
  NEWS
  Fix Bug #71089 No check to duplicate zend_extension

9 years agoNEWS
Remi Collet [Fri, 11 Dec 2015 12:23:21 +0000 (13:23 +0100)]
NEWS

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Remi Collet [Fri, 11 Dec 2015 12:22:55 +0000 (13:22 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  NEWS
  Fix Bug #71089 No check to duplicate zend_extension

9 years agoNEWS
Remi Collet [Fri, 11 Dec 2015 12:22:13 +0000 (13:22 +0100)]
NEWS

9 years agoFix Bug #71089 No check to duplicate zend_extension
Remi Collet [Fri, 11 Dec 2015 12:21:24 +0000 (13:21 +0100)]
Fix Bug #71089 No check to duplicate zend_extension

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Fri, 11 Dec 2015 09:26:48 +0000 (17:26 +0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug memleak in header_register_callback
Xinchen Hui [Fri, 11 Dec 2015 09:26:31 +0000 (17:26 +0800)]
Fixed bug memleak in header_register_callback

9 years agoDescribe special meaning of IS_UNUSED oprerand
Dmitry Stogov [Thu, 10 Dec 2015 23:31:28 +0000 (02:31 +0300)]
Describe special meaning of IS_UNUSED oprerand

9 years agoUse more compact description encoding schema to free some bits
Dmitry Stogov [Thu, 10 Dec 2015 22:45:26 +0000 (01:45 +0300)]
Use more compact description encoding schema to free some bits

9 years agoMake 2nd arg of xml_set_object by value
Nikita Popov [Thu, 10 Dec 2015 22:33:55 +0000 (23:33 +0100)]
Make 2nd arg of xml_set_object by value

The argument is not being modified. Probably holdover from PHP 4
days.

9 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Thu, 10 Dec 2015 21:48:20 +0000 (00:48 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Make duplicate class constant error for internal class
  Make ZEND_CLONE return a TMP_VAR

9 years agoImprove Optimizer debugging facility (print the meaning of extended_value)
Dmitry Stogov [Thu, 10 Dec 2015 21:47:02 +0000 (00:47 +0300)]
Improve Optimizer debugging facility (print the meaning of extended_value)

9 years agoMake duplicate class constant error for internal class
Nikita Popov [Thu, 10 Dec 2015 21:22:49 +0000 (22:22 +0100)]
Make duplicate class constant error for internal class

And drop two duplicate constant declarations from intl. These
were leaking previously.

9 years agoMake ZEND_CLONE return a TMP_VAR
Nikita Popov [Thu, 10 Dec 2015 21:14:39 +0000 (22:14 +0100)]
Make ZEND_CLONE return a TMP_VAR

As the return value can't be reference and it's unlikely to be
unused.

Also remove some unnecessary checks for ce==NULL. A ce is required
nowadays.

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

* 'master' of git.php.net:php-src:
  Add missed tests for FETCH_GLOBAL_LOCK change
  Fix cleanup in bug70748.phpt

9 years agoFixed typo
Dmitry Stogov [Thu, 10 Dec 2015 18:17:24 +0000 (21:17 +0300)]
Fixed typo

9 years agoAdd missed tests for FETCH_GLOBAL_LOCK change
Nikita Popov [Thu, 10 Dec 2015 18:17:17 +0000 (19:17 +0100)]
Add missed tests for FETCH_GLOBAL_LOCK change

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Thu, 10 Dec 2015 18:15:21 +0000 (19:15 +0100)]
Merge branch 'PHP-7.0'

9 years agoFix cleanup in bug70748.phpt
Nikita Popov [Thu, 10 Dec 2015 18:14:49 +0000 (19:14 +0100)]
Fix cleanup in bug70748.phpt

git add Zend/tests usable again...

9 years agoDrop two compiler TODOs
Nikita Popov [Thu, 10 Dec 2015 18:04:08 +0000 (19:04 +0100)]
Drop two compiler TODOs

Call-time pass by reference is now a parse error.
There is no benefit in dropping implementing_class currently.

9 years agoReintroduce use of FETCH_GLOBAL_LOCK
Nikita Popov [Thu, 10 Dec 2015 17:51:03 +0000 (18:51 +0100)]
Reintroduce use of FETCH_GLOBAL_LOCK

Just found this old AST todo...

It no longer makes sense as an optimization due to the introduction
of BIND_GLOBAL, however it ensures that the global variable name is
not evaluated twice, which is presumably something we wish to
guarantee.

9 years agoImproved specializer:
Bob Weinand [Thu, 10 Dec 2015 17:46:14 +0000 (20:46 +0300)]
Improved specializer:

- Allow dispatching from specialized handler to unspecialized one

9 years agoRemove FETCH_STATIC_MEMBER flag
Nikita Popov [Thu, 10 Dec 2015 17:25:29 +0000 (18:25 +0100)]
Remove FETCH_STATIC_MEMBER flag

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Thu, 10 Dec 2015 17:24:29 +0000 (18:24 +0100)]
Merge branch 'PHP-7.0'

Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h

9 years agoMake update_opN_const implementation symmetric
Nikita Popov [Thu, 10 Dec 2015 17:17:49 +0000 (18:17 +0100)]
Make update_opN_const implementation symmetric

So the main structure is the same...

9 years agoFix Foo::${42} and similar
Nikita Popov [Thu, 10 Dec 2015 17:12:59 +0000 (18:12 +0100)]
Fix Foo::${42} and similar

Fixes segfault on direct use, segfault on opcache evaluated use,
leak on temporary use.

Fixes analogeous segfault for ${42} on opcache eval as well.

9 years agoImproved specializer (Bob)
Dmitry Stogov [Thu, 10 Dec 2015 14:17:59 +0000 (17:17 +0300)]
Improved specializer (Bob)

- All helpers now may be declatred and called without ZEND_VM_HELPER_EX() and ZEND_VM_DISPATCH_TO_HELPER_EX() macros
- ZEND_VM_HELPER() may declare few arguments
- ZEND_VM_DISPATCH_TO_HELPER() may pass few parameters
- ZEND_VM_INLINE_HELPER() may be used to declare inline helpers (it won't be inlined in SWITH/GOTO executors)

9 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Thu, 10 Dec 2015 13:47:36 +0000 (21:47 +0800)]
Merge branch 'master' of git.php.net:/php-src

9 years agoFixed test by disable opcache
Xinchen Hui [Thu, 10 Dec 2015 13:46:37 +0000 (21:46 +0800)]
Fixed test by disable opcache

9 years agoAlign NEWS entry format for bug #71024
Lior Kaplan [Thu, 10 Dec 2015 13:31:06 +0000 (15:31 +0200)]
Align NEWS entry format for bug #71024

9 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Thu, 10 Dec 2015 12:34:15 +0000 (15:34 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  The first arg is optional
  Return -1 seems bug here

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Thu, 10 Dec 2015 11:37:44 +0000 (19:37 +0800)]
Merge branch 'PHP-7.0'