You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was submitted for the 7.3 branch but it was merged into the 6.4 branch instead.
Discussion
----------
[VarExporter] Fixed lazy-loading ghost objects generation with property hooks
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| License | MIT
Fixed the bug introduced in #60288.
If the type is boolean:
```php
public bool $property = false {
set {
...
}
}
```
an empty string is exported:
```php
public bool $property = {
...
}
```
which leads to `ParseError: syntax error, unexpected token "{"` error.
Commits
-------
0c71a93 Fixed lazy-loading ghost objects generation with property hooks with default values.
0 commit comments