]> granicus.if.org Git - php/log
php
12 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Wed, 5 Sep 2012 05:55:14 +0000 (09:55 +0400)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  forked two tests for windows

12 years agoFixed bug #62991 (Segfault with generator and closure)
Dmitry Stogov [Wed, 5 Sep 2012 05:50:55 +0000 (09:50 +0400)]
Fixed bug #62991 (Segfault with generator and closure)

12 years agoMerge branch 'PHP-5.4'
Anatoliy Belsky [Mon, 3 Sep 2012 11:48:02 +0000 (13:48 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  forked two tests for windows

12 years agoforked two tests for windows
Anatoliy Belsky [Mon, 3 Sep 2012 11:37:34 +0000 (13:37 +0200)]
forked two tests for windows

* bug55544.phpt - VT vs. EXT at the start of the data block,
but the data can still be decoded correctly
* bug_52944.phpt works with the corrupted data and has some
different out

Most likely the ASM optimization under windows is responsible
for this behaviour.

12 years agoMerge branch 'PHP-5.4'
Dmitry Stogov [Mon, 3 Sep 2012 08:00:19 +0000 (12:00 +0400)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).

12 years agoFixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
Dmitry Stogov [Mon, 3 Sep 2012 07:52:42 +0000 (11:52 +0400)]
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Dmitry Stogov [Mon, 3 Sep 2012 07:51:17 +0000 (11:51 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).

12 years agoFixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
Dmitry Stogov [Mon, 3 Sep 2012 07:51:08 +0000 (11:51 +0400)]
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).

12 years agoFixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
Dmitry Stogov [Mon, 3 Sep 2012 07:49:58 +0000 (11:49 +0400)]
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Dmitry Stogov [Mon, 3 Sep 2012 07:47:59 +0000 (11:47 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)

12 years agoFixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
Dmitry Stogov [Mon, 3 Sep 2012 07:46:47 +0000 (11:46 +0400)]
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)

12 years agoFixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
Dmitry Stogov [Mon, 3 Sep 2012 07:38:08 +0000 (11:38 +0400)]
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)

12 years agoMerge branch 'PHP-5.4'
Lars Strojny [Sun, 2 Sep 2012 20:11:47 +0000 (22:11 +0200)]
Merge branch 'PHP-5.4'

12 years agoBug #49510: Boolean validation fails with FILTER_NULL_ON_FAILURE with empty string...
Lars Strojny [Sun, 2 Sep 2012 20:10:23 +0000 (22:10 +0200)]
Bug #49510: Boolean validation fails with FILTER_NULL_ON_FAILURE with empty string or false

12 years agoMerge remote-tracking branch 'reeze/add-reflection-isGenerator'
Nikita Popov [Sun, 2 Sep 2012 15:40:23 +0000 (17:40 +0200)]
Merge remote-tracking branch 'reeze/add-reflection-isGenerator'

12 years agoImplemented ReflectionFunction::isGenerator()
Reeze Xia [Sun, 2 Sep 2012 15:29:56 +0000 (23:29 +0800)]
Implemented ReflectionFunction::isGenerator()

12 years agoAllow null as a default value for length in mb_substr() and mb_strcut()
Lars Strojny [Sun, 2 Sep 2012 12:52:05 +0000 (14:52 +0200)]
Allow null as a default value for length in mb_substr() and mb_strcut()

12 years agoMerge branch 'PHP-5.4' of git://github.com/php/php-src into PHP-5.4
Lars Strojny [Sun, 2 Sep 2012 12:53:52 +0000 (14:53 +0200)]
Merge branch 'PHP-5.4' of git://github.com/php/php-src into PHP-5.4

12 years agoAllow null as a default value for length in mb_substr() and mb_strcut()
Lars Strojny [Sun, 2 Sep 2012 12:52:05 +0000 (14:52 +0200)]
Allow null as a default value for length in mb_substr() and mb_strcut()

12 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Sun, 2 Sep 2012 08:53:31 +0000 (16:53 +0800)]
Merge branch 'PHP-5.4'

12 years agofolder
Xinchen Hui [Sun, 2 Sep 2012 08:52:53 +0000 (16:52 +0800)]
folder

12 years agoInitializing optional argument description in assert()
Lars Strojny [Sun, 2 Sep 2012 06:01:18 +0000 (08:01 +0200)]
Initializing optional argument description in assert()

12 years agoInitializing optional argument description in assert()
Lars Strojny [Sun, 2 Sep 2012 06:01:18 +0000 (08:01 +0200)]
Initializing optional argument description in assert()

12 years agoFix test failed due to new Token T_YIELD
Xinchen Hui [Sun, 2 Sep 2012 05:15:23 +0000 (13:15 +0800)]
Fix test failed due to new Token T_YIELD

12 years agoMerge branch 'PHP-5.4'
Stanislav Malyshev [Sun, 2 Sep 2012 00:00:01 +0000 (17:00 -0700)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  fix NEWS

12 years agofix NEWS
Stanislav Malyshev [Sat, 1 Sep 2012 23:55:51 +0000 (16:55 -0700)]
fix NEWS

12 years agoFix leak when yielding array as key
Nikita Popov [Sat, 1 Sep 2012 18:31:40 +0000 (20:31 +0200)]
Fix leak when yielding array as key

The code was copy-pasted and I forgot to change OP1 to OP2 in that one
place.

12 years agoDrop obsolete test
Nikita Popov [Sat, 1 Sep 2012 18:10:12 +0000 (20:10 +0200)]
Drop obsolete test

12 years agoMerge branch 'generators'
Gustavo Lopes [Sat, 1 Sep 2012 17:07:20 +0000 (19:07 +0200)]
Merge branch 'generators'

* generators: (70 commits)
  Fix typos
  Fix segfault when traversing a by-ref generator twice
  Make sure that exception is thrown on rewind() after closing too
  Remove implementation stubs for yield delegation
  Fix several issues and allow rewind only at/before first yield
  Run finally if generator is closed before finishing
  Finally with return now works in generators too
  Add dedicated opcode for returns from a generator
  Disallow serialization and unserialization
  Fix zts build (typo)
  Drop Generator::close() method
  Forgot to add test
  Support trivial finally in generators (no yield, no return)
  Fix implementation of Iterator interface
  Add T_YIELD in tokenizer_data.c
  Throw error also for return occuring before yield
  Fix throwing of exceptions within a generator
  Remove reference restrictions from foreach
  Require parenthesis around yield expressions
  Add some more tests
  ...

12 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Sat, 1 Sep 2012 06:38:33 +0000 (14:38 +0800)]
Merge branch 'PHP-5.4'

12 years agoRemove extra blank in notice message, should act as same as vm
Xinchen Hui [Sat, 1 Sep 2012 06:37:45 +0000 (14:37 +0800)]
Remove extra blank in notice message, should act as same as vm

12 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Sat, 1 Sep 2012 06:27:59 +0000 (14:27 +0800)]
Merge branch 'PHP-5.4'

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Sat, 1 Sep 2012 06:27:09 +0000 (14:27 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

Conflicts:
ext/spl/spl_array.c

12 years agoFixed bug #62987 (Assigning to ArrayObject[null][something] overrides all undefined...
Xinchen Hui [Sat, 1 Sep 2012 06:17:39 +0000 (14:17 +0800)]
Fixed bug #62987 (Assigning to ArrayObject[null][something] overrides all undefined variables)

The get_zval_ptr_ptr of spl_array handler should act as same as the vm's

12 years agoassert() user message
Lars Strojny [Fri, 31 Aug 2012 17:04:53 +0000 (19:04 +0200)]
assert() user message

Added 2nd, optional, param to assert. When passed in it will be added
to the printed warnings and passed as a 4th param to a callback. PR 150
by Lonny Kapelushnik

12 years agoTests for the previous assert() with user message
Lars Strojny [Fri, 31 Aug 2012 17:01:57 +0000 (19:01 +0200)]
Tests for the previous assert() with user message

12 years agoassert() user message
Lars Strojny [Fri, 31 Aug 2012 16:55:43 +0000 (18:55 +0200)]
assert() user message

Added 2nd, optional, param to assert. When passed in it will be added
to the printed warnings and passed as a 4th param to a callback. PR 150
by Lonny Kapelushnik

12 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Fri, 31 Aug 2012 03:25:21 +0000 (11:25 +0800)]
Merge branch 'PHP-5.4'

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Fri, 31 Aug 2012 03:23:33 +0000 (11:23 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

12 years agoFixed bug #62976 (Notice: could not be converted to int when comparing some builtin...
Xinchen Hui [Fri, 31 Aug 2012 03:22:43 +0000 (11:22 +0800)]
Fixed bug #62976 (Notice: could not be converted to int when comparing some builtin classes)

12 years ago- BFN
Felipe Pena [Thu, 30 Aug 2012 12:33:35 +0000 (09:33 -0300)]
- BFN

12 years agoMerge branch 'PHP-5.4'
Felipe Pena [Thu, 30 Aug 2012 12:32:34 +0000 (09:32 -0300)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  - Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry)

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Felipe Pena [Thu, 30 Aug 2012 12:32:26 +0000 (09:32 -0300)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  - Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry)

12 years ago- Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows...
Felipe Pena [Thu, 30 Aug 2012 12:32:13 +0000 (09:32 -0300)]
- Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry)

12 years agoFix typos
Nikita Popov [Wed, 29 Aug 2012 18:49:14 +0000 (20:49 +0200)]
Fix typos

12 years agoFix segfault when traversing a by-ref generator twice
Nikita Popov [Wed, 29 Aug 2012 18:46:56 +0000 (20:46 +0200)]
Fix segfault when traversing a by-ref generator twice

If you try to traverse an already closed generator an exception will now be
thrown.

Furthermore this changes the error for traversing a by-val generator by-ref
from an E_ERROR to an Exception.

12 years agoMake sure that exception is thrown on rewind() after closing too
Nikita Popov [Wed, 29 Aug 2012 18:31:34 +0000 (20:31 +0200)]
Make sure that exception is thrown on rewind() after closing too

