-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[VarExporter] fix exporting array indexes #29741
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
Conversation
xabbuh
commented
Jan 1, 2019
Q | A |
---|---|
Branch? | 4.2 |
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | #29715 |
License | MIT |
Doc PR |
From the PHP documentation:
|
Seems that it works 👍 |
Thank you @xabbuh. |
This PR was merged into the 4.2 branch. Discussion ---------- [VarExporter] fix exporting array indexes | Q | A | ------------- | --- | Branch? | 4.2 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #29715 | License | MIT | Doc PR | Commits ------- 3c936f4 [VarExporter] fix exporting array indexes
Is there a chance this is released anytime soon? I have not found a way to include it eg. via |
Using |
@xabbuh that install the original version with
{
"name": "symfony/var-exporter",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-exporter.git",
"reference": "d89a4ab8d3d8d7ac6487f2252b63b6d865f0cfac"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-exporter/zipball/d89a4ab8d3d8d7ac6487f2252b63b6d865f0cfac",
"reference": "d89a4ab8d3d8d7ac6487f2252b63b6d865f0cfac",
"shasum": ""
},
"require": {
"php": "^7.1.3"
},
"require-dev": {
"symfony/var-dumper": "^4.1.1"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.3-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Component\\VarExporter\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "A blend of var_export() + serialize() to turn any serializable data structure to plain PHP code",
"homepage": "https://symfony.com",
"keywords": [
"clone",
"construct",
"export",
"hydrate",
"instantiate",
"serialize"
],
"time": "2018-12-13T12:43:21+00:00"
} |
@simPod : try |
Works, thanks! |