Title: [RFC] [4.0] Behaviour of nested variables · Issue #378 · phpdotenv/phpdotenv · GitHub
Open Graph Title: [RFC] [4.0] Behaviour of nested variables · Issue #378 · phpdotenv/phpdotenv
X Title: [RFC] [4.0] Behaviour of nested variables · Issue #378 · phpdotenv/phpdotenv
Description: There is no way to write a dollar sign without phpdotenv trying to evaluate it as a variable. This is fine, so long as you don't actually have a variable of that name, but will cause problems otherwise. Should we: Move evaluation of nest...
Open Graph Description: There is no way to write a dollar sign without phpdotenv trying to evaluate it as a variable. This is fine, so long as you don't actually have a variable of that name, but will cause problems other...
X Description: There is no way to write a dollar sign without phpdotenv trying to evaluate it as a variable. This is fine, so long as you don't actually have a variable of that name, but will cause problems o...
Opengraph URL: https://github.com/phpdotenv/phpdotenv/issues/378
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[RFC] [4.0] Behaviour of nested variables","articleBody":"There is no way to write a dollar sign without phpdotenv trying to evaluate it as a variable. This is fine, so long as you don't actually have a variable of that name, but will cause problems otherwise. Should we:\r\n\r\n1. Move evaluation of nested variables to the parser, or at least have some more intelligent way of the parser to produce output so that its clear what variables are fair game for replacement.\r\n2. Only allow variable evaluation within double quoted strings?\r\n3. Add a way to prevent variable evaluation with an escape sequence?\r\n\r\nBoth 2 and 3 depend on 1.","author":{"url":"https://github.com/GrahamCampbell","@type":"Person","name":"GrahamCampbell"},"datePublished":"2019-11-04T17:32:14Z","url":"https://github.com/phpdotenv/phpdotenv/issues/378"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:220c5860-e6b1-6471-70c5-274347b28227 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF00:C35D8:9E9A9C:CF483F:6B063735 |
| html-safe-nonce | a9667b456da9169d27a0f5d0a7cc970c720f9539410b20cf471674bdf040ce5d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjAwOkMzNUQ4OjlFOUE5QzpDRjQ4M0Y6NkIwNjM3MzUiLCJ2aXNpdG9yX2lkIjoiNDI1NDc4MDg1MTE1NTI0OTE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3ffafb897f97efb7153ca4a2b5f83dc958e137b908873498aff361352b195f76 |
| hovercard-subject-tag | issue:517299037 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/phpdotenv/phpdotenv/378/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c8ca7812b03167f71168d2da2097528e9fa57188710d5ccfc1d5bcd7ff6c11d6/phpdotenv/phpdotenv/issues/378 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c8ca7812b03167f71168d2da2097528e9fa57188710d5ccfc1d5bcd7ff6c11d6/phpdotenv/phpdotenv/issues/378 |
| og:image:alt | There is no way to write a dollar sign without phpdotenv trying to evaluate it as a variable. This is fine, so long as you don't actually have a variable of that name, but will cause problems other... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GrahamCampbell |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 |
| turbo-cache-control | no-preview |
| go-import | github.com/phpdotenv/phpdotenv git https://github.com/phpdotenv/phpdotenv.git |
| octolytics-dimension-user_id | 320763234 |
| octolytics-dimension-user_login | phpdotenv |
| octolytics-dimension-repository_id | 7769432 |
| octolytics-dimension-repository_nwo | phpdotenv/phpdotenv |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7769432 |
| octolytics-dimension-repository_network_root_nwo | phpdotenv/phpdotenv |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width