12 years agoMerge branch 'PHP-5.4'
Anatoliy Belsky [Wed, 29 Aug 2012 15:56:42 +0000 (17:56 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  updated mpir version
  Fixed defective cloning in ext/intl classes

12 years agoupdated mpir version
Anatoliy Belsky [Wed, 29 Aug 2012 15:49:02 +0000 (17:49 +0200)]
updated mpir version

12 years agoMerge 5.3 with strategy ours
Gustavo André dos Santos Lopes [Wed, 29 Aug 2012 13:30:39 +0000 (14:30 +0100)]
Merge 5.3 with strategy ours

* origin/PHP-5.3:
  Fixed defective cloning in ext/intl classes

12 years agoMerge branch 'PHP-5.4'
Stanislav Malyshev [Wed, 29 Aug 2012 05:11:24 +0000 (22:11 -0700)]
Merge branch 'PHP-5.4'

12 years agoupdate version id too
Stanislav Malyshev [Wed, 29 Aug 2012 05:10:34 +0000 (22:10 -0700)]
update version id too

12 years ago5.4.7 branched
Stanislav Malyshev [Wed, 29 Aug 2012 05:07:08 +0000 (22:07 -0700)]
5.4.7 branched

12 years agoMerge branch 'PHP-5.4'
Stanislav Malyshev [Wed, 29 Aug 2012 05:02:15 +0000 (22:02 -0700)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  fix bug #55856: preg_replace should fail on trailing garbage
  Bug #62956: fixing private method signature validation
  NEWS for 886a50a

12 years agofix bug #55856: preg_replace should fail on trailing garbage
Stanislav Malyshev [Sat, 30 Jun 2012 23:31:26 +0000 (16:31 -0700)]
fix bug #55856: preg_replace should fail on trailing garbage

12 years agoBug #62956: fixing private method signature validation
Lars Strojny [Tue, 28 Aug 2012 12:06:18 +0000 (14:06 +0200)]
Bug #62956: fixing private method signature validation

In inheritance, if both methods are private, don not enforce the same
signature.

12 years agoBug #62956: fixing private method signature validation
Lars Strojny [Tue, 28 Aug 2012 12:06:18 +0000 (14:06 +0200)]
Bug #62956: fixing private method signature validation

In inheritance, if both methods are private, don not enforce the same
signature.

12 years ago- Fixed compiler warnings
Felipe Pena [Mon, 27 Aug 2012 11:56:54 +0000 (08:56 -0300)]
- Fixed compiler warnings

12 years agoFixed bug #62938 (zend_do_bind_catch() used without declaration)
Xinchen Hui [Mon, 27 Aug 2012 02:23:23 +0000 (10:23 +0800)]
Fixed bug #62938 (zend_do_bind_catch() used without declaration)

12 years agoFixed defective cloning in ext/intl classes
Gustavo Lopes [Sun, 26 Aug 2012 21:37:09 +0000 (23:37 +0200)]
Fixed defective cloning in ext/intl classes

See also bug #62915

Cherry picked from 886a50a (I forgot about 5.3)

Conflicts:
ext/intl/spoofchecker/spoofchecker_class.c
ext/intl/transliterator/transliterator_class.c

12 years agoNEWS for 886a50a
Gustavo Lopes [Sun, 26 Aug 2012 21:47:00 +0000 (23:47 +0200)]
NEWS for 886a50a

12 years agoFixed cloning in ext/intl classes; master specific
Gustavo Lopes [Sun, 26 Aug 2012 21:44:54 +0000 (23:44 +0200)]
Fixed cloning in ext/intl classes; master specific

12 years agoMerge branch 'PHP-5.4'
Gustavo Lopes [Sun, 26 Aug 2012 21:42:57 +0000 (23:42 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed defective cloning in ext/intl classes
  NEWS for commit 72c807a
  Allow Spoofchecker to be registered on ICU 49.1
  Announce on NEWS change in 1ce572c

12 years agoFixed defective cloning in ext/intl classes
Gustavo Lopes [Sun, 26 Aug 2012 21:37:09 +0000 (23:37 +0200)]
Fixed defective cloning in ext/intl classes

See also bug #62915

12 years agoNEWS for commit 72c807a
Gustavo Lopes [Sun, 26 Aug 2012 21:39:53 +0000 (23:39 +0200)]
NEWS for commit 72c807a

12 years agoAllow Spoofchecker to be registered on ICU 49.1
Gustavo Lopes [Sun, 26 Aug 2012 21:30:43 +0000 (23:30 +0200)]
Allow Spoofchecker to be registered on ICU 49.1

12 years agoFix version in check message
Gustavo Lopes [Sun, 26 Aug 2012 21:12:41 +0000 (23:12 +0200)]
Fix version in check message

12 years agoAnnounce on NEWS change in 1ce572c
Gustavo Lopes [Sun, 26 Aug 2012 20:01:15 +0000 (22:01 +0200)]
Announce on NEWS change in 1ce572c

12 years agoMerge branch 'PHP-5.4' (merge with strategy ours)
Gustavo Lopes [Sun, 26 Aug 2012 19:59:17 +0000 (21:59 +0200)]
Merge branch 'PHP-5.4' (merge with strategy ours)

Change does not apply to master where the min ICU version is 4.0

* PHP-5.4:
  Bug #62933: compilation error with ICU 3.4

12 years agoMerge branch 'PHP-5.4' (early part)
Gustavo Lopes [Sun, 26 Aug 2012 19:59:05 +0000 (21:59 +0200)]
Merge branch 'PHP-5.4' (early part)

* 'PHP-5.4' (early part):
  Merging PR 121 to add support for slow request counting on the PHP-FPM status page

12 years agoBug #62933: compilation error with ICU 3.4
Gustavo Lopes [Sun, 26 Aug 2012 19:57:50 +0000 (21:57 +0200)]
Bug #62933: compilation error with ICU 3.4

12 years agoRelax 4 dateformat tests for ICU 4.8
Gustavo Lopes [Sun, 26 Aug 2012 18:42:18 +0000 (20:42 +0200)]
Relax 4 dateformat tests for ICU 4.8

12 years agoPrefix RESULT_CODE enum with ZEND_
Lars Strojny [Sun, 26 Aug 2012 18:06:47 +0000 (20:06 +0200)]
Prefix RESULT_CODE enum with ZEND_

12 years agozend_binary_strncasecmp_l used w/out declaration
Gustavo Lopes [Sun, 26 Aug 2012 17:44:05 +0000 (19:44 +0200)]
zend_binary_strncasecmp_l used w/out declaration

12 years agoRequire ICU >= 4.0 in configure
Gustavo Lopes [Sat, 25 Aug 2012 17:00:34 +0000 (19:00 +0200)]
Require ICU >= 4.0 in configure

12 years agoTravis: Silence configure and make
Nikita Popov [Sun, 26 Aug 2012 15:46:01 +0000 (17:46 +0200)]
Travis: Silence configure and make

The large compile logs are hurting the poor browsers.

This also drops two bogus configure options.

12 years agoStrong types for the result codes SUCCESS & FAILURE. These are common
Stuart Langley [Tue, 7 Aug 2012 03:06:13 +0000 (13:06 +1000)]
Strong types for the result codes SUCCESS & FAILURE. These are common
symbol names and using #defines can cause conflicts.

12 years agoMerging PR 121 to add support for slow request counting on the PHP-FPM status page
Lars Strojny [Sun, 26 Aug 2012 15:02:39 +0000 (17:02 +0200)]
Merging PR 121 to add support for slow request counting on the PHP-FPM status page

12 years agoMerging PR 121 to add support for slow request counting on the PHP-FPM status page
Lars Strojny [Sun, 26 Aug 2012 15:02:39 +0000 (17:02 +0200)]
Merging PR 121 to add support for slow request counting on the PHP-FPM status page

12 years agoFix bad version for CURLINFO_CERTINFO
Pierrick Charron [Sun, 26 Aug 2012 13:03:45 +0000 (09:03 -0400)]
Fix bad version for CURLINFO_CERTINFO

CURLINFO_CERTINFO is available since 7.19.1. The cURL extension
allow to use it since this same version but the internal function
create_certinfo used internally for CURLINFO_CERTINFO usage
is only usable for version greater than 7.19.1 which will cause
problem if the user is using the 7.19.1 cURL version

12 years agoMerge remote-tracking branch 'php-src/master' into addGeneratorsSupport
Nikita Popov [Sat, 25 Aug 2012 18:07:01 +0000 (20:07 +0200)]
Merge remote-tracking branch 'php-src/master' into addGeneratorsSupport

Conflicts:
Zend/zend_language_parser.y
Zend/zend_vm_execute.skl

12 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Sun, 26 Aug 2012 10:28:58 +0000 (18:28 +0800)]
Merge branch 'PHP-5.4'

12 years agoAdd test for #62907
Xinchen Hui [Sun, 26 Aug 2012 10:28:15 +0000 (18:28 +0800)]
Add test for #62907

12 years agoFixed bug #62930, and more tests
Xinchen Hui [Sun, 26 Aug 2012 05:05:33 +0000 (13:05 +0800)]
Fixed bug #62930, and more tests

12 years agotabs
Xinchen Hui [Sun, 26 Aug 2012 04:27:10 +0000 (12:27 +0800)]
tabs

12 years agoFixed bug #62931 & #62932
Xinchen Hui [Sun, 26 Aug 2012 03:37:05 +0000 (11:37 +0800)]
Fixed bug #62931 & #62932

12 years agoRemove implementation stubs for yield delegation
Nikita Popov [Sat, 25 Aug 2012 17:03:23 +0000 (19:03 +0200)]
Remove implementation stubs for yield delegation

I decided to leave out yield delegation for an initial proposal, so remove
the stubs for it too.

12 years agoFix several issues and allow rewind only at/before first yield
Nikita Popov [Sat, 25 Aug 2012 15:40:08 +0000 (17:40 +0200)]
Fix several issues and allow rewind only at/before first yield

 * Trying to resume a generator while it is already running now throws a
   fatal error.
 * Trying to use yield in finally while the generator is being force-closed
   (by GC) throws a fatal error.
 * Rewinding after the first yield now throws an Exception

12 years agoSupport list in foreach
Xinchen Hui [Sat, 25 Aug 2012 14:23:14 +0000 (22:23 +0800)]
Support list in foreach

RFC: https://wiki.php.net/rfc/foreachlist

12 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Sat, 25 Aug 2012 13:55:36 +0000 (21:55 +0800)]
Merge branch 'PHP-5.4'

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Sat, 25 Aug 2012 13:49:29 +0000 (21:49 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

12 years agoFixed bug (segfault while build with zts and GOTO vm-kind)
Xinchen Hui [Sat, 25 Aug 2012 13:47:53 +0000 (21:47 +0800)]
Fixed bug (segfault while build with zts and GOTO vm-kind)

12 years agoPrefer no finally block for most situations
Xinchen Hui [Sat, 25 Aug 2012 13:14:51 +0000 (21:14 +0800)]
Prefer no finally block for most situations

12 years agoAdd missing constants in cURL
Pierrick Charron [Sat, 25 Aug 2012 05:21:17 +0000 (01:21 -0400)]
Add missing constants in cURL

12 years agoUpdate bad versions for cURL constants
Pierrick Charron [Fri, 24 Aug 2012 22:04:16 +0000 (18:04 -0400)]
Update bad versions for cURL constants

This was updated according to the cURL symbol tables located here :
http://curl.haxx.se/libcurl/c/symbols-in-versions.html

12 years agoRun finally if generator is closed before finishing
Nikita Popov [Fri, 24 Aug 2012 13:50:53 +0000 (15:50 +0200)]
Run finally if generator is closed before finishing

12 years agoMerge branch 'PHP-5.4'
Pierrick Charron [Fri, 24 Aug 2012 14:26:44 +0000 (10:26 -0400)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed bug #62912 (CURLINFO_PRIMARY_IP is not exposed)

12 years agoFixed bug #62912 (CURLINFO_PRIMARY_IP is not exposed)
Pierrick Charron [Fri, 24 Aug 2012 14:16:40 +0000 (10:16 -0400)]
Fixed bug #62912 (CURLINFO_PRIMARY_IP is not exposed)

CURLINFO_PRIMARY_* and CURLINFO_LOCAL_* where available in curl_getinfo
but the constant itself was not exposed to php userland

12 years agoFinally with return now works in generators too
Nikita Popov [Fri, 24 Aug 2012 11:52:16 +0000 (13:52 +0200)]
Finally with return now works in generators too

12 years agoAdd dedicated opcode for returns from a generator
Nikita Popov [Fri, 24 Aug 2012 11:51:39 +0000 (13:51 +0200)]
Add dedicated opcode for returns from a generator

Generators don't have a return value, so it doesn't make sense to have
a shared implementation here.