Minimal reproducer:

#!/bin/bash
# prints information about the current php environment
# php -d opcache.enable_cli=1 -d opcache.file_cache_only=1 -d 
opcache.file_cache="/root/php-cache" -i
php -d opcache.enable_cli=1 -d opcache.file_cache_only=1 -d 
opcache.file_cache="/root/php-cache" file1.php
php -d opcache.enable_cli=1 -d opcache.file_cache_only=1 -d 
opcache.file_cache="/root/php-cache" file2.php


Expected result:

object(Closure)#1 (0) {
}
object(Closure)#1 (0) {
}


Actual (buggy) result:

object(Closure)#1 (0) {
}
PHP Fatal error:  Runtime definition key collision for function {closure}. This 
is a bug in /root/file1.php on line 2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968228

Title:
  RTD collision with opcache

To manage notifications about this bug go to:
https://bugs.launchpad.net/php/+bug/1968228/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to