Bug #80786 [Opn]: PHP crash using JIT

From: Date: Tue, 23 Feb 2021 03:21:51 +0000
Subject: Bug #80786 [Opn]: PHP crash using JIT
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232332@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80786&edit=1 ID: 80786 User updated by: gfpuba+phpbug at gmail dot com Reported by: gfpuba+phpbug at gmail dot com Summary: PHP crash using JIT Status: Open Type: Bug Package: JIT Operating System: Windows 10 64bit PHP Version: 8.0.3RC1 Block user comment: N Private report: N New Comment: Clarification: This is this statement that causes PHP to crash: $this->value -= 10; Previous Comments: ------------------------------------------------------------------------ [2021-02-23 00:14:00] gfpuba+phpbug at gmail dot com Description: ------------ When JIT is enabled, running this code using PHP CLI or with Apache 2.4 results in a crash. The program runs fine without JIT I am running the 64bit version It fails with all php 8 versions Test script: --------------- <?php $a = new Test(); $a->TestFunc(); $a = false; echo 'Program terminated'; class Test{ private $value = 11.3; public function TestFunc(){ $this->value -= 10; } } Expected result: ---------------- Displays Program terminated Actual result: -------------- crash in PHP ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80786&edit=1

« previous php.bugs (#232332) next »