mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
The trait handling for property hooks in preloading did not exist, we add a check to skip trait clones and we add the necessary code to update the op arrays. Closes GH-18586.
14 lines
134 B
PHP
14 lines
134 B
PHP
<?php
|
|
|
|
trait DummyTrait
|
|
{
|
|
public ?string $dummyProperty2 {
|
|
get => null;
|
|
}
|
|
}
|
|
|
|
class DummyModel
|
|
{
|
|
use DummyTrait;
|
|
}
|