Changes between Initial Version and Version 1 of Ticket #57304, comment 5
- Timestamp:
- 02/27/2023 10:17:53 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57304, comment 5
initial v1 1 1 Started working on a patch for this ticket and I encounter a small quirk. 2 2 3 To make this change compatible with PHP7.x and below we'll need to use a custom formatting and include the attribute in its own line or this will cause a Fatal error since it's interpreted as a comment and discard the end of the line (see the [https://3v4l.org/9MhEf 3v4l.org demo]).3 To make this change compatible with PHP7.x and below we'll need to use a custom formatting and include the attribute on its own line or this will cause a Fatal error since it's interpreted as a comment and discard the end of the line (see the [https://3v4l.org/9MhEf 3v4l.org demo]). 4 4 5 5 Example for the `wpdb` constructor we could end up with :