<?php

$memory_run = memory_get_usage();

function main (): void
{
    for ($offset = 0; $offset <= 100000; $offset++)
    {
        eval('(function () { })();');
    }
}

main();

$memory_end = memory_get_usage();

echo 'memory: ' . ($memory_end - $memory_run) . PHP_EOL;

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: