diff options
Diffstat (limited to 'ext/opcache/tests/jit/preload_bug80634.inc')
-rw-r--r-- | ext/opcache/tests/jit/preload_bug80634.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/opcache/tests/jit/preload_bug80634.inc b/ext/opcache/tests/jit/preload_bug80634.inc new file mode 100644 index 0000000000..feee9ec970 --- /dev/null +++ b/ext/opcache/tests/jit/preload_bug80634.inc @@ -0,0 +1,10 @@ +<?php +class SomeClass extends \DatePeriod { + public $interval; + + public function __construct(int $v) { + parent::__construct(new \DateTime('2020-12-31'), new \DateInterval("P1Y"), 1); + $this->interval = $v; + var_dump($this->interval); + } +}
\ No newline at end of file |