Closed as not planned
Description
Description
The following code:
<?php
class Node
{
}
$firstNode = new Node();
$circularDoublyLinkedList = $firstNode;
for ($i = 0; $i < 200000; $i++) {
$currentNode = $circularDoublyLinkedList;
$nextNode = $circularDoublyLinkedList->next;
$newNode = new Node();
$currentNode->next = $newNode;
$newNode->next = $nextNode;
}
https://3v4l.org/BMkWi/rfc#vgit.master
For easy reproduce:
-d "memory_limit=1G"
PHP Version
PHP 8.4.0-dev
Operating System
ubuntu 22.04