Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Process] Fixed issue where $env or $_ENV can contain array values #8123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Closed

[Process] Fixed issue where $env or $_ENV can contain array values #8123

wants to merge 11 commits into from

Conversation

mmucklo
Copy link
Contributor

@mmucklo mmucklo commented May 23, 2013

See Ticket #7196 and this pull request: #7354

There are cases where $env or $_ENV can contain a value that is an array.

This will cause Process to throw an Array to String conversion exception.

Initially I submitted a patch of Process.php, however Fabien indicated that it shouldn't be fixed there (see original pull request).

Before recently, a simple work around would be to set:

register_argc_argv = On

in php.ini, however with recent changes, this seems to no longer work.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | 7196
| License       | MIT
| Doc PR        | none

lazyhammer and others added 11 commits May 16, 2013 03:06
This PR was merged into the 2.1 branch.

Discussion
----------

[DomCrawler] Fix Crawler::children() to not trigger a notice for childless node

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #8048
| License       | MIT
| Doc PR        | n/a

Commits
-------

91b8490 Fix Crawler::children() to not trigger a notice for childless node
This PR was merged into the 2.1 branch.

Discussion
----------

[CssSelector] Fix :nth-last-child() translation

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #8068
| License       | MIT
| Doc PR        | n/a

Same as #8072, but for < 2.3

Commits
-------

1469953 [CssSelector] Fix :nth-last-child() translation
* 2.1:
  [CssSelector] Fix :nth-last-child() translation
  Fix Crawler::children() to not trigger a notice for childless node
This PR was merged into the 2.1 branch.

Discussion
----------

[Console] fix and refactor exit code handling

Split of #8038

Commits
-------

5c317b7 [Console] fix and refactor exit code handling
* 2.1:
  [Console] fix and refactor exit code handling
See ticket #7196
There are cases where $env or $_ENV can contain a value that is an array
This will cause Process to throw an Array to String conversion exception
Initially I submitted a patch of Process.php, however Fabien indicated
that it shouldn't be fixed there (see below pull request).

Before recently, a simple work around would be to set:

  register_argc_argv = On

in php.ini, however with recent changes, this seems to no longer work.

Original pull request: #7354
See ticket #7196
There are cases where $env or $_ENV can contain a value that is an array
This will cause Process to throw an Array to String conversion exception
Initially I submitted a patch of Process.php, however Fabien indicated
that it shouldn't be fixed there (see below pull request).

Before recently, a simple work around would be to set:

  register_argc_argv = On

in php.ini, however with recent changes, this seems to no longer work.

Original pull request: #7354
@mmucklo
Copy link
Contributor Author

mmucklo commented Jun 7, 2013

Going to make a separate pull request that just fixes master

@mmucklo mmucklo closed this Jun 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants